carlosqueiroz / dicompyler

Automatically exported from code.google.com/p/dicompyler
0 stars 0 forks source link

Make installer run for non-admin users #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to run installer on a non-admin account
2. Installer prompts for admin credentials (Windows UAC)
3. Cannot proceed further

What is the expected output? What do you see instead?
If the installer genuinely doesn't need admin credentials, it should not ask 
for them. This can be achieved by adding the following line in the [Setup] 
section of the Innosetup installer script.

PrivilegesRequired=lowest

What version of the product are you using? On what operating system?
0.4a2, Windows 7, x64, Enterprise

Original issue reported on code.google.com by rajas.sa...@gmail.com on 15 Dec 2011 at 5:58

GoogleCodeExporter commented 9 years ago
Usually any application that installs into "Program Files" will need 
administrative access. However, some applications such as Chrome or Firefox 
will allow you to install into other user-writable folders (i.e. the user's 
Local Data folder).

I will look into this before the next build is released, as the installer would 
need to detect whether the user has the rights to install into "Program Files". 
Seems like this is described here: http://www.kinook.com/blog/?p=53

Original comment by bastula on 23 Dec 2011 at 3:13

GoogleCodeExporter commented 9 years ago
That is exactly the solution that would be ideal. 

Original comment by rajas.sa...@gmail.com on 23 Dec 2011 at 7:03

GoogleCodeExporter commented 9 years ago
This has been fixed in version 0.4.1.

Original comment by bastula on 1 Jan 2012 at 1:15