This commit is contained in:
Mario Fetka
2017-03-17 15:36:53 +01:00
parent 998ebae764
commit 1a6bb9fba9
7 changed files with 29 additions and 27 deletions

View File

@@ -49,8 +49,8 @@ Set $LogDir$ = "%SystemDrive%\tmp"
; no white space use '-' as a seperator ; no white space use '-' as a seperator
Set $MinimumSpace$ = "800 MB" Set $MinimumSpace$ = "800 MB"
; the path were we find the product after the installation ; the path were we find the product after the installation
Set $InstallDir32$ = "%ProgramFiles32Dir%\Nitro\Pro 10" Set $InstallDir32$ = "%ProgramFiles32Dir%\Nitro\Pro 11"
Set $InstallDir64$ = "%ProgramFiles64Dir%\Nitro\Pro 10" Set $InstallDir64$ = "%ProgramFiles64Dir%\Nitro\Pro 11"
Set $LicenseRequired$ = "true" Set $LicenseRequired$ = "true"
Set $LicensePool$ = "p_" + $ProductId$ Set $LicensePool$ = "p_" + $ProductId$
; ---------------------------------------------------------------- ; ----------------------------------------------------------------
@@ -80,8 +80,8 @@ else
if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only") if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only")
Message "Installing " + $ProductId$ + " "+ $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " 32 Bit..." Message "Installing " + $ProductId$ + " "+ $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " 32 Bit..."
ChangeDirectory "%SCRIPTPATH%" ChangeDirectory "%SCRIPTPATH%"
comment "Extract the setup programm" ; comment "Extract the setup programm"
Winbatch_extract_32 ; Winbatch_extract_32
Sub_check_exitcode Sub_check_exitcode
comment "Start setup program" comment "Start setup program"
Winbatch_install_32 Winbatch_install_32
@@ -97,8 +97,8 @@ else
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only")) if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
Message "Installing " + $ProductId$ + " " + $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " 64 Bit..." Message "Installing " + $ProductId$ + " " + $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " 64 Bit..."
ChangeDirectory "%SCRIPTPATH%" ChangeDirectory "%SCRIPTPATH%"
comment "Extract the setup programm" ; comment "Extract the setup programm"
Winbatch_extract_64 ; Winbatch_extract_64
Sub_check_exitcode Sub_check_exitcode
comment "Start setup program" comment "Start setup program"
Winbatch_install_64 Winbatch_install_64
@@ -113,11 +113,12 @@ else
endif endif
[Winbatch_extract_32] ; [Winbatch_extract_32]
"$Install32Exe$" /EXTRACTMSI:$LogDir$\nitropro-32.msi ; "$Install32Exe$" /EXTRACTMSI:$LogDir$\nitropro-32.msi
[Winbatch_install_32] [Winbatch_install_32]
msiexec /i "$LogDir$\nitropro-32.msi" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 NPSERIAL=$LicenseKey$ REBOOT=ReallySuppress ; msiexec /i "$LogDir$\nitropro-32.msi" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 NPSERIAL=$LicenseKey$ REBOOT=ReallySuppress
msiexec /i "$Install32Msi$" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 NPSERIAL=$LicenseKey$ REBOOT=ReallySuppress
[Files_install_32] [Files_install_32]
; copy the ini file to the InstallDir ; copy the ini file to the InstallDir
@@ -127,11 +128,12 @@ copy "$IniCfgFile$" "$InstallDir32$"
; ;
; copy -s "%ScriptPath%\files\*.*" "$InstallDir32$" ; copy -s "%ScriptPath%\files\*.*" "$InstallDir32$"
[Winbatch_extract_64] ; [Winbatch_extract_64]
"$Install64Exe$" /EXTRACTMSI:$LogDir$\nitropro-64.msi ; "$Install64Exe$" /EXTRACTMSI:$LogDir$\nitropro-64.msi
[Winbatch_install_64] [Winbatch_install_64]
msiexec /i "$LogDir$\nitropro-64.msi" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 NPSERIAL=$LicenseKey$ REBOOT=ReallySuppress ; msiexec /i "$LogDir$\nitropro-64.msi" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 NPSERIAL=$LicenseKey$ REBOOT=ReallySuppress
msiexec /i "$Install64Msi$" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 NPSERIAL=$LicenseKey$ REBOOT=ReallySuppress
[Files_install_64] [Files_install_64]
; copy the ini file to the InstallDir ; copy the ini file to the InstallDir
@@ -144,13 +146,13 @@ copy "$IniCfgFile$" "$InstallDir64$"
[Registry_install] [Registry_install]
; Example of setting some values of an registry key: ; Example of setting some values of an registry key:
; ;
openkey [HKEY_LOCAL_MACHINE\Software\Nitro\Pro\10.0] openkey [HKEY_LOCAL_MACHINE\Software\Nitro\Pro\11.0]
set "SerialNumber" = "$LicenseKey$" set "SerialNumber" = "$LicenseKey$"
[LinkFolder_install] [LinkFolder_install]
set_basefolder common_desktopdirectory set_basefolder common_desktopdirectory
set_subfolder "" set_subfolder ""
delete_element "Nitro Pro 10" delete_element "Nitro Pro 11"
; Example of deleting a folder from AllUsers startmenu: ; Example of deleting a folder from AllUsers startmenu:
; ;

View File

