Dynamic property system variable text file change
Created a msi where the text file changes based on an environment variable.
RFIDMAC = [%RFIDMAC]
Referenced Text File Change [RFIDMAC]
However, when created system variable RFIDMAC = 00-00-00-00-00-00
ran MSI, and the text file does not populated with 00-00-00-00-00-00 but rather with [%RFIDMAC]
This thread has been automatically locked due to inactivity.
To continue the discussion, please start a new thread.
You can get the environmental variable into a MSI Property with a simple Installscript Custom action.
// To Do: Declare local variables.
// To Do: Write script that will be executed when MyFunction is called.
Schedule the CustomAction early in the UI Sequence. Even first action should work.
Then you can use [TESTENV] in the Replace With section of the Text File Changes->Change.