jtroyan
Posts: 20
Joined: Mon Oct 19, 2009 9:41 pm

Running regserver on EXE with UAC active

When custom action scripts are called on Windows 2008, and UAC is active, the directives typically fail because the call is not using an admin activated window, outside the MSI. Is there a way around this, I haven't found? I have tried several things, but none seem to get around the issue. Is there a way from the COM+ components to do a myexe.exe /regserver that is still using the MSI?

Thanks,

james
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Running regserver on EXE with UAC active

Hi James,

Set your custom action scripts as with "No Impersonation". This will force them to run under the local SYSTEM account, thus having enough privileges to achieve their goals.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
jtroyan
Posts: 20
Joined: Mon Oct 19, 2009 9:41 pm

Re: Running regserver on EXE with UAC active

Excellent, I'll give that a go. Thanks.

Return to “Common Problems”