markr002
Posts: 21
Joined: Mon Dec 20, 2010 5:38 pm

User Specific Files not working with GPO

Hello,

I'm using AI v8.8.1 (enterprise edition) to create an MSI package specifically for GPO distribution.

The installation package moves a file named "ClientInstall.ini" from SOURCEDIR to SETUPEXEDIR during the installation process. This is done following the instructions published here:

http://www.advancedinstaller.com/user-g ... -file.html

The "ClientInstall.ini" file copy process works exactly as expected if I run the MSI file interactively. However, it is NOT copied when I deploy the MSI file through Group Policy Editor (the application does get installed, but the "ClientInstall.ini" file is missing).

Any thoughts on why this might be happening, and how I can resolve the problem?

Thanks for your time and consideration.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: User Specific Files not working with GPO

Hi,

This happens because SOURCEDIR property is not set in time on a silent install. For this you can try using the property OriginalDatabase, but you will have to use a custom action to get its value, remove the MSI name for it and place it into another public property for you to use in Files and Folders page.
http://msdn.microsoft.com/en-us/library ... s.85).aspx

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”