Hi All,
I have a number of custom actions using 'launch file or open url' which run functions in a vbscript. I also have the same under InstallFinalize inside the InstallExecuteSequence section.
The vbs file is added in the 'files and folders' section in the temp directory as a Temporary file.
My problem is that when I start the installer I get an error saying the file could not be read. On looking at the location I can see the temporary directory hasn't been created yet with the vbs file inside it.
I have then changed the file to be output into the appdir as a permanent file but I get the same error. If I copy the file into the location then start the install all is ok.
What I need in an ideal world is to be able to have the vbs file be a temporary file but to be in place before Advanced Installer attempts to read it, I'm guessing as the installer starts it reads through the custom actions and looks for the vbs file.
Any help would be great. Thanks