View forum topicList of forum topics
Subject: Multi Software Build but how different source folders ?
I created a "multi installation build" and I'm working with variables so that I don't need to change created setup file names etc. But can you tell me how can I add different source folders and desktop shortcuts for EACH software.
How I tried to solve it:
I added a source code step with the following code:
uint Software1 = 0
uint Software2 = 0
uint Software3 = 0
if "$appname$" == "Software 1"
Software1 = 1
if "$appname$" == "Software 2"
Software2 = 1
if "$appname$" == "Software 3"
Software3 = 1
Then in the Dialog Installation Processing I tried to check $SoftwareEasyInvoice$ for true/false (1/0) but it's not working.
Can you give me a hint please ? I would appreciate it. Thank you.
Use Set Variables command
If Condition: "$appname$" == "Easy Invoice"
If Condition: "$appname$" == "VAT Validator"
If Condition: "$appname$" == "Printer Admin"
Now you can use these variables in other commands.
How to specify different Installation Files.
Define some global variable in Preprocessor - Multi Build and assign it to corresponding source files
Setup[default]: c:\Easy Invoice\*.*
Setup: c:\VAT Validator\*.*
Setup: c:\Printer Admin\*.*
Now, insert one Installation Files command with
Source Files as $srcpath$
Some useful links
$varname$ is a global variablewhich you specify in Multi Build
but all other are local variables with #varname# as a value.
Thank you for your help !
Earlier I used another program and yours is much more powerful - love it. Great software.
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.