My customer is having a lot of difficulty uninstalling one of our programs. We'd like to turn on logging to see what's happening, but we can't get the program to uninstall from the command line. From a command shell, I run:
msiexec /x c:\ProgramData\...\myproduct
Windows eventually pops up a dialog that says, "This action is only valid for products that are currently installed". Using the product GUID rather than the install project name gives the same result.
How can we uninstall the program from the command line?
Thanks!
-Dean
uninstall from command line
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: uninstall from command line
Dear Dean,
if you installed your package from a Compressed EXE build, the simplest way it is to run the installer itself once again from CMD line (...it goes in maintenance mode automatically if the same package is found installed).
To log the process use; <setup.exe> /l=<path to logfile>
Regards
if you installed your package from a Compressed EXE build, the simplest way it is to run the installer itself once again from CMD line (...it goes in maintenance mode automatically if the same package is found installed).
To log the process use; <setup.exe> /l=<path to logfile>
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: uninstall from command line
Thanks! I get a browse dialog that says locate the original setup sources to continue, but just canceling the dialog seems to complete anyway. Is the dialog something to be concerned about?
-Dean
-Dean
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: uninstall from command line
Dear Dean,
When setup sources are not cached, no disk space is wasted on the target system for a copy of the installation files. However, running setup in maintenance mode (other than uninstalling the application) will require access to original setup sources, as will patching setup.
Please have a look to "Always Cache Setup Sources (enables easy patching)" settings in IA documentation.
Regards
When setup sources are not cached, no disk space is wasted on the target system for a copy of the installation files. However, running setup in maintenance mode (other than uninstalling the application) will require access to original setup sources, as will patching setup.
Please have a look to "Always Cache Setup Sources (enables easy patching)" settings in IA documentation.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: JohnGaver, Majestic-12 [Bot] and 126 guests