Install and register exe file - 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!

Juergen Bauer
Posts: 12
Joined: Wed Feb 24, 2010 9:33 am

Install and register exe file

Hello,
I use AdvancedInstaller to install my application and to register my own file extensions. As the registration process requires administrative priviles, I set the option "run only if user has administrative privileges".
The registration process is done by a Custom Action during the InstallExecuteSequence.
Unfortunately, the call of my application to register the file extensions is not done with administrative privileges. So they can not be created.
How can this be done?

Thanks in advance,
Jürgen Bauer

PS.: I use version 6.4.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Install and register exe file

Hello,

You can mark your custom action to run as "Deferred with no impersonation". This is done from under the "Execution options" group when selecting the custom action.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Juergen Bauer
Posts: 12
Joined: Wed Feb 24, 2010 9:33 am

Re: Install and register exe file

Hello, Gabriel,

thanks for the tip. This was the solution.

Bye,
Jürgen Bauer

Return to “Common Problems”