Hi,
I have a scenario where I have defined a variable suppose ABC. by default it has no value.
on the basis of the value of the variable, I have to control the checkboxes from the dialog box.
this is the code:
Set Variable INSTALLSIMTRANSWEB to
if Variable INSTALLSIMTRANSWEB Equals TRUE
Set Variable SIMTRANSWEBcb to TRUE
end
I have added the rules when SIMTRANSWEBcb is checked then another checkbox should be visible
after build I am running exe through the command line (no silent):
shopfloor.exe INSTALLSIMTRANSWEB=TRUE.
AM I DOING SOMETHING WRONG?
i want the checkbox should be visible when the INSTALLSIMTRANSWEB has value TRUE.
Change compiler variable value on installation through commandline
-
- Posts: 16
- Joined: Thu Sep 05, 2019 6:42 am
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Change compiler variable value on installation through commandline
This has nothing to do with Compiler Variables.
You only need to define a custom script variable for your purposes.
Example:
- at the very beginning of your main setup script, declare your variable and assign it to itself.
Then run your package as you are already doing:
> shopfloor.exe INSTALLSIMTRANSWEB=TRUE
That's it!
You only need to define a custom script variable for your purposes.
Example:
- at the very beginning of your main setup script, declare your variable and assign it to itself.
Code: Select all
Set Variable INSTALLSIMTRANSWEB to $INSTALLSIMTRANSWEB$
if Variable INSTALLSIMTRANSWEB Equals TRUE
Comment: ...Do something!
end
Then run your package as you are already doing:
> shopfloor.exe INSTALLSIMTRANSWEB=TRUE
That's it!
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
- Posts: 16
- Joined: Thu Sep 05, 2019 6:42 am
Re: Change compiler variable value on installation through commandline
Thank You, I got it working!!!!!!!!!
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Change compiler variable value on installation through commandline
Happy you solved.
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 33 guests