Page 1 of 1
Installing Windows Services as simple User
Posted: Fri May 06, 2005 4:38 am
by devdept
Hello,
My wonderful install project works perfectly, now. The only problem is that - if you are not the machine Administrator - it fails to install the windows service.
Can you please give me some directions? I read on this forum that MSI can install windows services despite the user privileges. Is this true?
Thanks,
Posted: Fri May 06, 2005 5:02 am
by sinan
Windows Installer indeed can install without administrator rights. For this, the "always install elevated" system setting must be turned on in the group policy administrator, I believe. Once this setting is enabled, all MSI installs will run as if they had admin access to the system, even if they do not.
Posted: Fri May 06, 2005 5:21 am
by devdept
Thanks, where can I find this option inside IA? Maybe inside the InstallService function?
Thanks again,
Posted: Fri May 06, 2005 11:47 am
by sinan
This is not an IA setting. Its a system setting that is set by administrators to allow/deny users without admin rights to install Windows Installer setups on their systems.
To set this setting:
Start->Run->gpedit.msc
Computer Configuration->Administrative Templates->Windows Components->Windows Installer
Double click Always install with elevated privileges and enable it
That's it!
Posted: Mon May 09, 2005 10:56 am
by devdept
Ok, Thanks.
The last question. Is there a way with IA to detect user privileges and take some action if they are not as need? For example, invite to skip the installation of the windows service.
Thanks so much!
Posted: Tue May 10, 2005 1:39 pm
by sinan
Yes, you can do this using the Get System Settings command with the Administrator Rights parameter.
Posted: Wed May 11, 2005 1:29 am
by devdept
Thanks a lot, I love your way to support customers!!

Posted: Wed May 11, 2005 3:17 pm
by sinan
You're very welcome! Please spread the word about Install
Aware 