Installing Windows Services as simple User

Got a problem you cannot solve? Try here.
devdept
Posts: 29
Joined: Thu Feb 24, 2005 12:00 pm

Installing Windows Services as simple User

Postby devdept » Fri May 06, 2005 4:38 am

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,

Alberto Bencivenni
devDept Development Team Leader
Structural Optimization | Finite Element Method | Computer Graphics

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Fri May 06, 2005 5:02 am

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.

devdept
Posts: 29
Joined: Thu Feb 24, 2005 12:00 pm

Postby devdept » Fri May 06, 2005 5:21 am

Thanks, where can I find this option inside IA? Maybe inside the InstallService function?

Thanks again,

Alberto Bencivenni
devDept Development Team Leader
Structural Optimization | Finite Element Method | Computer Graphics

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Fri May 06, 2005 11:47 am

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!

devdept
Posts: 29
Joined: Thu Feb 24, 2005 12:00 pm

Postby devdept » Mon May 09, 2005 10:56 am

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!

Alberto Bencivenni
devDept Development Team Leader
Structural Optimization | Finite Element Method | Computer Graphics

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Tue May 10, 2005 1:39 pm

Yes, you can do this using the Get System Settings command with the Administrator Rights parameter.

devdept
Posts: 29
Joined: Thu Feb 24, 2005 12:00 pm

Postby devdept » Wed May 11, 2005 1:29 am

Thanks a lot, I love your way to support customers!! :lol:

Alberto Bencivenni
devDept Development Team Leader
Structural Optimization | Finite Element Method | Computer Graphics

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Wed May 11, 2005 3:17 pm

You're very welcome! Please spread the word about InstallAware :)


Return to “Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 37 guests