I need to uninstall my msi project my commandline (assuming I don't have the
original msi file). Something equivalent with going into Add/Remove
program. What is my command line shoud be?
Thanks for you help,
David
> I need to uninstall my msi project my commandline (assuming I don't have the
> original msi file). Something equivalent with going into Add/Remove
> program. What is my command line shoud be?
Hi
msiexec /x <The product's 32-bits GUID>
--
torgeir
Microsoft MVP Scripting and WMI
Porsgrunn Norway
But with Add/Remove program, I get
"Are you sure you want to remove <my project name> from
your computer?"
How do I get the message from command line to be the same
as if I were going through Add/Remove?
Thanks,
David
>.
>
-Chris Gouge
Microsoft Windows Installer Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
MSI FAQ:
<http://www.microsoft.com/windows2000/community/centers/management/msi_faq.asp>
"David Pham" <dkp...@att.net> wrote in message
news:096b01c2b063$508cc990$8af82ecf@TK2MSFTNGXA03...
"Chris Gouge [MSFT]" <cgo...@online.microsoft.com> wrote in message
news:#9mQRZSsCHA.2596@TK2MSFTNGP12...
> Is it possible to *silently* uninstall from the command line? Using the /x
> option always prompts. Is there another option to eliminate that prompt?
Hi
Take a look at the /q switch
Windows Installer Command Line Options
http://msdn.microsoft.com/library/en-us/msi/setup/command_line_options.asp
I usually use to get a progress bar
/qb-
If you have Windows Installer 2.0 installed, you can remove the Cancel button by
adding a !, like this:
/qb-!
A completely silent uninstallation (no UI at all, no progress bar etc.):
/q as well as /qn