Using Common Files directory - 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!

BobM
Posts: 11
Joined: Tue Aug 22, 2006 9:05 am

Using Common Files directory

Hi,
When I install one of my applications dlls that is required to be shared into the C:\Program Files\Common Files\MyApplication directory, my application, which is installed into the C:\Program Files\MyApplication directory will not run because if fails to load the dll.

What is the correct way to include the Common Files\MyApplication directory in the path so the dll can be loaded?

TIA
Bob
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

My suggestion is to store the path where your application dlls resides in the registry. For more details please see the last paragraph from this link:
http://www.codeguru.com/Cpp/W-P/dll/article.php/c99

You can create those registry values in the "Registry" page of Advanced Installer.

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
BobM
Posts: 11
Joined: Tue Aug 22, 2006 9:05 am

Thanks, that worked :)

Return to “Common Problems”