@@ -42,8 +42,8 @@ Set $LogDir$ = "%SystemDrive%\tmp"
; ---------------------------------------------------------------- ; ----------------------------------------------------------------
; - Please edit the following values - ; - Please edit the following values -
; ---------------------------------------------------------------- ; ----------------------------------------------------------------
Set $InstallDir32$ = "%ProgramFiles32Dir%\Nitro\Pro 10" Set $InstallDir32$ = "%ProgramFiles32Dir%\Nitro\Pro 11"
Set $InstallDir64$ = "%ProgramFiles64Dir%\Nitro\Pro 10" Set $InstallDir64$ = "%ProgramFiles64Dir%\Nitro\Pro 11"
Set $LicenseRequired$ = "true" Set $LicenseRequired$ = "true"
Set $LicensePool$ = "p_" + $ProductId$ Set $LicensePool$ = "p_" + $ProductId$
; ---------------------------------------------------------------- ; ----------------------------------------------------------------

View File

@@ -5,7 +5,7 @@ VENDOR="nitropdf.com"
PN="nitro.pdfpro" PN="nitro.pdfpro"
NAME="Nitro PDF Pro 10" NAME="Nitro PDF Pro 10"
DESCRIPTION="Mit Nitro Pro 10 koennen Sie auf einfache Weise von nahezu jedem Dateiformat PDF-Dateien erstellen, die dem Branchenstandard entsprechen." DESCRIPTION="Mit Nitro Pro 10 koennen Sie auf einfache Weise von nahezu jedem Dateiformat PDF-Dateien erstellen, die dem Branchenstandard entsprechen."
VERSION="10.5.9.9" VERSION="11.0.3.173"
RELEASE="3" RELEASE="3"
PRIORITY="0" PRIORITY="0"
ADVICE="" ADVICE=""
@@ -18,21 +18,21 @@ TYPE="public"
DL_FILE[0]="nitro7_200x175.gif" DL_FILE[0]="nitro7_200x175.gif"
DL_SOURCE[0]="http://www.softwarecrew.com/wp-content/uploads/2011/11/nitro7_200x175.gif" DL_SOURCE[0]="http://www.softwarecrew.com/wp-content/uploads/2011/11/nitro7_200x175.gif"
DL_FILE[1]="nitro_pro10_de_x86_${VERSION}.exe" DL_FILE[1]="nitro_pro11_de_x86_${VERSION}.msi"
DL_SOURCE[1]="http://install.nitropdf.com/pro10/de/retail/nitro_pro10.exe" DL_SOURCE[1]="http://install.nitropdf.com/pro11/de/vlp/nitro_pro11_x86.msi"
DL_ARCH[1]="X86" DL_ARCH[1]="X86"
DL_WINST_NAME[1]=Install32Exe DL_WINST_NAME[1]=Install32Msi
DL_FILE[2]="nitro_pro10_de_x64_${VERSION}.exe" DL_FILE[2]="nitro_pro11_de_x64_${VERSION}.msi"
DL_SOURCE[2]="http://install.nitropdf.com/pro10/de/retail/nitro_pro10_x64.exe" DL_SOURCE[2]="http://install.nitropdf.com/pro11/de/vlp/nitro_pro11_x64.msi"
DL_ARCH[2]="X86_64" DL_ARCH[2]="X86_64"
DL_WINST_NAME[2]=Install64Exe DL_WINST_NAME[2]=Install64Msi
OPSI_INI_SECTION[0]="X86" OPSI_INI_SECTION[0]="X86"
OPSI_INI_OPTION[0]="MsiId32" OPSI_INI_OPTION[0]="MsiId32"
OPSI_INI_VALUE[0]="{2CA3A452-9D36-40F4-8A7A-DB84B718EDEA}" OPSI_INI_VALUE[0]="{0E1D819D-ADF6-4E11-BFD0-EC54AD118EF2}"
OPSI_INI_SECTION[1]="X86_64" OPSI_INI_SECTION[1]="X86_64"
OPSI_INI_OPTION[1]="MsiId64" OPSI_INI_OPTION[1]="MsiId64"
OPSI_INI_VALUE[1]="{13B44F37-0A3D-4E5A-9742-3E259574E97A}" OPSI_INI_VALUE[1]="{CCE8908F-3DB2-4350-BFB3-CBC66FF73FE5}"

View File

@@ -1 +0,0 @@
15b205bb5a74e1fdfa5cdeb81fb743fa42979e3d /home/mario/.opsi-dist-cache/nitro.pdfpro-10.5.9.9/X86_64/nitro_pro10_de_x64_10.5.9.9.exe

View File

@@ -1 +0,0 @@
78f167ff8fc078b4fdd1b97358ce11cbfff159a9 /home/mario/.opsi-dist-cache/nitro.pdfpro-10.5.9.9/X86/nitro_pro10_de_x86_10.5.9.9.exe

View File

@@ -0,0 +1 @@
2d055b1e0f6d47b2f221b30bac433d8220a39b0b /home/mario/.opsi-dist-cache/nitro.pdfpro-11.0.3.173/X86_64/nitro_pro11_de_x64_11.0.3.173.msi

View File

@@ -0,0 +1 @@
b25adaf97997471eb3fce767179a10e96d613b8f /home/mario/.opsi-dist-cache/nitro.pdfpro-11.0.3.173/X86/nitro_pro11_de_x86_11.0.3.173.msi