Corrected ProductDependency and small fixes

This commit is contained in:
Peter Singer 2012-10-30 16:28:22 +01:00
parent 9f3e4bcf0f
commit 72d869f076
3 changed files with 9 additions and 14 deletions

View File

@ -85,10 +85,12 @@ LinkFolder_uninstall
[Winbatch_uninstall_msi_old_32]
msiexec /x $MsiIdOld32$ /qb! REBOOT=ReallySuppress
; disables the pop-up browser window
taskkill /F /IM iexplore.exe
[Winbatch_uninstall_msi_32]
msiexec /x $MsiId32$ /qb! REBOOT=ReallySuppress
; disables the pop-up browser window
taskkill /F /IM iexplore.exe
[Files_uninstall_32]
@ -110,10 +112,12 @@ delete "$IniFile32$"
[Winbatch_uninstall_msi_old_64]
msiexec /x $MsiIdOld64$ /qb! REBOOT=ReallySuppress
; disables the pop-up browser window
taskkill /F /IM iexplore.exe
[Winbatch_uninstall_msi_64]
msiexec /x $MsiId64$ /qb! REBOOT=ReallySuppress
; disables the pop-up browser window
taskkill /F /IM iexplore.exe
[Files_uninstall_64]

View File

@ -90,7 +90,7 @@ else
comment "Copy files"
Files_install_32 /32Bit
comment "Patch Registry"
Registry_install_32 /32Bit
Registry_install /32Bit
comment "Create shortcuts"
LinkFolder_install
endif
@ -106,7 +106,8 @@ else
comment "Copy files"
Files_install_64 /64Bit
comment "Patch Registry"
Registry_install_64 /64Bit
; Registry_install /64Bit
Registry_install /32Bit
comment "Create shortcuts"
LinkFolder_install
endif
@ -139,7 +140,7 @@ copy "$IniCfgFile$" "$InstallDir64$"
;
; copy -s "%ScriptPath%\files\*.*" "$InstallDir64$"
[Registry_install_32]
[Registry_install]
; Example of setting some values of an registry key:
;
; openkey [HKEY_LOCAL_MACHINE\Software\$ProductId$]
@ -149,16 +150,6 @@ copy "$IniCfgFile$" "$InstallDir64$"
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Nitro\Reader\3.0\settings]
set "Pip2Enabled" = "0"
[Registry_install_64]
; Example of setting some values of an registry key:
;
; openkey [HKEY_LOCAL_MACHINE\Software\$ProductId$]
; set "name1" = "some string value"
; set "name2" = REG_DWORD:0001
; set "name3" = REG_BINARY:00 af 99 cd
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Nitro\Reader\3.0\settings]
set "Pip2Enabled" = "0"
[LinkFolder_install]
; Example of deleting a folder from AllUsers startmenu:
;

View File

@ -32,7 +32,7 @@ default: ["system specific"]
[ProductDependency]
action: setup
requiredProduct: aio
requiredProduct: sereby.aio
requiredStatus: installed
requirementType: before