Exe Files requires UAC to be turned off Win7 - 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!

gknierim
Posts: 42
Joined: Wed Jan 18, 2012 3:57 pm

Exe Files requires UAC to be turned off Win7

My installer installs an exe file. When I try to run it will UAC at the 3rd notch, the exe simply does not start. No prompt, no error. Nothing. If I turn UAC all the way off (bottom notch), then the exe runs fine.

Is there a way I can make this exe not require elevated privileges.

Thanks,
Greg
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Exe Files requires UAC to be turned off Win7

Hi Greg,
My installer installs an exe file. When I try to run it will UAC at the 3rd notch, the exe simply does not start.
If you set your package with "Require Administrator" then the UAC on that machine must be turned on. Do you have it turned off?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gknierim
Posts: 42
Joined: Wed Jan 18, 2012 3:57 pm

Re: Exe Files requires UAC to be turned off Win7

I don't see where that option is? Where is this set?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Exe Files requires UAC to be turned off Win7

Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gknierim
Posts: 42
Joined: Wed Jan 18, 2012 3:57 pm

Re: Exe Files requires UAC to be turned off Win7

I have the Run as Administrator checkbox unchecked and the Execution Level is on "As Invoker - Default".

So, if I set this all the way down to *No Execution Level Information", this will not care if UAC is turned on?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Exe Files requires UAC to be turned off Win7

Hello,
When I try to run it will UAC at the 3rd notch, the exe simply does not start. No prompt, no error. Nothing. If I turn UAC all the way off (bottom notch), then the exe runs fine.
By this sentence in your first post I see now you were referring to the settings on the target machine and not in your installer project.
Is there a way I can make this exe not require elevated privileges.
I am not sure what kind of application you are installing or what you are trying to accomplish by doing this. However, here's a related article that explains the role of UAC and of installation security standards on Vista or above. Please read it and let me know what is your exact case.
Also, in what locations on the target machine are you attempting to install? This should dictate the installation type which can be set from the Install Parameters page:
http://www.advancedinstaller.com/user-g ... eters.html

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gknierim
Posts: 42
Joined: Wed Jan 18, 2012 3:57 pm

Re: Exe Files requires UAC to be turned off Win7

The exe I am installing is a windows application. The installation works fine. However, when the user goes to execute the application, it simply does not start - no error, just never starts. The application is being installed in the Program Files folder. If I turn UAC all the way down, the application starts fine.

So, my problem appears to be that UAC is preventing the exe from running when UAC is turned up to the 3rd notch which is the default.

My goal is to require my application to NOT look at UAC. It just needs to run regardless of what setting UAC is at. I'm guessing this is something that can't be set through the installer? Again, this has nothing to do with the install process, just how the application is being run. I'm hoping that I can set some properties on that exe file to bypass UAC without the user explicitly turning off UAC on their machine as they may not have permissions to do so.

Thanks,
Greg
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Exe Files requires UAC to be turned off Win7

Hi Greg,
I'm guessing this is something that can't be set through the installer?
This is indeed correct. Please keep in mind that Advanced Installer can help you install your application on the target machine. The settings required for your application to function properly have to be included in the .AIP from Advanced Installer UI or CLI. The way your application runs and its functionality on the target machine completely depend on its development design, which should dictate the required install settings.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”