Dynadot — .com Registration $8.99

Uninstalling An Msi File From The Command Line Without Using Msiexec

Spacemail by SpaceshipSpacemail by Spaceship
Watch

xarzu

Established Member
Impact
0
msiexec is a command prompt software that installs an msi program.

But I have found that you can install an msi file from the command line by just typing in the name of the msi file on the command line.

But in order to uninstall the msi file, it seems you have to call the msiexec program and give it an /x or /uninstall.

Does anyone know how I can uninstall and msi from the command line without using the msiexec routine?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Usually the Contextmenu of an MSI offers "uninstall" but I think you want to just double click on the MSI File to get it uninstalled. In this case usually a dialog will open which ask you to Modify, Repair or Remove the Product.

Dont know if you can use the condition "Installed" in Sequence to get this remove action automatic.

Also, Like your compiled .msi file, Setup.exe can accept a number of command-line parameters. Update.exe (available only for MSI projects) accepts nearly all of the same command-line parameters. Using these parameters, end users can specify such data as the language that the installation should run in and whether to launch Setup.exe silently. End users can also pass parameters through Setup.exe to the included .msi file.

Please try this
/x : Uninstall mode (Basic MSI and InstallScript MSI projects)
The /x option causes Setup.exe to uninstall a previously installed product


Thank You
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back