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
- :
- GUI to select features for uninstall
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
‎Feb 04, 2008
03:17 AM
GUI to select features for uninstall
Hi everyone,
i need some help concerning uninstallation. My project is a basic msi, on the start menu i have created a shortcut wich calls "msiexec.exe /x {productcode}" i.e the shortcut uninstalls the product. It prompts a Yes/no-GUI "are you sure you want uninstall...". Waht i need: After calling the shortcut for uninstall, the ms installer prompts me a GUI listing all my product feature and gives me the choise to select features to be uninstalled.
I read on this forum about the property REMOVE. On the direct editor there are a table named ControlEvent wich contains the dialog ReadyToRemove and the event Remove, i tried set Argument to "", to some features but this dosen´t work.
Any help would be greatly apreciated
i need some help concerning uninstallation. My project is a basic msi, on the start menu i have created a shortcut wich calls "msiexec.exe /x {productcode}" i.e the shortcut uninstalls the product. It prompts a Yes/no-GUI "are you sure you want uninstall...". Waht i need: After calling the shortcut for uninstall, the ms installer prompts me a GUI listing all my product feature and gives me the choise to select features to be uninstalled.
I read on this forum about the property REMOVE. On the direct editor there are a table named ControlEvent wich contains the dialog ReadyToRemove and the event Remove, i tried set Argument to "", to some features but this dosen´t work.
Any help would be greatly apreciated
(17) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 04, 2008
03:37 PM
Any help !
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 04, 2008
04:02 PM
Could you instead launch the normal maintenance mode for uninstalling features by changing the shortcut command to:
msiexec.exe /i [ProductCode]
...?
msiexec.exe /i [ProductCode]
...?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 05, 2008
03:13 AM
Good idea ! Thanks Robert, it works
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 26, 2008
10:43 AM
Hi Robert! Hi All!
can you please help me by resolving the following problem:
you sugged me a solution using the command: msiexec.exe /i [ProductCode]
When i select within the maintenance view 1 or 2 features for uninstalling it works fine. But the next time when i call the shortcut I dont´t get the maintenance view, insteat of that i get a progress bar wich itself dosen´t unintall the product but it tries to install it newly. Maybe after uninstalling some features the ProduchtCode has been changed. Is this right? If yes, how can i prevent changing ProductCode ?
Many thanks in advandce
can you please help me by resolving the following problem:
you sugged me a solution using the command: msiexec.exe /i [ProductCode]
When i select within the maintenance view 1 or 2 features for uninstalling it works fine. But the next time when i call the shortcut I dont´t get the maintenance view, insteat of that i get a progress bar wich itself dosen´t unintall the product but it tries to install it newly. Maybe after uninstalling some features the ProduchtCode has been changed. Is this right? If yes, how can i prevent changing ProductCode ?
Many thanks in advandce
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 28, 2008
05:05 AM
Any help please !
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 28, 2008
09:28 AM
Has somone any idea?
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 28, 2008
11:44 AM
Uninstalling removes the product from the machine, so that would be expected. msiexec /i launches the installation normally, so it will either go in to a fresh install if the product has been removed or maintenance if it has not been removed.
Maintenance mode doesn't normally do anything to your ProductCode.
Maintenance mode doesn't normally do anything to your ProductCode.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 31, 2008
03:48 AM
Thanks bryanwolf,
but why even if the product not yet removed, msiexec /i [ProductCode], dosen´t call the maintenance mode?
but why even if the product not yet removed, msiexec /i [ProductCode], dosen´t call the maintenance mode?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 01, 2008
02:20 PM
Is this a really hard topic also for macrovision employees?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 01, 2008
02:30 PM
As Bryan says, maintenance mode should certainly not modify your product code value; perhaps change the msiexec command to include /L+*v C:\everything.log to generate log information whenever you launch the shortcut?
Alternatively, after a partial uninstall, what happens if you double-click the original MSI file again? That's equivalent to running msiexec /i {prod-uct-code}...
Alternatively, after a partial uninstall, what happens if you double-click the original MSI file again? That's equivalent to running msiexec /i {prod-uct-code}...
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 03, 2008
10:41 AM
That log has almost no information in it. Can you try capturing a full log until the installation exits?
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 04, 2008
12:16 PM
chbiki wrote:
i hope you can get some information
That log is not a partial uninstallation. It's a complete uninstall because the entire installation completed and the SetupCompleteSuccess indicated a user abort somehow.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 07, 2008
04:07 AM
thanks bryanwolf !
this a log for a partial uninstallation...
this a log for a partial uninstallation...
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 07, 2008
08:43 AM
chbiki wrote:
sorry, the log file hasen´t be attached.
That's nearly the same log. That's not a partial uninstallation because the uninstall completed. If you look at the log you'll see that the action "InstallFinalize" completes and thus you're past any possibility of a rollback. Therefore, while the uninstall may have failed at the last possible second, the fact remains that it was in fact a complete uninstallation of your product.
The behavior you're seeing where clicking on the MSI again enters a fresh installation is correct.