move the maint to its own section
This commit is contained in:
parent
826364ae7b
commit
d4b41208a8
@ -4,6 +4,7 @@
|
|||||||
; 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"
|
||||||
|
|
||||||
@ -28,6 +29,11 @@ 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
|
||||||
@ -38,8 +44,10 @@ 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]
|
||||||
"%ProgramFiles32Dir%\Mozilla Maintenance Service\Uninstall.exe” /S /v”qn”
|
|
||||||
"$UninstallProgramOld$" -ms
|
"$UninstallProgramOld$" -ms
|
||||||
|
|
||||||
[Winbatch_uninstall]
|
[Winbatch_uninstall]
|
||||||
|
Loading…
Reference in New Issue
Block a user