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
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 20, 2010
01:29 AM
uninstall error
scenario:
1. Create an uninstall shortcut in the project assistant interface.
In project assistant-> application shortcuts-> more options.
you can find "create an uninstall shortcut". Use this to create the uninstall shortcut.
This shortcut is a command line [SystemFolder]msiexec.exe /x {product code}.
2.Install the product.
3. click the uninstall shortcut. It works. The program files and the shortcuts in the desktop are all removed.
4. But there's an entry in the Add/Remove software in the Control Panel
And I find there's a folder the C:\Program Files\InstallShield Installation Information. The folder's name is the product cdoe.
Obviously, the "msiexec.exe /x" command didn't remove these files and the entry.
5. Then I tried to click the entry in the Add/Remove software in the Control Panel. But it failed and report an error.
Why?
Why the the "msiexec.exe /x" command didn't remove these files and the entry?
1. Create an uninstall shortcut in the project assistant interface.
In project assistant-> application shortcuts-> more options.
you can find "create an uninstall shortcut". Use this to create the uninstall shortcut.
This shortcut is a command line [SystemFolder]msiexec.exe /x {product code}.
2.Install the product.
3. click the uninstall shortcut. It works. The program files and the shortcuts in the desktop are all removed.
4. But there's an entry in the Add/Remove software in the Control Panel
And I find there's a folder the C:\Program Files\InstallShield Installation Information. The folder's name is the product cdoe.
Obviously, the "msiexec.exe /x" command didn't remove these files and the entry.
5. Then I tried to click the entry in the Add/Remove software in the Control Panel. But it failed and report an error.
Why?
Why the the "msiexec.exe /x" command didn't remove these files and the entry?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 21, 2010
01:16 AM
Is your project Installscript MSI type?
If so, for uninstallation use the command which will be displayed for "UninstallString" under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\, after your product installation.
Or if you want to use msiexec itself, you will have to delete the following entry from registry, so that your product gets removed from Add\Remove list.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\InstallShield_
rgds,
anitha
If so, for uninstallation use the command which will be displayed for "UninstallString" under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
Or if you want to use msiexec itself, you will have to delete the following entry from registry, so that your product gets removed from Add\Remove list.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\InstallShield_
rgds,
anitha
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 21, 2010
05:38 AM
Create a shortcut using Project Assistant-> Application Shortcut tab
In leftPane -> More Options -> Click "Create an Uninstallation Shortcut",
Hope it will work for u..
In leftPane -> More Options -> Click "Create an Uninstallation Shortcut",
Hope it will work for u..
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 26, 2010
03:09 AM
palanisamy wrote:
Create a shortcut using Project Assistant-> Application Shortcut tab
In leftPane -> More Options -> Click "Create an Uninstallation Shortcut",
Hope it will work for u..
I used this shortcut.
I created a shortcut by the way you showed me.
But it does not work.
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 26, 2010
03:17 AM
Problem resolved.
1. I found in the registry
HKLM\SOFTWARE\WOW6432NODE\MICROSOFT\WINDOWS\CURRENTVERSION\UNINSTALL\{PRODUCT‘s GUID}
there's a key : uninstallstring
2.the key's value is :
"c:\program files\InstallShield Installation Information\{1234B59E-as4f-46A6-B858-E303D0FF1234}\setup.exe" -runfromtemp -l0x0804 -removeonly
3. Obviously this is the command line to uninstall this software.
4. I create a uninstall shortcut to excute this command.
the shortcut's target: [ProgramFilesFolder]InstallShield Installation Information\{1234B59E-5BB1-as4f-B858-E303D0FF1234}\setup.exe
arguments:-runfromtemp -l0x0804 -removeonly
It works
1. I found in the registry
HKLM\SOFTWARE\WOW6432NODE\MICROSOFT\WINDOWS\CURRENTVERSION\UNINSTALL\{PRODUCT‘s GUID}
there's a key : uninstallstring
2.the key's value is :
"c:\program files\InstallShield Installation Information\{1234B59E-as4f-46A6-B858-E303D0FF1234}\setup.exe" -runfromtemp -l0x0804 -removeonly
3. Obviously this is the command line to uninstall this software.
4. I create a uninstall shortcut to excute this command.
the shortcut's target: [ProgramFilesFolder]InstallShield Installation Information\{1234B59E-5BB1-as4f-B858-E303D0FF1234}\setup.exe
arguments:-runfromtemp -l0x0804 -removeonly
It works