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
- :
- Can I create a simple install with no uninstall option?
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
‎Jun 14, 2011
02:50 PM
Can I create a simple install with no uninstall option?
I am trying to create an installation package that does nothing but drop a few files on the target machine. All I want it to do after I run it is:
1) Look for the Shared Documents folder
2) Ask the user if they want to install the files in that folder or change it
3) Install the files, copying over any that may already be there.
If I run the file again, I do NOT want to be prompted about modifying, repairing, or removing. I also do NOT want the user to be asked if it is OK to do an upgrade. I just want it to run again.
I've played with Installshield and written some script, and I've managed to get it part of the way there, but I can't see any way to get Installshield to skip the Uninstall option.
1) Look for the Shared Documents folder
2) Ask the user if they want to install the files in that folder or change it
3) Install the files, copying over any that may already be there.
If I run the file again, I do NOT want to be prompted about modifying, repairing, or removing. I also do NOT want the user to be asked if it is OK to do an upgrade. I just want it to run again.
I've played with Installshield and written some script, and I've managed to get it part of the way there, but I can't see any way to get Installshield to skip the Uninstall option.
(2) Replies
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 14, 2011
07:50 PM
Project type?
For InstallScript project, you can delete the following code in the OnMoveData event handler:
// Write uninstall information.
MaintenanceStart();
For Basic MSI project, you can delete custom action RegisterProduct and PublishProduct in the Execute Sequence.
Hope that helps.
Kevin Wan
For InstallScript project, you can delete the following code in the OnMoveData event handler:
// Write uninstall information.
MaintenanceStart();
For Basic MSI project, you can delete custom action RegisterProduct and PublishProduct in the Execute Sequence.
Hope that helps.
Kevin Wan
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 15, 2011
11:33 AM
For an InstallShield Script go to Installation Information\General Information then on the right side pane locate Maintenence Experience. Set this value to: "No Uninstall or Maintenence"
Then, when you run this nothing will show up in Add/Remove.
Then, when you run this nothing will show up in Add/Remove.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)