User Specific Files not working with GPO - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

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”