Tried putting in #VARIABLE# or $VARIABLE$ into the EULA text for example ... doesn't seem to get expanded.
Is there a way to insert compiler variable values into those two documents?
TIA
Variables In EULA and License
Variables In EULA and License
FireDaemon Technologies Limited
http://www.firedaemon.com
http://www.firedaemon.com
-
- Site Admin
- Posts: 364
- Joined: Mon Jul 30, 2007 11:51 am
- Location: USA
- Contact:
Here is something you can do:
1.- First of all, create your license.txt file (make sure it is a plain text file) with the variables you want in the form $Variable$.
2.- Add license.txt as a support file in your project.
3.- Edit the memo control in the "licensecheck" dialog in the following way:
"Receives Information:" <none>
"Writes Values to Variable:" TestVar
4.- In the MSI script, before the License Dialog is shown, include the following two lines:
I hope this was helpful
1.- First of all, create your license.txt file (make sure it is a plain text file) with the variables you want in the form $Variable$.
2.- Add license.txt as a support file in your project.
3.- Edit the memo control in the "licensecheck" dialog in the following way:
"Receives Information:" <none>
"Writes Values to Variable:" TestVar
4.- In the MSI script, before the License Dialog is shown, include the following two lines:
Code: Select all
Set Variable TestVar to
Read from Text File #READALL\\$SUPPORTDIR$\\license.txt into Variable TestVar
I hope this was helpful
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: Google [Bot] and 169 guests