finally solved uninstall

This commit is contained in:
Mario Fetka 2012-01-23 21:37:25 +01:00
parent 83751f7102
commit 83b4e5a42a
4 changed files with 9 additions and 9 deletions

View File

@ -4,11 +4,11 @@
; credits: http://www.opsi.org/credits/ ; credits: http://www.opsi.org/credits/
Set $MsiId32$ = '{A6EE99EA-420C-4FA6-8A7C-FDB60D278855}' Set $MsiId32$ = '{XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXXXXXXX}'
Set $UninstallProgram32$ = $InstallDir32$ + "UVERSION\uninstall.exe" Set $UninstallProgram32$ = $InstallDir32$ + "\UVERSION\uninstall.exe"
Set $MsiId64$ = '{A6EE99EA-420C-4FA6-8A7C-FDB60D278855}' Set $MsiId64$ = '{XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXXXXXXX}'
Set $UninstallProgram32$ = $InstallDir64$ + "UVERSION\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") if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only")
Message "Uninstalling " + $ProductId$ + " 32 Bit..." Message "Uninstalling " + $ProductId$ + " 32 Bit..."
@ -68,7 +68,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_64] [Winbatch_uninstall_64]
; Choose one of the following examples as basis for program uninstall ; Choose one of the following examples as basis for program uninstall
@ -83,7 +83,7 @@ msiexec /x $MsiId64$ /qb! REBOOT=ReallySuppress
[Files_uninstall_64] [Files_uninstall_64]
; 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 "$InstallDir64$\" delete -sf "$InstallDir64$\"
[Registry_uninstall] [Registry_uninstall]
; Example of deleting a registry key: ; Example of deleting a registry key:

View File

@ -101,7 +101,7 @@ endif
[Files_install_32] [Files_install_32]
; Example of recursively copying some files into the installation directory: ; Example of recursively copying some files into the installation directory:
; ;
copy -s "%ScriptPath%\custom\*.xml" "$InstallDir32$" copy -s "%ScriptPath%\custom\*.*" "$InstallDir32$"
[Winbatch_install_64] [Winbatch_install_64]
; Choose one of the following examples as basis for your installation ; Choose one of the following examples as basis for your installation
@ -114,7 +114,7 @@ copy -s "%ScriptPath%\custom\*.xml" "$InstallDir32$"
[Files_install_64] [Files_install_64]
; Example of recursively copying some files into the installation directory: ; Example of recursively copying some files into the installation directory:
; ;
copy -s "%ScriptPath%\custom\*.xml" "$InstallDir64$" copy -s "%ScriptPath%\custom\*.*" "$InstallDir64$"
[Registry_install] [Registry_install]
; Example of setting some values of an registry key: ; Example of setting some values of an registry key:

View File

@ -2,7 +2,7 @@
PN="immunet" PN="immunet"
VERSION="3.0.5.7688" VERSION="3.0.5.7688"
UVERSION="3.0.5" UVERSION="3.0.5"
RELEASE="3" RELEASE="4"
PRIORITY="0" PRIORITY="0"
ADVICE="" ADVICE=""
TYPE="testing" TYPE="testing"