Vista & Run as Administrator - 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!

yishai
Posts: 54
Joined: Wed Nov 23, 2005 11:54 pm

Vista & Run as Administrator

I use AI to build the installer for a Java app with the AI Java launcher. I install it on Vista, no problem.

When I try to run the installed file (or the updater.exe), either by clicking the exe or the start menu, I get an error message “Application can not start”. After some checking, I figured out it works if I right-click the exe and select the “Run as Administrator” menu.

Just to make it clear, I run under the administrator account.

So, what do I need to set in AI to allow the app to start by default as an administrator?

Thanks

-Yishai
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

In order to make the application start by default as an administrator, in the "Java Products" page you set for your product the "Execution Level" to Require Adminstrator.

You can read more about this here:
http://www.advancedinstaller.com/user-g ... a-uac.html

Regards,
cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”