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
- :
- Multiple Features, same file name but different file
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
Jan 16, 2011
11:11 PM
Multiple Features, same file name but different file
Hi All,
I was hoping someone could point me in the right direction. I am creating an InstallShield 2010 that is primarily file based. I have a single file (SETTINGS.INI) that is held within [AppDataFolder]\AppName for each user.
I have two features:
1) Base Installation (Mandatory) - version 1 of the settings.ini
2) An additional feature (Optional) - version 2 of settings.ini
The per-user settings.ini is a mandatory file. I would like to place a different copy of the settings.ini file depending on whether the optional feature (shown above) is selected or not. InstallShield will not let me include two versions of the same file in the project.
I have looked at, but unfortunately I cannot make use of, the "INI File Changes" feature in InstallShield 2010 due to the fact the INI file does not make use of [SECTIONS] and adding sections will cause the application to throw errors.
Any help would be great.
Thanks,
I was hoping someone could point me in the right direction. I am creating an InstallShield 2010 that is primarily file based. I have a single file (SETTINGS.INI) that is held within [AppDataFolder]\AppName for each user.
I have two features:
1) Base Installation (Mandatory) - version 1 of the settings.ini
2) An additional feature (Optional) - version 2 of settings.ini
The per-user settings.ini is a mandatory file. I would like to place a different copy of the settings.ini file depending on whether the optional feature (shown above) is selected or not. InstallShield will not let me include two versions of the same file in the project.
I have looked at, but unfortunately I cannot make use of, the "INI File Changes" feature in InstallShield 2010 due to the fact the INI file does not make use of [SECTIONS] and adding sections will cause the application to throw errors.
Any help would be great.
Thanks,
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 20, 2011
11:01 AM
How are you adding the files?
I added 2 features and added a component to each of those with the same setting.ini file with no problems.
I added 2 features and added a component to each of those with the same setting.ini file with no problems.