|
|
#1 |
|
Junior Member
Join Date: Mar 2010
Posts: 6
|
Avoiding UAC
On our corporate systems, you cannot run an install without elevating to admin status. The UAC dialog comes up every time.
However, not all installs require admin rights. For example, the "hello world" sample script does nothing except display a messagebox. If the install does not require admin rights, is there a way to get it to run without the UAC dialog appearing? Thanks |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Mar 2003
Posts: 569
|
If your installer does not need admin status make sure the script includes
See the NSIS User Manual for details: http://nsis.sourceforge.net/Docs/Chapter4.html#4.8.1.32code: If your script does NOT include a "RequestExecutionLevel" command then Windows will assume it requires admin status and display the UAC prompt. |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2010
Posts: 6
|
Thank you very much, that worked perfectly.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|