View forum topic
List of forum topicsSubject: multi project building
I'm try to create a multibuild project to make two version of my installer. One of this version is a lite version, without extra exe dependency. I'm trying to use 'Installation Files' command with if condition to refer a variable defined in the Multi Build vars. But I don't understand how to do it.
Now, for example, you can use variables from Multi Builder in 'If Condition' to skip some commands.
If you specified 'myvar' as 0 for [Setup 2] then the command is skipped if you defined its 'If Condition' as $myvar$.
But 'Installation Files' command compresses files in any case. These files are not unpacked if 'Installation Files' is skipped but these files are packed into your setup.
We suggest you to specify different Source Files in Installation Files for different setups of Multi Build.
For example,
Setup 1
Variable: mysource
Value: c:\fullversion\*.*
Setup 2
Variable: mysource
Value: c:\lightversion\*.*
Then use one Installation Files with Source Files as $mysource$. In this case, your setup 1 will be contains c:\fullversion\*.* and your setup 2 will be contains c:\lightversion\*.*.
If I have a lot of version with different dependecies, I must move my application logic in the organization of my folders and duplicate my dependencies exe for the number of versions that required it to run.
Can be useful to have command that run at 'compression time'. Can be an option on "if condition" command to perform the task at 'compression time'
Thanks a lot for answer!
Use different Installation Files for unique files of every version. Include all common files in common Installation Files command.
We will think about If Condition for Multi Builder ( Compression Time ). I have added this feature into the to-do list.
I do that. But to build a version without dependecies, my workaround is to assign a fake path to dependeciespath varaible.
On compression time when the GUI say me that the file not exits i go next. Maybe is useful in "Installation Files" command to permit to skipe error for file not found.
PS. my case is that my app require dotNet Framework and Flash Player installed on pc. Full version have the installers included in my exe, lite version don't have it.
May be we will add a feature to skip error at the nearest time.
Now specify mysource for Light version empty instead of c:\lightversion\*.*.
Setup 2
Variable: mysource
Value:
January 16, 2025 Installer CreateInstall 8.11.1 was released.
June 19, 2024 Installer CreateInstall 8.11.0 was released. read more
November 13, 2022 Installer CreateInstall 8.10.1 was released.
May 21, 2022 Installer CreateInstall 8.10.0 was released.
September 25, 2021 Installer CreateInstall 8.9.0 was released.
July 15, 2021 Installer CreateInstall 8.8.1 was released.