I'm using the ReplaceInFile vbs code that is circulated around this forum to put the install path into a configuration file our software needs to run. It's a simple insertion of the "C:\Program Files\Blah" for [InstallDir] within a single text file... fairly simple.
The issue seems to be that the .vbs does not run with elevated privileges so it cannot write to a file once it has been placed into the Program Files folder. Is there a way around this?
Alternatively, is there a way to have AI place the correct values into that file BEFORE it copies it into the Program Files folder?
FOLLOW US
Get the latest news in Application Packaging