Compiler variable in a dialog

Got a problem you cannot solve? Try here.
Nicke
Posts: 5
Joined: Mon Jan 23, 2006 10:08 am

Compiler variable in a dialog

Postby Nicke » Wed Jan 25, 2006 5:55 am

Hello,

In the license agreement dialog I want to put a compiler variable in a label caption like, "Licensee: #LICENSEE#"

I build the project in the command line with miabuild.exe and put LICENSEE=aCompany in the end of the string but the caption is not replaced with "aCompany". While compiling I can see that miabuild.exe has recognize the parameter so that's not the case.

Should it be possible to do this? If not, is it anohter way to send a parameter to fill a label caption with information?

Thanks in advance.
/Niclas

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Wed Jan 25, 2006 8:10 am

Hi Niclas

Compiler variables are substituted in the script and project options dialog only. If you want your dialogs to also substitute, in your script first assign a variable to the compiler variable value, and then use that variable in the dialogs.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

Nicke
Posts: 5
Joined: Mon Jan 23, 2006 10:08 am

Postby Nicke » Wed Jan 25, 2006 10:07 am

Hi,

It worked very good :lol:

Thank you!


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 186 guests