10/27/2019 Msiexec Uninstall Silently
Uninstalling MSI Files with Powershell and WMI. With MSI files, this is often less trivial than at first it appears. Typically you have two options if you're going to script this on the command line: either you uninstall the MSI by ProductCode, or you uninstall it by pointing to the previous MSI file and running msiexec /x. So far, all well and good.
Active5 years, 2 months ago
Open a command prompt and run the silent installer by specifying the /p parameter to the Msiexec command. To generate a log file, specify the /l option. For example: Msiexec /p ppm 10.1 updatebuild23456win.msp /qn. How to uninstall Autodesk Products silently using Batch Scripts. Is there a way to uninstall Autodesk Products remotely.
Jarfix, free and safe download. Jarfix latest version: Jarfix - Free lightweight.jar association program. Jarfix is a free tool that helps recapture.jar association with the Java Runtime Environment. Jarfix download free.
I am trying to use the msi uninstaller to uninstall inventor 2011 but doing it silently causes explorer to close and not restart. I have a VB script from Autodesk that will work however it is not silent even after modifying it appropriately. I would like to get a silent uninstall that will not close explorer and wait for the reboot. How can I do this?
Below is the VBScript from AutoDesk.
user188552user188552
1 Answer
This script seems total overkill for uninstalling an application. For a simple uninstall (without the rather dubious looking cleanup script entries above), you simply uninstall from the command line with msiexec.exe (mock up GUID used below):
Or you can uninstall via a number of other uninstall mechanism (this link will also show you how to find the correct GUID to use for uninstall). If explorer.exe is closed at the end you can just start it again via the same batch file?
Community♦
Stein ÅsmulStein Åsmul
2,23622 gold badges2020 silver badges3434 bronze badges
Not the answer you're looking for? Browse other questions tagged vbscriptmsiuninstallwindows-explorersilent or ask your own question.
Active5 days ago
I need to uninstall a MSI package through command line.So i used:
msiexec /x package.msi
But this command requires the package.msi to be present in the local machine.
I want to uninstall the msi even if the msi file is missing.
How can I do that?
kinokijuf
6,89888 gold badges4545 silver badges8989 bronze badges
SandeepSandeep
25022 gold badges55 silver badges1414 bronze badges
migrated from stackoverflow.comJun 6 '11 at 13:23
This question came from our site for professional and enthusiast programmers.
2 Answers
You can uninstall it using the product code:
You would obtain this code from the MSI itself, or whatever tool you are using to build the MSI.
Note that when you uninstall a product, it uses a cached MSI, since only the original MSI knows how to uninstall itself. When you use the product code, it uses the cached MSI from C:WINDOWSInstaller.
vcsjonesvcsjones
2,35811 gold badge1313 silver badges2020 bronze badges
See my answer on stackoverflow.com for various ways to uninstall MSI files / Windows Installer Packages from your computer.
You can uninstall via: msiexec, ARP, WMI, PowerShell, Deployment Systems such as SCCM, VBScript / COM Automation, DTF, or via hidden Windows cache folders, and a few other options.
Community♦
Stein Åsmul
Msiexec Silent Uninstall Without PromptStein Åsmul
89411 gold badge1212 silver badges2323 bronze badges
Msiexec Uninstall QuietNot the answer you're looking for? Browse other questions tagged command-lineinstallationwindows-installer or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |