cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nathan_sutton
Level 2

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,
Labels (1)
0 Kudos
(1) Reply
enanrum
Level 9

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.
0 Kudos