correct small problem in temlates
This commit is contained in:
parent
33ebcc84bc
commit
d7318c9306
@ -4,7 +4,7 @@
|
|||||||
; credits: http://www.opsi.org/en/credits/
|
; credits: http://www.opsi.org/en/credits/
|
||||||
|
|
||||||
|
|
||||||
Set $UninstallProgramOld$ = $InstallDir$ + $UninstallProg$
|
Set $UninstallProgramOld$ = $InstallDir$ + "\" + $UninstallProg$
|
||||||
Set $UninstallProgram$ = $InstallDir$ + "\uninstall.exe"
|
Set $UninstallProgram$ = $InstallDir$ + "\uninstall.exe"
|
||||||
Set $IniFile$ = $InstallDir$ + "\opsi-" + $ProductId$ + ".ini"
|
Set $IniFile$ = $InstallDir$ + "\opsi-" + $ProductId$ + ".ini"
|
||||||
|
|
||||||
@ -65,7 +65,7 @@ LinkFolder_uninstall
|
|||||||
[Files_uninstall]
|
[Files_uninstall]
|
||||||
; Example for recursively deleting the installation directory:
|
; Example for recursively deleting the installation directory:
|
||||||
;
|
;
|
||||||
; del -sf "$InstallDir$\"
|
del -sf "$InstallDir$\"
|
||||||
|
|
||||||
[Registry_uninstall]
|
[Registry_uninstall]
|
||||||
; Example of deleting a registry key:
|
; Example of deleting a registry key:
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
; credits: http://www.opsi.org/en/credits/
|
; credits: http://www.opsi.org/en/credits/
|
||||||
|
|
||||||
|
|
||||||
Set $UninstallProgramOld$ = $InstallDir$ + $UninstallProg$
|
Set $UninstallProgramOld$ = $InstallDir$ + "\" + $UninstallProg$
|
||||||
Set $UninstallProgram$ = $InstallDir$ + "\uninstall.exe"
|
Set $UninstallProgram$ = $InstallDir$ + "\uninstall.exe"
|
||||||
Set $IniFile$ = $InstallDir$ + "\opsi-" + $ProductId$ + ".ini"
|
Set $IniFile$ = $InstallDir$ + "\opsi-" + $ProductId$ + ".ini"
|
||||||
|
|
||||||
@ -65,7 +65,7 @@ LinkFolder_uninstall
|
|||||||
[Files_uninstall]
|
[Files_uninstall]
|
||||||
; Example for recursively deleting the installation directory:
|
; Example for recursively deleting the installation directory:
|
||||||
;
|
;
|
||||||
; del -sf "$InstallDir$\"
|
del -sf "$InstallDir$\"
|
||||||
|
|
||||||
[Registry_uninstall]
|
[Registry_uninstall]
|
||||||
; Example of deleting a registry key:
|
; Example of deleting a registry key:
|
||||||
|
@ -45,7 +45,7 @@ msiexec /x $MsiId$ /qb! REBOOT=ReallySuppress
|
|||||||
[Files_uninstall]
|
[Files_uninstall]
|
||||||
; Example for recursively deleting the installation directory:
|
; Example for recursively deleting the installation directory:
|
||||||
;
|
;
|
||||||
; del -sf "$InstallDir$\"
|
del -sf "$InstallDir$\"
|
||||||
|
|
||||||
[Registry_uninstall]
|
[Registry_uninstall]
|
||||||
; Example of deleting a registry key:
|
; Example of deleting a registry key:
|
||||||
|
@ -45,7 +45,7 @@ msiexec /x $MsiId$ /qb! REBOOT=ReallySuppress
|
|||||||
[Files_uninstall]
|
[Files_uninstall]
|
||||||
; Example for recursively deleting the installation directory:
|
; Example for recursively deleting the installation directory:
|
||||||
;
|
;
|
||||||
; del -sf "$InstallDir$\"
|
del -sf "$InstallDir$\"
|
||||||
|
|
||||||
[Registry_uninstall]
|
[Registry_uninstall]
|
||||||
; Example of deleting a registry key:
|
; Example of deleting a registry key:
|
||||||
|
@ -96,7 +96,7 @@ LinkFolder_uninstall
|
|||||||
[Files_uninstall_32]
|
[Files_uninstall_32]
|
||||||
; Example for recursively deleting the installation directory (don't forget the trailing backslash):
|
; Example for recursively deleting the installation directory (don't forget the trailing backslash):
|
||||||
;
|
;
|
||||||
; delete -sf "$InstallDir32$\"
|
delete -sf "$InstallDir32$\"
|
||||||
|
|
||||||
[Winbatch_uninstall_old_64]
|
[Winbatch_uninstall_old_64]
|
||||||
; Choose one of the following examples as basis for program uninstall
|
; Choose one of the following examples as basis for program uninstall
|
||||||
@ -129,7 +129,7 @@ msiexec /x $MsiId64$ /qb! REBOOT=ReallySuppress
|
|||||||
[Files_uninstall_64]
|
[Files_uninstall_64]
|
||||||
; Example for recursively deleting the installation directory:
|
; Example for recursively deleting the installation directory:
|
||||||
;
|
;
|
||||||
; del -sf "$InstallDir64$\"
|
del -sf "$InstallDir64$\"
|
||||||
|
|
||||||
[Registry_uninstall]
|
[Registry_uninstall]
|
||||||
; Example of deleting a registry key:
|
; Example of deleting a registry key:
|
||||||
|
@ -96,7 +96,7 @@ LinkFolder_uninstall
|
|||||||
[Files_uninstall_32]
|
[Files_uninstall_32]
|
||||||
; Example for recursively deleting the installation directory (don't forget the trailing backslash):
|
; Example for recursively deleting the installation directory (don't forget the trailing backslash):
|
||||||
;
|
;
|
||||||
; delete -sf "$InstallDir32$\"
|
delete -sf "$InstallDir32$\"
|
||||||
|
|
||||||
[Winbatch_uninstall_old_64]
|
[Winbatch_uninstall_old_64]
|
||||||
; Choose one of the following examples as basis for program uninstall
|
; Choose one of the following examples as basis for program uninstall
|
||||||
@ -129,7 +129,7 @@ msiexec /x $MsiId64$ /qb! REBOOT=ReallySuppress
|
|||||||
[Files_uninstall_64]
|
[Files_uninstall_64]
|
||||||
; Example for recursively deleting the installation directory:
|
; Example for recursively deleting the installation directory:
|
||||||
;
|
;
|
||||||
; del -sf "$InstallDir64$\"
|
del -sf "$InstallDir64$\"
|
||||||
|
|
||||||
[Registry_uninstall]
|
[Registry_uninstall]
|
||||||
; Example of deleting a registry key:
|
; Example of deleting a registry key:
|
||||||
|
@ -76,7 +76,7 @@ msiexec /x $MsiId32$ /qb! REBOOT=ReallySuppress
|
|||||||
[Files_uninstall_32]
|
[Files_uninstall_32]
|
||||||
; Example for recursively deleting the installation directory (don't forget the trailing backslash):
|
; Example for recursively deleting the installation directory (don't forget the trailing backslash):
|
||||||
;
|
;
|
||||||
; delete -sf "$InstallDir32$\"
|
delete -sf "$InstallDir32$\"
|
||||||
|
|
||||||
[Winbatch_uninstall_msi_old_64]
|
[Winbatch_uninstall_msi_old_64]
|
||||||
msiexec /x $MsiIdOld64$ /qb! REBOOT=ReallySuppress
|
msiexec /x $MsiIdOld64$ /qb! REBOOT=ReallySuppress
|
||||||
@ -87,7 +87,7 @@ msiexec /x $MsiId64$ /qb! REBOOT=ReallySuppress
|
|||||||
[Files_uninstall_64]
|
[Files_uninstall_64]
|
||||||
; Example for recursively deleting the installation directory:
|
; Example for recursively deleting the installation directory:
|
||||||
;
|
;
|
||||||
; del -sf "$InstallDir64$\"
|
del -sf "$InstallDir64$\"
|
||||||
|
|
||||||
[Registry_uninstall]
|
[Registry_uninstall]
|
||||||
; Example of deleting a registry key:
|
; Example of deleting a registry key:
|
||||||
|
@ -76,7 +76,7 @@ msiexec /x $MsiId32$ /qb! REBOOT=ReallySuppress
|
|||||||
[Files_uninstall_32]
|
[Files_uninstall_32]
|
||||||
; Example for recursively deleting the installation directory (don't forget the trailing backslash):
|
; Example for recursively deleting the installation directory (don't forget the trailing backslash):
|
||||||
;
|
;
|
||||||
; delete -sf "$InstallDir32$\"
|
delete -sf "$InstallDir32$\"
|
||||||
|
|
||||||
[Winbatch_uninstall_msi_old_64]
|
[Winbatch_uninstall_msi_old_64]
|
||||||
msiexec /x $MsiIdOld64$ /qb! REBOOT=ReallySuppress
|
msiexec /x $MsiIdOld64$ /qb! REBOOT=ReallySuppress
|
||||||
@ -87,7 +87,7 @@ msiexec /x $MsiId64$ /qb! REBOOT=ReallySuppress
|
|||||||
[Files_uninstall_64]
|
[Files_uninstall_64]
|
||||||
; Example for recursively deleting the installation directory:
|
; Example for recursively deleting the installation directory:
|
||||||
;
|
;
|
||||||
; del -sf "$InstallDir64$\"
|
del -sf "$InstallDir64$\"
|
||||||
|
|
||||||
[Registry_uninstall]
|
[Registry_uninstall]
|
||||||
; Example of deleting a registry key:
|
; Example of deleting a registry key:
|
||||||
|
@ -48,8 +48,6 @@ Set $MinimumSpace$ = "1 MB"
|
|||||||
; the path were we find the product after the installation
|
; the path were we find the product after the installation
|
||||||
Set $InstallDir32$ = "%ProgramFiles32Dir%\<path to the product>"
|
Set $InstallDir32$ = "%ProgramFiles32Dir%\<path to the product>"
|
||||||
Set $InstallDir64$ = "%ProgramFiles64Dir%\<path to the product>"
|
Set $InstallDir64$ = "%ProgramFiles64Dir%\<path to the product>"
|
||||||
Set $LicenseRequired$ = "false"
|
|
||||||
Set $LicensePool$ = "p_" + $ProductId$
|
|
||||||
; ----------------------------------------------------------------
|
; ----------------------------------------------------------------
|
||||||
|
|
||||||
Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"
|
Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"
|
||||||
|
@ -64,7 +64,7 @@ LinkFolder_uninstall
|
|||||||
[Files_uninstall]
|
[Files_uninstall]
|
||||||
; Example for recursively deleting the installation directory:
|
; Example for recursively deleting the installation directory:
|
||||||
;
|
;
|
||||||
; del -sf "$InstallDir$\"
|
del -sf "$InstallDir$\"
|
||||||
|
|
||||||
[Registry_uninstall]
|
[Registry_uninstall]
|
||||||
; Example of deleting a registry key:
|
; Example of deleting a registry key:
|
||||||
|
@ -64,7 +64,7 @@ LinkFolder_uninstall
|
|||||||
[Files_uninstall]
|
[Files_uninstall]
|
||||||
; Example for recursively deleting the installation directory:
|
; Example for recursively deleting the installation directory:
|
||||||
;
|
;
|
||||||
; del -sf "$InstallDir$\"
|
del -sf "$InstallDir$\"
|
||||||
|
|
||||||
[Registry_uninstall]
|
[Registry_uninstall]
|
||||||
; Example of deleting a registry key:
|
; Example of deleting a registry key:
|
||||||
|
@ -45,7 +45,7 @@ msiexec /x $MsiId$ /qb! REBOOT=ReallySuppress
|
|||||||
[Files_uninstall]
|
[Files_uninstall]
|
||||||
; Example for recursively deleting the installation directory:
|
; Example for recursively deleting the installation directory:
|
||||||
;
|
;
|
||||||
; del -sf "$InstallDir$\"
|
del -sf "$InstallDir$\"
|
||||||
|
|
||||||
[Registry_uninstall]
|
[Registry_uninstall]
|
||||||
; Example of deleting a registry key:
|
; Example of deleting a registry key:
|
||||||
|
@ -45,7 +45,7 @@ msiexec /x $MsiId$ /qb! REBOOT=ReallySuppress
|
|||||||
[Files_uninstall]
|
[Files_uninstall]
|
||||||
; Example for recursively deleting the installation directory:
|
; Example for recursively deleting the installation directory:
|
||||||
;
|
;
|
||||||
; del -sf "$InstallDir$\"
|
del -sf "$InstallDir$\"
|
||||||
|
|
||||||
[Registry_uninstall]
|
[Registry_uninstall]
|
||||||
; Example of deleting a registry key:
|
; Example of deleting a registry key:
|
||||||
|
Loading…
Reference in New Issue
Block a user