dont uninstallthe services
This commit is contained in:
parent
9dfa7836c9
commit
e118006de2
@ -4,7 +4,6 @@
|
|||||||
; credits: http://www.opsi.org/en/credits/
|
; credits: http://www.opsi.org/en/credits/
|
||||||
|
|
||||||
|
|
||||||
Set $UninstallMaintenance$ = "%ProgramFiles32Dir%\Mozilla Maintenance Service\Uninstall.exe"
|
|
||||||
Set $UninstallProgram$ = $InstallDir$ + "\" + $UninstallProg$
|
Set $UninstallProgram$ = $InstallDir$ + "\" + $UninstallProg$
|
||||||
Set $IniFile$ = $InstallDir$ + "\opsi-" + $ProductId$ + ".ini"
|
Set $IniFile$ = $InstallDir$ + "\opsi-" + $ProductId$ + ".ini"
|
||||||
|
|
||||||
@ -29,11 +28,6 @@ if FileExists($UninstallProgram$)
|
|||||||
Winbatch_uninstall
|
Winbatch_uninstall
|
||||||
sub_check_exitcode
|
sub_check_exitcode
|
||||||
endif
|
endif
|
||||||
if FileExists($UninstallMaintenance$)
|
|
||||||
comment "Uninstall Maintenance found, starting uninstall"
|
|
||||||
Winbatch_maintenance_uninstall
|
|
||||||
sub_check_exitcode
|
|
||||||
endif
|
|
||||||
|
|
||||||
comment "Delete files"
|
comment "Delete files"
|
||||||
Files_uninstall /32Bit
|
Files_uninstall /32Bit
|
||||||
@ -44,9 +38,6 @@ Registry_uninstall /32Bit
|
|||||||
comment "Delete program shortcuts"
|
comment "Delete program shortcuts"
|
||||||
LinkFolder_uninstall
|
LinkFolder_uninstall
|
||||||
|
|
||||||
[Winbatch_maintenance_uninstall]
|
|
||||||
"$UninstallMaintenance$" /S /v"qn"
|
|
||||||
|
|
||||||
[Winbatch_uninstall_old]
|
[Winbatch_uninstall_old]
|
||||||
"$UninstallProgramOld$" -ms
|
"$UninstallProgramOld$" -ms
|
||||||
|
|
||||||
|
@ -8,7 +8,6 @@ requiredWinstVersion >= "4.11.2.6"
|
|||||||
|
|
||||||
DefVar $UninstallProgram$
|
DefVar $UninstallProgram$
|
||||||
DefVar $UninstallProgramOld$
|
DefVar $UninstallProgramOld$
|
||||||
DefVar $UninstallMaintenance$
|
|
||||||
DefVar $IniFile$
|
DefVar $IniFile$
|
||||||
DefVar $IniCfgFile$
|
DefVar $IniCfgFile$
|
||||||
DefVar $LogDir$
|
DefVar $LogDir$
|
||||||
|
@ -8,7 +8,6 @@ requiredWinstVersion >= "4.11.2.6"
|
|||||||
|
|
||||||
DefVar $UninstallProgram$
|
DefVar $UninstallProgram$
|
||||||
DefVar $UninstallProgramOld$
|
DefVar $UninstallProgramOld$
|
||||||
DefVar $UninstallMaintenance$
|
|
||||||
DefVar $IniFile$
|
DefVar $IniFile$
|
||||||
DefVar $IniCfgFile$
|
DefVar $IniCfgFile$
|
||||||
DefVar $LogDir$
|
DefVar $LogDir$
|
||||||
|
Loading…
Reference in New Issue
Block a user