tags:

views:

462

answers:

4

I created installer via NSIS. "c:\program files\myapp" is default folder for my application.Included script to run myapp on startUp.I'm having windows 7 But it always fail to start on start-up of machine. How can I elevate the user privileges to call it on startup from Program files/myapp.exe. or Is any other alternative to achieve above goal.

A: 

You can't elevate at user login (How fun would it be for the user to get a UAC dialog each time?)

Anders
A: 

You could launch an elevated cmd prompt and then execute the exe from the cmd prompt

Jaimal Chohan
A: 

You'll need to embed a UAC manifest in your application

sascha
A: 

Issue got resolved. - tried User Access Pluggin.

Andy
Do you mean this one? http://nsis.sourceforge.net/UAC_plug-in
Stijn Sanders