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
- :
- New component not deploying file under minor 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
Jun 26, 2009
07:01 AM
New component not deploying file under minor upgrade
Hi,
We have our installer in field right now and we supplies minor upgrades time by time.
Now we got one requirement to deploy one file conditionally but at the same location where it was getting deployed previously. So, what we did is that
1. we just removed that file from a component let say Component A.
2. We added a new component B with one condition.
3. Add that new file statically with 'Always Overwrite' option in the B component.
Now when ever we run that upgrade, this file is not getting deployed.
Can anybody tell us why is it happening and what would be its solution?
We have our installer in field right now and we supplies minor upgrades time by time.
Now we got one requirement to deploy one file conditionally but at the same location where it was getting deployed previously. So, what we did is that
1. we just removed that file from a component let say Component A.
2. We added a new component B with one condition.
3. Add that new file statically with 'Always Overwrite' option in the B component.
Now when ever we run that upgrade, this file is not getting deployed.
Can anybody tell us why is it happening and what would be its solution?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 27, 2009
09:47 AM
This community forum is for InstallShield 2008 Express Edition. Are you using the Express edition? The Express edition doesn't have a Components view, but the Premier and Professional editions do. So, I'll assume that you're using Premier or Professional.
A minor upgrade cannot delete a component. (For more info, see Major Upgrade vs. Minor Upgrade vs. Small Update.) Only a major upgrade can delete a component.
The following InstallShield 2010 help topic provides background on how Windows Installer determines whether a component and its files are reinstalled.
Overwriting Files and Components on the Target System
So, for a minor upgrade, you may be able to simply update the file in the current component (without having to delete the old one and add a new one). It depends on whether the file is the key file of the component, whether it is a versioned file, etc.
I hope that helps.
A minor upgrade cannot delete a component. (For more info, see Major Upgrade vs. Minor Upgrade vs. Small Update.) Only a major upgrade can delete a component.
The following InstallShield 2010 help topic provides background on how Windows Installer determines whether a component and its files are reinstalled.
Overwriting Files and Components on the Target System
So, for a minor upgrade, you may be able to simply update the file in the current component (without having to delete the old one and add a new one). It depends on whether the file is the key file of the component, whether it is a versioned file, etc.
I hope that helps.