I ran a native MSI file on my machine. It does not put anything under the Add/Remove programs in Control Panel so I can't uninsall it. Also, I looked here: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData and I found the product code for this MSI yet when I run msiexec.exe /x {prodcode} it tells me this will only work for an applicaiton that is installed.

What gives?

I thougth all apps will put an entry under HLKM\Software\Microsoft\Windows\CurrentVersion\Uninstall yet I have seen MSI's "not" do this. Why?

Thanks for any help.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Check your event viewer... it should have some info in there.
Answered 09/19/2006 by: turbokitty
Sixth Degree Black Belt

Please log in to comment
0
No, there was nothing there either......
Answered 09/19/2006 by: mhsl808
Fifth Degree Brown Belt

Please log in to comment
0
Is there an entry for the installation?
Answered 09/19/2006 by: turbokitty
Sixth Degree Black Belt

Please log in to comment
0
Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall. Try and find ur application by clicking each on the product code. When found, copy the UninstallString (e.g MsiExec.exe /X{308CD612-FC41-4351-858A-ABDC1BA612F8})and paste it at the RUN menu. Then run from there.

Giz
Answered 09/19/2006 by: gizmolala
Third Degree Blue Belt

Please log in to comment
0
Have to tried just to double-click the msi again, you should be able to either modify, repair or uninstall.

Or you could use:
Add the code bellow to a vbscript file (ex. GetProductCode.vbs).
Drop the MSI on the script or put the MSI as the argument to it (ex. cscript GenProductCode.vbs Install.msi) and this will output the ProductCode that you then could use "msiexec /x {ProductCode}" for.
Const msiOpenDatabaseModeReadOnly = 0

Dim MsiPath : MsiPath = WScript.Arguments(0)
Dim Installer : Set Installer = CreateObject("WindowsInstaller.Installer")
Dim Database : Set Database = Installer.OpenDatabase(MsiPath, msiOpenDatabaseModeReadOnly)
Dim View : Set View = Database.OpenView("Select * From `Property` WHERE Property = 'ProductCode'")
View.Execute
Dim Record : Set Record = View.Fetch

WScript.Echo "ProductCode: " & Record.StringData(2)
Answered 09/19/2006 by: AngelD
Red Belt

Please log in to comment
0
Coo, I will give that a shot. Thanks!!
Answered 09/19/2006 by: mhsl808
Fifth Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity