Hi,
I am currently evaluating InstallAware and so far it has been great.
Our product currently has 4 editions, each with a different License and ReadMe file. Is it possible to show the proper license or readme file based on a compiler variable value? I would like to avoid creating a new install project for each edition.
Multiple edition Licence/Readme files.
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
Yes, with a little runtime hack...add the 4 files to your setup as support files, using the form license1.txt, license2.txt, etc. And then before showing the dialog, use the Call DLL Function command to call MoveFileA in kernel32.dll, which returns a bool; the first parameter should be $SUPPORTDIR$\\license1.txt and the second parameter should be $SUPPORTDIR$\\license.txt (both of type pointer to strings).
Then, copy-paste this command for all 4 languages, and wrap each command around compiler variables, so only one executes based on the value of the compiler variable!
Then, copy-paste this command for all 4 languages, and wrap each command around compiler variables, so only one executes based on the value of the compiler variable!
Candice Jones
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: No registered users and 59 guests