Hi,
Yes, you can, but it involves some changes to the AIP file and the creation of an administrative install package.
The directory structure created by Advanced Installer has changed since the 3.4 version. That is why the content of the Application Folder is placed inside the APPDIR folder.
If you want to put the files next to the MSI package, follow these steps:
1. Open the AIP file with a text editor and locate the following line:
Code: Select all
<ROW Directory="APPDIR" Directory_Parent="TARGETDIR" DefaultDir="APPDIR" IsPseudoRoot="1"/>
and change it to:
Code: Select all
<ROW Directory="APPDIR" Directory_Parent="TARGETDIR" DefaultDir="APPDIR:." IsPseudoRoot="1"/>
2. After performing the above modification, open the project in Advanced Installer and from the Media page select the "Archive installation files into CAB files" option and Build the project.
3. Run an administrative install of the package using the command:
Code: Select all
msiexec /a MyPackage.msi TARGETDIR="c:\MyPackageImage" /qn
The "/qn" command line switch performs a silent install (nu UI at all).
4. Burn the contents of the "c:\MyPackageImage" folder to a CD.
For more information about the Administrative Install please visit:
http://msdn.microsoft.com/library/defau ... lation.asp
Please let me know if you encounter any problems.
Regards,
Denis
FOLLOW US