jack_uf
12th November 2008 07:54 UTC
Vista: lowest user level as possible
I would like to have a setup that every user can install the software. Our setup does only copy files. But if the user would like to copy the files to c:\program files so it need admin permission. But he would like to copy the files for example to the memory stick he do not need admin permission. How can I do this?
I know the following plug-in: UAC plug-in
My concrete problem is: How can I know that the user can copy the files with his permission in the folder.
Thanks for help
Jack_uf
{_trueparuex^}
12th November 2008 10:59 UTC
AccessControl plug-in should do the trick.
http://nsis.sourceforge.net/AccessControl_plug-in
PaR
jack_uf
12th November 2008 12:04 UTC
Originally posted by {_trueparuex^}
AccessControl plug-in should do the trick.
http://nsis.sourceforge.net/AccessControl_plug-in
PaR
Hello
Thank you for your answer.
I studied the AccessControl plug-in. But I can not see any function to get the permission. I see only functions to change it.
jack_uf
Red Wine
12th November 2008 12:13 UTC
This is really useful
http://nsis.sourceforge.net/Docs/MultiUser/Readme.html
jack_uf
12th November 2008 13:23 UTC
Originally posted by Red Wine
This is really useful
http://nsis.sourceforge.net/Docs/MultiUser/Readme.html
Hello Red Wine
Thank you for your answer
My problem is: I would like only so many permission that I need. If the user install the app at c:\program files it needs admin permission. If he installs the app for example at c:\temp he does not need admin permission. I would not create two setup.exe, one for admin and one for users.
Is there a solution?
Thanks for help.
jack_uf
BuilderBob
12th November 2008 15:02 UTC
You can use the UAC plugin. It will allow you to initially run the installer with low user permissions, and then if chosen folder needs admin permissions, run the rest of the process with admin permissions.
jack_uf
13th November 2008 07:43 UTC
Originally posted by BuilderBob
You can use the UAC plugin. It will allow you to initially run the installer with low user permissions, and then if chosen folder needs admin permissions, run the rest of the process with admin permissions.
Hello
Thank you for your answer.
My question is: How I now, that I need admin permission?
jack_uf
jack_uf
13th November 2008 10:19 UTC
Hello all
Now I tried the following:
After the user select a folder for installation, I try to create a directory in this folder. If I get an error, I change the user permission to admin (UAC plugin).
The new problem is now. After I get in the password, my setup start again.
Has no one the same requirements to the setup?
jack_uf