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 set Administrator privileges???


10 replies to this topic

donimoni

donimoni
  • Full Members
  • 13 posts

Posted 25 March 2008 - 12:12

Hi

i need that my setup will not work unless the user has
Administrator privileges

i have tried to set the features with these conditions:
Condition:AdminUser,Level:200
OR
Condition:AdminUser,Level:100

but the setup still workes...

i need some condition that will be project releted and not feature releted,
and one that actually works.

thank you


felltier-a

felltier-a
  • Awaiting Authorisation
  • 85 posts

Posted 26 March 2008 - 09:12

Hi,

have a look at the "LaunchCondition" table and the property "Privileged".

regards,
Udo

donimoni

donimoni
  • Full Members
  • 13 posts

Posted 26 March 2008 - 09:54

where do i find "LaunchCondition" table ?

felltier-a

felltier-a
  • Awaiting Authorisation
  • 85 posts

Posted 26 March 2008 - 10:04

For example by editing your MSI with "Orca"

Orca

donimoni

donimoni
  • Full Members
  • 13 posts

Posted 26 March 2008 - 14:53

isn't there a simple way from within the installshield 2008 premier
Installation designer?

felltier-a

felltier-a
  • Awaiting Authorisation
  • 85 posts

Posted 26 March 2008 - 15:52

I don´t have IS2008 but in previous versions the tables can be changed in "direct editor"

donimoni

donimoni
  • Full Members
  • 13 posts

Posted 26 March 2008 - 16:33

do you know what is the correct Condition syntax?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 01 April 2008 - 14:45

In InstallShield go to the Installation Designer tab > Instalaltion information > General information > Product Properties > Install Condition. Add a condition:
Privileged
with an appropriate error message. See attached screen shot.

Attached Images

  • launchpermissions.gif


donimoni

donimoni
  • Full Members
  • 13 posts

Posted 02 April 2008 - 08:06

"Privileged" is the condition i need to verify the loggedin user is Admin?

felltier-a

felltier-a
  • Awaiting Authorisation
  • 85 posts

Posted 02 April 2008 - 13:49

Privileged property
AdminUser property


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 02 April 2008 - 13:57

Privileged is what typically is used. It will be set if the user is admin or has the permission to install with elevated rights. AdminUser wouldn't cover the latter, and on Vista Windows Instaler lied about AdminUser in the UI sequence to make older setups play nicely with UAC.