add uninstall wait autoit script
This commit is contained in:
parent
8d06a46507
commit
2103436671
@ -4,11 +4,11 @@
|
|||||||
; credits: http://www.opsi.org/credits/
|
; credits: http://www.opsi.org/credits/
|
||||||
|
|
||||||
|
|
||||||
Set $MsiId32$ = '{A6EE99EA-420C-4FA6-8A7C-FDB60D278855}'
|
Set $MsiId32$ = '{XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXXXXXXX}'
|
||||||
Set $UninstallProgram32$ = $InstallDir32$ + "\" + $uVersion$ + "\uninstall.exe"
|
Set $UninstallProgram32$ = $InstallDir32$ + "\" + $uVersion$ + "\immunet-uninstall.exe"
|
||||||
|
|
||||||
Set $MsiId64$ = '{XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXXXXXXX}'
|
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")
|
if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only")
|
||||||
Message "Uninstalling " + $ProductId$ + " 32 Bit..."
|
Message "Uninstalling " + $ProductId$ + " 32 Bit..."
|
||||||
@ -70,7 +70,8 @@ taskkill /IM iptray.exe
|
|||||||
; Choose one of the following examples as basis for program uninstall
|
; Choose one of the following examples as basis for program uninstall
|
||||||
;
|
;
|
||||||
; === Nullsoft Scriptable Install System ================================================================
|
; === Nullsoft Scriptable Install System ================================================================
|
||||||
"$UninstallProgram32$" /S
|
;"$UninstallProgram32$" /S
|
||||||
|
"$UninstallProgram32$"
|
||||||
|
|
||||||
|
|
||||||
[Winbatch_uninstall_msi_32]
|
[Winbatch_uninstall_msi_32]
|
||||||
@ -85,7 +86,8 @@ delete -sf "$InstallDir32$\"
|
|||||||
; Choose one of the following examples as basis for program uninstall
|
; Choose one of the following examples as basis for program uninstall
|
||||||
;
|
;
|
||||||
; === Nullsoft Scriptable Install System ================================================================
|
; === Nullsoft Scriptable Install System ================================================================
|
||||||
"$UninstallProgram64$" /S
|
;"$UninstallProgram64$" /S
|
||||||
|
"$UninstallProgram64$"
|
||||||
|
|
||||||
|
|
||||||
[Winbatch_uninstall_msi_64]
|
[Winbatch_uninstall_msi_64]
|
||||||
|
BIN
CLIENT_DATA/immunet-uninstall.exe
Normal file
BIN
CLIENT_DATA/immunet-uninstall.exe
Normal file
Binary file not shown.
@ -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:
|
; Example of recursively copying some files into the installation directory:
|
||||||
;
|
;
|
||||||
copy -s "%ScriptPath%\*.xml" "$InstallDir32$"
|
copy -s "%ScriptPath%\*.xml" "$InstallDir32$"
|
||||||
|
copy -s "%ScriptPath%\*.exe" "$InstallDir32$\$uVersion$"
|
||||||
|
|
||||||
[Winbatch_install_64]
|
[Winbatch_install_64]
|
||||||
; Choose one of the following examples as basis for your installation
|
; 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:
|
; Example of recursively copying some files into the installation directory:
|
||||||
;
|
;
|
||||||
copy -s "%ScriptPath%\*.xml" "$InstallDir64$"
|
copy -s "%ScriptPath%\*.xml" "$InstallDir64$"
|
||||||
|
copy -s "%ScriptPath%\*.exe" "$InstallDir64$\$uVersion$"
|
||||||
|
|
||||||
[Registry_install]
|
[Registry_install]
|
||||||
; Example of setting some values of an registry key:
|
; Example of setting some values of an registry key:
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user