[wpkg-users] Office 2003 uninstall problem

Rainer Meier r.meier at wpkg.org
Fri Apr 17 18:45:39 CEST 2009


Hi "mattmole"

mattmole wrote:
> I am attempting to uninstall Microsoft Office 2003. I have used the example
> from wpkg.org to create my rule:
> 
> <package
>     id="Office2003"
>     name = "Install Office2003"
>     reboot="true"
>     >
> 	<!--<check type="file" condition="exists" path="C:\Program Files\Microsoft
> Office\OFFICE11\WINWORD.EXE"/>-->
> 	<check type="uninstall" condition="exists" path="Microsoft Office
> Professional Edition 2003"/>
> 	<install
> cmd='\\10.240.250.246\packages\package_files\office\MSOffice2003\v1.0.0.1\SETUP.EXE'/>
> 	<!--<remove  cmd='msiexec /x
> "\\10.240.250.246\packages\package_files\office\MSOffice2003\v1.0.0.1\PRO11.msi"
> /qn' />-->
> 	<remove cmd='MsiExec.exe /q /x{90110409-6000-11D3-8CFE-0150048383C9}'/>
>     </package>
> 
> As can be seen from the above, I have tried two check types and the error
> returned is the same:
> 
> "
> Could not process (remove) "Install Office 2003"
> Package still installed
> "
> 
> This is very interesting as by running either uninstall command manually I
> find that Office 2003 does successfully uninstall.
> 
> Any ideas?

Try running it within a command line call:
cmd /c "msiexec /qn /x {90110409-6000-11D3-8CFE-0150048383C9}"

Why don't you stick to the command using the MSI file - usually that works great.

My personal command-line I use to uninstlal Office 2003 (works great):

msiexec /x "%SOFTWARE%\office2003\PRO11.MSI" /qn

br,
Rainer




More information about the wpkg-users mailing list