Repair option from Control Panel doesn't respect UAC config - 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!

mabs
Posts: 27
Joined: Tue May 08, 2012 10:04 am

Repair option from Control Panel doesn't respect UAC config

Hi, people.

My project has established the "run as administrator" option. On the final phase of the installation process, It executes two exe programs as custom actions which does certains actios which can require administrator permissions.

When I install, the system ask for the appropiate elevation of permissions, and these programs runs ok.

But when I repairs from Control Panel, these 2 programs give me errors because they are not executed with the required elevation.

As I cannot modify these programs to include permission requirements, then the elevation should be previous to the execution of these programs.

Can you tell me what can I do?

Thansk a lot.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Repair option from Control Panel doesn't respect UAC con

Hello,

You can try to set those custom actions with "Deferred, with no impersonation". This way they will be executed with elevated privileges under the System account.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mabs
Posts: 27
Joined: Tue May 08, 2012 10:04 am

Re: Repair option from Control Panel doesn't respect UAC con

Ok, thanks.

I tried that option and it resembles it runs Ok.

Thanks a lot.

Return to “Common Problems”