harmn1
Posts: 17
Joined: Wed May 13, 2009 4:49 pm

Compatibility Mode

HI

My install package includes a custom action which installs the LibUSB filter driver. This is a single executable file launched using the viewer.exe method. To install correctly on Vista, this needs to be executed in Windows XP SP2 compatibiltiy mode. Is there any way to set the compatibility mode for individual files in AI?

Regards

Nick
harmn1
Posts: 17
Joined: Wed May 13, 2009 4:49 pm

Re: Compatibility Mode

Hi

I could use the Registry feature to set the AppCompat flags for the executable - does AI set registry keys before running Custom Actions or afterwards?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Compatibility Mode

Hi Nick,
Is there any way to set the compatibility mode for individual files in AI?
I'm afraid this is not supported by Windows Installer.
does AI set registry keys before running Custom Actions or afterwards?
Advanced Installer writes the registry keys during the "WriteRegistryValues" standard action from the Before Finalization group.
You can try to add your custom action after this standard action.

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

Return to “Common Problems”