Hello all,
I have a custom action vbscript that's purpose is to update a configuration xml file I will be installing with a parameter from the UI. The challenge is (for me anyway) that this custom action is part of a merge module. The problem I have is that I am not sure when (as in which standard action) I need to add my custom action to such that the new files have been copied to the computer (my script depends on the file being in its installed location to read it and update it) but yet still have access to a GLOBAL property that defines it.
To be clear (I hope):
In my main installer, I accept via an Edit Box a value from the user, with which on the Published Event for the 'Next' button, I set the property [APP_PARM.GUID] with the value from the user. When logging, I can confirm that the value I expect is being updated.
In my merge module, in my vbscript, I confirm (for testing of course) with a MsgBox that I have the expected value from the UI for the parm, and then attempt to load the xml configuration file that should have been copied to the computer.
So, if I execute the custom action in any of the standard actions I have attempted with Immediate Execution, the file does not seem to be available.
What can I do?