powershell - How can I find the product GUID of an installed MSI setup? -
i need find product guid installed msi file in order perform maintenance such patching, uninstall , auditing purposes.
fire powershell (hold down windows key, tap r, release windows key, type in "powershell" , press ok) , run following command list of installed msi package product codes along local cache package path , product name (maximize powershell window avoid truncated names):
get-wmiobject win32_product | format-table identifyingnumber, name, localpackage -autosize
the output should similar this:
if want upgradecode or other properties, can open installation msi product location specified "localpackage". in "property table" upgradecode.
to open files, use orca or packaging tool. here discussion of different tools (any of them do): what installation product use? installshield, wix, wise, advanced installer, etc
you can output in list form (instead of table):
get-wmiobject -class win32_product
in case output similar this:
- here more comprehensive article on issue of msi uninstall: uninstalling msi file command line without using msiexec
- here similar article a few further options retrieving msi information using registry or cached msi: find guid msi file?
similar topics (for reference , easy access):
- how find upgrade code & productcode of installed application in win 7
- how can find upgrade code installed application in c#?
- wix: how uninstall installed application installed using different installer
- wix - doing major upgrade on multi instance install
- how find out products installed - newer product installed msi windows (using vbscript)
- how uninstall msiexec using product id guid without .msi file present
- find guid of msi package
Comments
Post a Comment