- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: InstallShield 2015 Limited Edition Always Overwrite
- 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
InstallShield 2015 Limited Edition Always Overwrite
Hi all. I am currently using InstallShield 2015 Limited Edition version. I am building two setups, for two different products respectively.
There are several files which are shared for both product installers. Some of the forums mentioned about the Always Overwrite option in file properties under Application Data, but I could not find that option in InstallShield 2015 LE.
How can I set the installer to always overwrite the files regardless of the file versions?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
The always overwrite feature increases the file version in the MSI table. This causes the windows installer to "think" that the file version is higher than it actually is - this doesn't alter the physical file in anyway.
You could add this functionality to your installer manually by using a MSI editor such as Orca to access and edit the MSI tables in your installer:
https://docs.microsoft.com/en-us/windows/desktop/msi/orca-exe
You will need to locate the File table, and then increase the Version column of the relevant file to a value of 65535.0.0.0
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Thanks for your comment @shunt . It works like a charm.
What if I would like to provide end customer only an exe file (SingleImage build option), is it possible to manually amend the msi file and merge all files (.ini, .cab, .inf, .msi) to produce the one Setup (.exe) file only?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Okay noted. Appreciate your help @shunt 😄