I've been having problems including an Oracle XE installation as a prerequisite like I see others have. It seems like Eric here http://www.advancedinstaller.com/forums ... 6870#p6870 found a solution by running the installation from at bat file. So I'm trying to do the same. It confused me at first that I could use a bat-file as prerequisite since AI does not list them when "All supported files" is selected in the file selection dialog. But apparently it works anyway.
Now, in Erics post it is evident that the bat file is executed with the "download folder" as working directory. So he can refer to the other resources for the prerequisite (Oracle XE installer and response file) knowing this. The big issue with the Oracle XE silent installation is that for some reason it is required that the response file argument is an absolute path and Eric achieves that by setting an environment variable to the current working directory (set OLDDIR=%CD%) and then prefix the response file name with that.
But when I do that, it fails because my current directory is the folder in which the installer (exe) is located. Not the "download folder" with the prerequisite ressources. I can handle this by wiring the environment to %APPDATA% and such but it would be so much nicer if I didn't have to - and if I understood why things are different for me.
Regards,
Jakob
FOLLOW US
Get the latest news in Application Packaging