I have written a custom updater application that wraps Windows Installer using the AI EXE with all installer files packaged in the EXE. (I need a custom updater because I have a client / server application - so I have to pull down my server portion to the server, update that, then publish the client portion for workstations to pull down and update themselves).
Everything works fine but now I need to expand the functionality to support new prerequisites in our application. In compiling the AIP project, I can see the ini file that's created for the bootstrapper EXE and, indeed, if i choose to leave the files outside the EXE I can also see the ini file. However, if I choose to package all the files inside the EXE, when I call /extract on the resulting bootstrapper exe, the ini file is not extracted as I would expect. I need some way to access this file so that I can read prerequisite information out of the installer.
I have 2 questions-
1- Would it be possible to add the extraction of the boostrapper ini file (containing the relevant prerequisite information) to the list of files extracted with the /extract command?
2- In lieu of this, can you point me to an API or a standard that you are using to pack the files in the EXE so that I can read them myself? I thought it might be something like http://msdn.microsoft.com/en-us/library ... 85%29.aspx (Compound files) but it does not appear you are using this storage type. Are you using another public API for packing the EXE?
Thanks in advance!
FOLLOW US
Get the latest news in Application Packaging