Hello,

In the prior versions of our software product we compiled single user, 5 user, 10 user, etc versions of the program. All have the same EXE name but are kept in different folders named SglUsr, Net5Usr, etc. We could set a flag in the old setup builder (INNO Setup 5.2 by Jordan Russell) to tell the setup compiler which executable to include in the batch.

In the new version of our program we are going to do that differently. The main executable (say MyProg.exe) will be the same for any number of users. However, there is going to be an encrypted file named ABCcfg01.dbf that will ship with the main executable. Regardless of the number of users (1,5,10, etc) there will always be a file named ABCcfg01.dbf. The difference is that the contents of ABCcfg01.dbf will be different depending on the number of users allowed. The contents of ABCcfg01.dbf will tell the main exe file whether it should allow one, five, ten or more users at the same time.

We will have folders named SGLuser, Net5Usr, etc and in each of these folders will be a copy of ABCcfg01.dbf containing the correct data values for the version being compiled by SB6. If I compile release SGLUsr, then the program should fetch ABCcfg01.dbf from the SGLusr folder. If I compile release Net5Usr, then SB6 should fetch ABCcfg01.dbf from the Net5Usr folder and so on.

I have tried to set this up using the "Release" feature of SB6, but there does not seem to be any way to pick which files go in the file list based on the release chosen at compile time.

The user does not get to choose how many simultaneous users are allowed, we choose that when we build the installer exe.

Is there a better wasy to do this or am I missing something?

-O. D. Williams-