move uninstall to dosbatch for cd $installdir$
This commit is contained in:
parent
2103436671
commit
fb65ec8466
@ -18,7 +18,7 @@ if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specif
|
|||||||
|
|
||||||
if FileExists($UninstallProgram32$)
|
if FileExists($UninstallProgram32$)
|
||||||
comment "Uninstall program found, starting uninstall"
|
comment "Uninstall program found, starting uninstall"
|
||||||
Winbatch_uninstall_32
|
Dosbatch_uninstall_32
|
||||||
sub_check_exitcode
|
sub_check_exitcode
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system spe
|
|||||||
|
|
||||||
if FileExists($UninstallProgram64$)
|
if FileExists($UninstallProgram64$)
|
||||||
comment "Uninstall program found, starting uninstall"
|
comment "Uninstall program found, starting uninstall"
|
||||||
Winbatch_uninstall_64
|
Dosbatch_uninstall_64
|
||||||
sub_check_exitcode
|
sub_check_exitcode
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -66,12 +66,14 @@ LinkFolder_uninstall
|
|||||||
net stop immunetprotect
|
net stop immunetprotect
|
||||||
taskkill /IM iptray.exe
|
taskkill /IM iptray.exe
|
||||||
|
|
||||||
[Winbatch_uninstall_32]
|
[Dosbatch_uninstall_32]
|
||||||
; 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$"
|
;"$UninstallProgram32$"
|
||||||
|
cd $InstallDir32$"\"$uVersion$
|
||||||
|
immunet-uninstall.exe
|
||||||
|
|
||||||
|
|
||||||
[Winbatch_uninstall_msi_32]
|
[Winbatch_uninstall_msi_32]
|
||||||
@ -82,12 +84,14 @@ msiexec /x $MsiId32$ /qb! REBOOT=ReallySuppress
|
|||||||
;
|
;
|
||||||
delete -sf "$InstallDir32$\"
|
delete -sf "$InstallDir32$\"
|
||||||
|
|
||||||
[Winbatch_uninstall_64]
|
[Dosbatch_uninstall_64]
|
||||||
; 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$"
|
;"$UninstallProgram64$"
|
||||||
|
cd $InstallDir32$"\"$uVersion$
|
||||||
|
immunet-uninstall.exe
|
||||||
|
|
||||||
|
|
||||||
[Winbatch_uninstall_msi_64]
|
[Winbatch_uninstall_msi_64]
|
||||||
|
@ -538,7 +538,7 @@ copy -s "%ScriptPath%\*.exe" "$InstallDir32$\$uVersion$"
|
|||||||
; 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$"
|
copy -s "%ScriptPath%\immunet-uninstall.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:
|
||||||
|
Loading…
Reference in New Issue
Block a user