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,
[size=92]
[b]Alberto Bencivenni[/b]
[b][url=http://www.devdept.com]devDept[/url][/b] Development Team Leader
[/size][size=75][color=#666666]Structural Optimization | Finite Element Method | Computer Graphics[/color][/size]
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.
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
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!
[size=92]
[b]Alberto Bencivenni[/b]
[b][url=http://www.devdept.com]devDept[/url][/b] Development Team Leader
[/size][size=75][color=#666666]Structural Optimization | Finite Element Method | Computer Graphics[/color][/size]