This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Uninstall Error - valid product not installed
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 23, 2007
11:53 AM
Uninstall Error - valid product not installed
I have basic MSI project for IS 2008. The software installs fine but when I test the shortcut in the start menu, I get this Windows Installer error:
"This action is only valid for products that are currently installed."
The uninstall works fine through the control panel.
Does the 'Key Name' in the uninstall shortcut properties matter? Does that need to match the name of the IS project?
Any info is appreciated and thanks.
"This action is only valid for products that are currently installed."
The uninstall works fine through the control panel.
Does the 'Key Name' in the uninstall shortcut properties matter? Does that need to match the name of the IS project?
Any info is appreciated and thanks.
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 23, 2007
12:27 PM
The key name in the Shortcut shouldn't matter; what are your shortcut properties (target and command line)?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 23, 2007
12:38 PM
In the Properties of the uninstall shortcut, the Target is:
C:\WINDOWS\system32\msiexec.exe /x {B573887E-1383-4F09-8B0E-F80DF79CD17E}
Sorry, I don't see a Command box or area.
C:\WINDOWS\system32\msiexec.exe /x {B573887E-1383-4F09-8B0E-F80DF79CD17E}
Sorry, I don't see a Command box or area.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 23, 2007
12:44 PM
The general format looks correct; could it be that the ProductCode in that command line is wrong? Does it work if you manually run that command line in a command prompt window? What are the shortcut properties in your project (in the Shortcuts view)?
(As an aside, some versions of the Windows logo requirements indicate not to create an uninstall shortcut, but instead direct users to the Add or Remove Programs panel...)
(As an aside, some versions of the Windows logo requirements indicate not to create an uninstall shortcut, but instead direct users to the Add or Remove Programs panel...)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 23, 2007
12:51 PM
Should that code match the Product Code that is in the Product Properties under General Information and Installation Information?
When I run that same command, I get the same error.
In Shortcuts view,
Advertised No
Target [SystemFolder]msiexec.exe
Component IS_ININSTALL_SHORTCUT
I had this working in version X but I didn't migrate this over but just started over fresh.
When I run that same command, I get the same error.
In Shortcuts view,
Advertised No
Target [SystemFolder]msiexec.exe
Component IS_ININSTALL_SHORTCUT
I had this working in version X but I didn't migrate this over but just started over fresh.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 23, 2007
01:04 PM
Yes, the product code in the shortcut should match the code in the General Information view; that's how msiexec.exe knows what to remove.
Here's a trick that might help: set your shortcut to run [SystemFolder]msiexec.exe, as you are doing, and set the command-line arguments to:
/x [ProductCode]
That special formatted expression should automatically get the codes to match up.
Here's a trick that might help: set your shortcut to run [SystemFolder]msiexec.exe, as you are doing, and set the command-line arguments to:
/x [ProductCode]
That special formatted expression should automatically get the codes to match up.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 23, 2007
02:06 PM
Great, thanks so much. How did that get changed anyways?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 23, 2007
02:15 PM
Worked fine, thanks for the help Robert.