Hi, I'm in the process of creating an installer that integrates with an automated build process. There are a number of XML files which need to be included but these contain references to the install location. An XML file may contain "C:\Program Files\OurApp\run.exe" and I am looking for a way to get this to point to "run.exe" in whatever APPDIR is chosen at install time. Since the build process is automated, new XML files may be added and importing each of these before opening AI and manually editting the XML to use "[APPDIR]run.exe" can take a while (~10 cases per file with upwards of 20 files atm).
So far I have identified 2 approaches to my goal (neither of which I know enough about AI to actually do), but there may well be other ways to do so. I'm just looking for any way that works, really.
1. Edit all of the XML files beforehand to replace "C:\Program Files\OurApp\" with some string that will get interpreted as the variable [APPDIR] on import
2. Import XML files and use an "EditXML" command from the command line to change all of these instances to [APPDIR] (Not really sure if this is even supported)
Any advice would be greatly appreciated. If any part of my situation is unclear, I will gladly provide more information.
Thanks!
FOLLOW US
Get the latest news in Application Packaging