correct uninstall

This commit is contained in:
Mario Fetka 2012-04-26 13:25:42 +02:00
parent 71a76fb5c7
commit 2407a8e8d4
4 changed files with 11 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<Configuration Product="SmallBusinessr">
<Display Level="None" CompletionNotice="no" SuppressModal="no" AcceptEula="yes" />
<Display Level="Basic" CompletionNotice="no" SuppressModal="Yes" AcceptEula="yes" />
<!-- <Logging Type="standard" Path="%temp%" Template="Microsoft Office Small Business Setup(*).txt" /> -->

View File

@ -24,7 +24,8 @@ comment "Delete program shortcuts"
LinkFolder_uninstall
[Winbatch_uninstall_msi]
msiexec /x $MsiId$ /qb! REBOOT=ReallySuppress
;msiexec /x $MsiId$ /qb! REBOOT=ReallySuppress
"%SystemDrive%\MSOCache\All Users\$MsiId$-C\setup.exe" /config %ScriptPath%\config.xml /uninstall SmallBusinessr
[Files_uninstall]
; Example for recursively deleting the installation directory (don't forget the trailing backslash):

View File

@ -78,6 +78,10 @@ else
Winbatch_install
Sub_check_exitcode
comment "Remove Install Files"
Winbatch_remove
Sub_check_exitcode
comment "Copy files"
Files_install /32Bit
@ -110,6 +114,9 @@ xml ed -O -u "/Configuration/PIDKEY/@Value" -v $LicenseKey$ -u "/Configuration/U
[Winbatch_install]
"$LogDir$\msoffice2007\SETUP.EXE" /config "$LogDir$\msoffice2007.xml"
[Winbatch_remove]
delete -sf "$LogDir$\msoffice2007"
[Files_install]
; Example of recursively copying some files into the installation directory:
;

1
ReadMe.txt Normal file
View File

@ -0,0 +1 @@
This Package requires the MSOCache to be in Std Location %SystemDrive%