Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

how to install my basic msi in a limited user


6 replies to this topic

haroldxious

haroldxious
  • Full Members
  • 70 posts

Posted 26 January 2007 - 09:39

on my work station (win xp) i have an admin acoount and a limited user account.
as an admin, i can install and uninstall the basic msi package that ive made.

i logout then login as a limited user, i cant install and uninstall my package.

is there a way that i can install the basic msi package that ive made using a limited user account?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 26 January 2007 - 17:45

Have the administrator advertise the package. Or allow the limited user to install elevated (setting the AlwaysInstallElevated policy for both the user and the machine).

haroldxious

haroldxious
  • Full Members
  • 70 posts

Posted 29 January 2007 - 01:20

so..can i set the "allow limited user to install elevated (setting the AlwaysInstallElevated policy for both the user and the machine)." in the installer itself?

or will i set it in the registry?

is there any way that i will make an installer that can be installed in a limited user account?

im using an installshield 12.

Can i use this property in the general information product properties?

Install Condition
Condition = Privileged Message = "not installed"

Edited by haroldxious, 29 January 2007 - 03:41.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 30 January 2007 - 09:49

QUOTE
can i set the "allow limited user to install elevated (setting the AlwaysInstallElevated policy for both the user and the machine)." in the installer itself?
No, that would defeat the purpose of this security measure.

QUOTE
or will i set it in the registry?
Either using Group Policy Editor or directly in registry.

QUOTE
is there any way that i will make an installer that can be installed in a limited user account?
Yes but it's not easy. Make sure you install the files where the user has write access, i.e. in his user profile folder. Don't write to HKEY_LOCAL_MACHINE in registry but only to HKEY_CURRENT_USER.

See also a related article in Robert Flaming's blog: UAC in MSI Notes: Should I write my installer as a Standard User install? If yes, how?

QUOTE
Can i use this property in the general information product properties?
This would prevent instalaltion if the user is not privileged (i.e. a restricted user and the packages hasn't been advertised nor has the user been elevated)

haroldxious

haroldxious
  • Full Members
  • 70 posts

Posted 31 January 2007 - 01:58

hello stefan..thanx for ur answer..its now clear to me..

but is there any documentation about this issue? coz i need a proof on all this?


haroldxious

haroldxious
  • Full Members
  • 70 posts

Posted 31 January 2007 - 12:30

hope you could help me...im having a hard time searching for documentations about the issue that you can ONLY install basic msi in a limited user account through group policy...

hope you could help me guys...

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 31 January 2007 - 16:55

Are you looking for something like this:

Installing a Package with Elevated Privileges for a Non-Admin