View forum topicList of forum topics
Subject: 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.
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\*.*.
February 05, 2021 Installer CreateInstall 8.8.0 was released. read more
April 11, 2020 Installer CreateInstall 8.7.0 was released.
March 07, 2020 Installer CreateInstall 8.6.2 was released.
November 09, 2019 Installer CreateInstall 8.5.5 was released.
August 08, 2019 Installer CreateInstall 8.5.1 was released.
June 19, 2019 Installer CreateInstall 8.4.11 was released.