add uninstall wait autoit script

This commit is contained in:
Mario Fetka 2012-02-19 21:24:27 +01:00
parent 8d06a46507
commit 2103436671
4 changed files with 9 additions and 5 deletions

View File

@ -4,11 +4,11 @@
; credits: http://www.opsi.org/credits/
Set $MsiId32$ = '{A6EE99EA-420C-4FA6-8A7C-FDB60D278855}'
Set $UninstallProgram32$ = $InstallDir32$ + "\" + $uVersion$ + "\uninstall.exe"
Set $MsiId32$ = '{XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXXXXXXX}'
Set $UninstallProgram32$ = $InstallDir32$ + "\" + $uVersion$ + "\immunet-uninstall.exe"
Set $MsiId64$ = '{XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXXXXXXX}'
Set $UninstallProgram32$ = $InstallDir64$ + "\" + $uVersion$ + "\uninstall.exe"
Set $UninstallProgram32$ = $InstallDir64$ + "\" + $uVersion$ + "\immunet-uninstall.exe"
if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only")
Message "Uninstalling " + $ProductId$ + " 32 Bit..."
@ -70,7 +70,8 @@ taskkill /IM iptray.exe
; Choose one of the following examples as basis for program uninstall
;
; === Nullsoft Scriptable Install System ================================================================
"$UninstallProgram32$" /S
;"$UninstallProgram32$" /S
"$UninstallProgram32$"
[Winbatch_uninstall_msi_32]
@ -85,7 +86,8 @@ delete -sf "$InstallDir32$\"
; Choose one of the following examples as basis for program uninstall
;
; === Nullsoft Scriptable Install System ================================================================
"$UninstallProgram64$" /S
;"$UninstallProgram64$" /S
"$UninstallProgram64$"
[Winbatch_uninstall_msi_64]

Binary file not shown.

View File

@ -524,6 +524,7 @@ xml ed -O -u "/config/ui/notification/cloud" -v $ui_notification_cloud$ $Install
; Example of recursively copying some files into the installation directory:
;
copy -s "%ScriptPath%\*.xml" "$InstallDir32$"
copy -s "%ScriptPath%\*.exe" "$InstallDir32$\$uVersion$"
[Winbatch_install_64]
; Choose one of the following examples as basis for your installation
@ -537,6 +538,7 @@ copy -s "%ScriptPath%\*.xml" "$InstallDir32$"
; Example of recursively copying some files into the installation directory:
;
copy -s "%ScriptPath%\*.xml" "$InstallDir64$"
copy -s "%ScriptPath%\*.exe" "$InstallDir64$\$uVersion$"
[Registry_install]
; Example of setting some values of an registry key:

Binary file not shown.