Hi,
Since I am new to Advanced Installer, and I would just like to run this by someone to make sure it is a good way of doing it, or see if there's a better way to do it. We bought the Professional level license.
My goal is to have just one Installation script to maintain. Here's my first go at it.
1. I added the Application folder as "Synchronized" on the Files and Folders page.
2. On the Organization Page, I have set up 3 different Features: Client, Server, and Database. Depending on how our users are setup up and what software they purchase, each PC/Server can have 1-3 of these Features installed. I have already moved the respective Components into each Feature as appropriate.
3. Next, I added a Property on the Install Parameters page called "InstallType". It looks like I can conditionally install the Features based on the value of this Property. (i.e. InstallType="Complete", install ALL Features, InstallType="Database", install just the Database Feature)
4. Since I can't Edit Dialogs in the Professional version of AI and set the Property there (which would be ideal), I'm thinking I can set the "InstallType" Property by using the "EXE Bootstrapper" on the Media page and pass the value I'd like on the Command Line with the [PROPERTY=PropertyValue] option. This would give me a "Setup.exe" which would run the "generic" .MSI and set that Property when it runs, correct?
5. Then I could build different "types" of "Setup.exe"'s which set the "InstallType" Property for the .MSI accordingly.
-- OR --
I could use the SAME "Setup.exe" if I used an INI file for the "Setup.exe" and simply set the "InstallProperty" value in the INI file, and thus be able to do any of our installations simply by changing the INI file for the "Setup.exe"...
I hope this is clear enough. I am certainly open to suggestions on a better way of doing this as well.
Thanks in advance!
Mike