back to start

This commit is contained in:
Mario Fetka 2012-02-20 07:17:14 +01:00
parent fb65ec8466
commit 19b1ce78d7
3 changed files with 8 additions and 16 deletions

View File

@ -5,10 +5,10 @@
Set $MsiId32$ = '{XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXXXXXXX}'
Set $UninstallProgram32$ = $InstallDir32$ + "\" + $uVersion$ + "\immunet-uninstall.exe"
Set $UninstallProgram32$ = $InstallDir32$ + "\" + $uVersion$ + "\uninstall.exe"
Set $MsiId64$ = '{XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXXXXXXX}'
Set $UninstallProgram32$ = $InstallDir64$ + "\" + $uVersion$ + "\immunet-uninstall.exe"
Set $UninstallProgram32$ = $InstallDir64$ + "\" + $uVersion$ + "\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..."
@ -18,7 +18,7 @@ if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specif
if FileExists($UninstallProgram32$)
comment "Uninstall program found, starting uninstall"
Dosbatch_uninstall_32
Winbatch_uninstall_32
sub_check_exitcode
endif
@ -42,7 +42,7 @@ if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system spe
if FileExists($UninstallProgram64$)
comment "Uninstall program found, starting uninstall"
Dosbatch_uninstall_64
Winbatch_uninstall_64
sub_check_exitcode
endif
@ -66,14 +66,11 @@ LinkFolder_uninstall
net stop immunetprotect
taskkill /IM iptray.exe
[Dosbatch_uninstall_32]
[Winbatch_uninstall_32]
; Choose one of the following examples as basis for program uninstall
;
; === Nullsoft Scriptable Install System ================================================================
;"$UninstallProgram32$" /S
;"$UninstallProgram32$"
cd $InstallDir32$"\"$uVersion$
immunet-uninstall.exe
"$UninstallProgram32$" /S
[Winbatch_uninstall_msi_32]
@ -84,14 +81,11 @@ msiexec /x $MsiId32$ /qb! REBOOT=ReallySuppress
;
delete -sf "$InstallDir32$\"
[Dosbatch_uninstall_64]
[Winbatch_uninstall_64]
; Choose one of the following examples as basis for program uninstall
;
; === Nullsoft Scriptable Install System ================================================================
;"$UninstallProgram64$" /S
;"$UninstallProgram64$"
cd $InstallDir32$"\"$uVersion$
immunet-uninstall.exe
"$UninstallProgram64$" /S
[Winbatch_uninstall_msi_64]

Binary file not shown.

View File

@ -524,7 +524,6 @@ 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
@ -538,7 +537,6 @@ copy -s "%ScriptPath%\*.exe" "$InstallDir32$\$uVersion$"
; Example of recursively copying some files into the installation directory:
;
copy -s "%ScriptPath%\*.xml" "$InstallDir64$"
copy -s "%ScriptPath%\immunet-uninstall.exe" "$InstallDir64$\$uVersion$"
[Registry_install]
; Example of setting some values of an registry key: