Updated version
Added option to install version 1.5.1 with (free pdf architect) or version 1.6.1 (without pdf architect)
This commit is contained in:
parent
6c02ca3dc4
commit
97b8fbe03c
|
@ -0,0 +1,15 @@
|
||||||
|
[Setup]
|
||||||
|
Lang=german
|
||||||
|
Group=PDFCreator
|
||||||
|
NoIcons=0
|
||||||
|
SetupType=custom
|
||||||
|
Components=program,ghostscript,images2pdf,pdfarchitect,comsamples,helpfiles,helpfiles\german,languages,languages\german
|
||||||
|
Tasks=
|
||||||
|
Printername=PDFCreator
|
||||||
|
ServerInstallation=0
|
||||||
|
Win9xPrinterdriver=0
|
||||||
|
WinNtPrinterdriver=0
|
||||||
|
Win2k32bitPrinterdriver=0
|
||||||
|
Win2k64bitPrinterdriver=0
|
||||||
|
Offer=0
|
||||||
|
Toolbar=0
|
|
@ -0,0 +1,15 @@
|
||||||
|
[Setup]
|
||||||
|
Lang=german
|
||||||
|
Group=PDFCreator
|
||||||
|
NoIcons=0
|
||||||
|
SetupType=custom
|
||||||
|
Components=program,ghostscript,images2pdf,comsamples,helpfiles,helpfiles\german,languages,languages\german
|
||||||
|
Tasks=
|
||||||
|
Printername=PDFCreator
|
||||||
|
ServerInstallation=0
|
||||||
|
Win9xPrinterdriver=0
|
||||||
|
WinNtPrinterdriver=0
|
||||||
|
Win2k32bitPrinterdriver=0
|
||||||
|
Win2k64bitPrinterdriver=0
|
||||||
|
Offer=0
|
||||||
|
Toolbar=0
|
|
@ -1,2 +0,0 @@
|
||||||
[Setup]
|
|
||||||
Toolbar=0
|
|
|
@ -35,6 +35,7 @@ LinkFolder_uninstall
|
||||||
; Choose one of the following examples as basis for program uninstall
|
; Choose one of the following examples as basis for program uninstall
|
||||||
;
|
;
|
||||||
"$UninstallProgram$" $Uninst_Cmd$
|
"$UninstallProgram$" $Uninst_Cmd$
|
||||||
|
rundll32 printui.dll,PrintUIEntry /q /dd /m "Visage PDF"
|
||||||
|
|
||||||
[Winbatch_uninstall_msi]
|
[Winbatch_uninstall_msi]
|
||||||
msiexec /x $MsiId$ /qb! REBOOT=ReallySuppress
|
msiexec /x $MsiId$ /qb! REBOOT=ReallySuppress
|
||||||
|
|
|
@ -16,6 +16,7 @@ DefVar $ProductId$
|
||||||
DefVar $MinimumSpace$
|
DefVar $MinimumSpace$
|
||||||
DefVar $InstallDir$
|
DefVar $InstallDir$
|
||||||
DefVar $Inst_Cmd$
|
DefVar $Inst_Cmd$
|
||||||
|
DefVar $Inst_Cmd2$
|
||||||
DefVar $ExitCode$
|
DefVar $ExitCode$
|
||||||
DefVar $LicenseRequired$
|
DefVar $LicenseRequired$
|
||||||
DefVar $LicenseKey$
|
DefVar $LicenseKey$
|
||||||
|
@ -23,6 +24,9 @@ DefVar $LicensePool$
|
||||||
|
|
||||||
Set $LogDir$ = "%SystemDrive%\tmp"
|
Set $LogDir$ = "%SystemDrive%\tmp"
|
||||||
|
|
||||||
|
DefVar $pp_version$
|
||||||
|
Set $pp_version$ = GetProductProperty("pp_version", "1.6.1")
|
||||||
|
|
||||||
; The token BUILDER_VARIABLES will be replaced by opsi-builder.sh
|
; The token BUILDER_VARIABLES will be replaced by opsi-builder.sh
|
||||||
; and adds the following variables:
|
; and adds the following variables:
|
||||||
; from builder-product.cfg : all variables definded by attribute WINST[index]
|
; from builder-product.cfg : all variables definded by attribute WINST[index]
|
||||||
|
@ -43,7 +47,8 @@ Set $ProductId$ = "pdfforge.pdfcreator"
|
||||||
Set $MinimumSpace$ = "50 MB"
|
Set $MinimumSpace$ = "50 MB"
|
||||||
; the path were we find the product after the installation
|
; the path were we find the product after the installation
|
||||||
Set $InstallDir$ = "%ProgramFiles32Dir%\PDFCreator"
|
Set $InstallDir$ = "%ProgramFiles32Dir%\PDFCreator"
|
||||||
Set $Inst_Cmd$ = '/SILENT /NOCANCEL /LANG=De /NORESTART /LOADINF=%ScriptPath%\X86\pdfcreator.ini'
|
Set $Inst_Cmd$ = '/SILENT /NOCANCEL /LANG=De /NORESTART /LOADINF=%ScriptPath%\X86\pdfcreator-1.5.1.ini'
|
||||||
|
Set $Inst_Cmd2$ = '/SILENT /NOCANCEL /LANG=De /NORESTART /LOADINF=%ScriptPath%\X86\pdfcreator-1.6.1.ini'
|
||||||
Set $LicenseRequired$ = "false"
|
Set $LicenseRequired$ = "false"
|
||||||
Set $LicensePool$ = "p_" + $ProductId$
|
Set $LicensePool$ = "p_" + $ProductId$
|
||||||
; ----------------------------------------------------------------
|
; ----------------------------------------------------------------
|
||||||
|
@ -69,8 +74,17 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "Start setup program"
|
comment "Start setup program"
|
||||||
Winbatch_install
|
if ($pp_version$ = "1.5.1")
|
||||||
Sub_check_exitcode
|
Message "Installing " + $ProductId$ + " 1.5.1 ..."
|
||||||
|
Winbatch_install
|
||||||
|
Sub_check_exitcode
|
||||||
|
endif
|
||||||
|
|
||||||
|
if ($pp_version$ = "1.6.1")
|
||||||
|
Message "Installing " + $ProductId$ + " 1.6.1 ..."
|
||||||
|
Winbatch_install_2
|
||||||
|
Sub_check_exitcode
|
||||||
|
endif
|
||||||
|
|
||||||
comment "Copy files"
|
comment "Copy files"
|
||||||
Files_install /32Bit
|
Files_install /32Bit
|
||||||
|
@ -98,6 +112,9 @@ endif
|
||||||
;
|
;
|
||||||
"$InstallExe$" $Inst_Cmd$
|
"$InstallExe$" $Inst_Cmd$
|
||||||
|
|
||||||
|
[Winbatch_install_2]
|
||||||
|
"$InstallExe2$" $Inst_Cmd2$
|
||||||
|
|
||||||
[Files_install]
|
[Files_install]
|
||||||
; Example of recursively copying some files into the installation directory:
|
; Example of recursively copying some files into the installation directory:
|
||||||
;
|
;
|
||||||
|
|
|
@ -35,3 +35,12 @@ action: setup
|
||||||
requiredProduct: sereby.aio
|
requiredProduct: sereby.aio
|
||||||
requiredStatus: installed
|
requiredStatus: installed
|
||||||
requirementType: before
|
requirementType: before
|
||||||
|
|
||||||
|
[ProductProperty]
|
||||||
|
type: unicode
|
||||||
|
name: pp_version
|
||||||
|
multivalue: False
|
||||||
|
editable: False
|
||||||
|
description: Set version to install (1.5.1 comes with pdf architect)
|
||||||
|
values: ["1.5.1", "1.6.1"]
|
||||||
|
default: ["1.6.1"]
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
64131ebce68286baaefac74f12628ebfc159b7cb /home/opsiproducts/.opsi-dist-cache/pdfforge.pdfcreator-1.6.1/X86/PDFCreator-1.6.1_setup.exe
|
|
@ -3,7 +3,7 @@
|
||||||
############################
|
############################
|
||||||
VENDOR="pdfforge.org"
|
VENDOR="pdfforge.org"
|
||||||
PN="pdfforge.pdfcreator"
|
PN="pdfforge.pdfcreator"
|
||||||
VERSION="1.5.1"
|
VERSION="1.6.1"
|
||||||
RELEASE="1"
|
RELEASE="1"
|
||||||
PRIORITY="0"
|
PRIORITY="0"
|
||||||
ADVICE=""
|
ADVICE=""
|
||||||
|
@ -16,10 +16,15 @@ TYPE="public"
|
||||||
DL_FILE[0]="PDFCreator.jpg"
|
DL_FILE[0]="PDFCreator.jpg"
|
||||||
DL_SOURCE[0]="http://srcweb.net/wp-content/uploads/2011/01/PDFCreator.jpg"
|
DL_SOURCE[0]="http://srcweb.net/wp-content/uploads/2011/01/PDFCreator.jpg"
|
||||||
|
|
||||||
DL_FILE[1]="PDFCreator-${VERSION}_setup.exe"
|
DL_FILE[1]="PDFCreator-1.5.1_setup.exe"
|
||||||
DL_SOURCE[1]="http://download.pdfforge.org/download/pdfcreator/PDFCreator-stable?download"
|
DL_SOURCE[1]="http://white.download.pdfforge.org/pdfcreator/1.5.1/PDFCreator-1_5_1_setup.exe"
|
||||||
DL_ARCH[1]="X86"
|
DL_ARCH[1]="X86"
|
||||||
DL_WINST_NAME[1]=InstallExe
|
DL_WINST_NAME[1]=InstallExe
|
||||||
|
|
||||||
|
DL_FILE[2]="PDFCreator-${VERSION}_setup.exe"
|
||||||
|
DL_SOURCE[2]="http://white.download.pdfforge.org/pdfcreator/1.6.1/PDFCreator-1_6_1_setup.exe"
|
||||||
|
DL_ARCH[2]="X86"
|
||||||
|
DL_WINST_NAME[2]=InstallExe2
|
||||||
|
|
||||||
# File array index for the image showing while installing the program
|
# File array index for the image showing while installing the program
|
||||||
ICON_DL_INDEX=0
|
ICON_DL_INDEX=0
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Silent installation:
|
||||||
|
http://www.mockbox.net/configmgr-sccm/190-install-pdf-creator-silently
|
||||||
|
http://wpkg.org/PDFCreator
|
||||||
|
http://www.pdfforge.org/content/setup-command-line-parameters
|
Loading…
Reference in New Issue