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
- :
- Condition for a subinstall that allows for fresh install, repair and upgrade
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 07, 2009
01:50 PM
Condition for a subinstall that allows for fresh install, repair and upgrade
Currently, I am working on a InstallShield 2008 project that has one or more nested installs called from it. I am trying to develop an Install Exec Condition that lends itself for a fresh install, repair and upgrade. I made sure that each sub-install (nested MSI) has a new product/package code. It seems to not upgrade because of the condition to launch the nested MSI.
Currently I have: Not Installed OR (REINSTALL><"ALL" AND REMOVE<>"ALL"). This takes care of everything but upgrade.
Now I have researched creating patches and upgrades, but not sure how to go about it since the upgrade process revolves around these nested MSI's.
Any help is greatly appreciated.
Thanks in advance.
Matt
Currently I have: Not Installed OR (REINSTALL><"ALL" AND REMOVE<>"ALL"). This takes care of everything but upgrade.
Now I have researched creating patches and upgrades, but not sure how to go about it since the upgrade process revolves around these nested MSI's.
Any help is greatly appreciated.
Thanks in advance.
Matt
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 07, 2009
02:20 PM
MattQVI wrote:
Currently, I am working on a InstallShield 2008 project that has one or more nested installs called from it. I am trying to develop an Install Exec Condition that lends itself for a fresh install, repair and upgrade.
Currently I have: Not Installed OR (REINSTALL><"ALL" AND REMOVE<>"ALL"). This takes care of everything but upgrade.
Now I have researched creating patches and upgrades, but not sure how to go about it since the upgrade process revolves around these nested MSI's.
Any help is greatly appreciated.
Thanks in advance.
Matt
Matt,
if you are using MSI project then you probably get away with it without getting involved with "CONSTANT" condition. Here is what I would do..
1.I create a Radio button called Update.
2. associate a PROPERTY with it (obvious).
3. I would create a Feature/Component called UpdateApp (or whatevr) and store all update related files under this feature component.
4. component will have PROPERTY as its condition (e.g PROPERTY ="updated"), you can also specify any registry chage etc and associate it with this compoenent.
5. I will assign the value "update" to property once user selects update radio button.
6. rest of components should have PROPERTY != "update".
Now if user selects update then ONLY update to you application would be applied, however you may have to take care some of the "hidden" condition which depends on your application.
HTH
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)