Community Forums
Page 1 of 2 12 LastLast
Results 1 to 5 of 6

Thread: How to use Privileged property in Installshield - Suite Installer

  1. #1
    Join Date
    May 2011
    Posts
    71

    Exclamation How to use Privileged property in Installshield - Suite Installer

    Hello Guys,

    Can somebody provide a code snippet where it shows how to use "Privileged" property. What value needs to be checked and all?

    Currently i am using SuiteGetProperty("Privileged", szAdmin);
    Its returning me " "

    I dont know how to use this property but i know that this is the property i need to use.

    Please help.

    thanks

  2. #2
    Join Date
    Dec 2001
    Location
    Bellheim, Rheinland-Pfalz, Germany
    Posts
    108
    With SuiteGetProperty you can retrieve "suite properties".

    But the "Privileged"-Property I know is a Windows Installer property.

    We have to know from where you want to retrieve that value.

    i.e. if you are inside an MSI you can just use the property.

    regards

    Markus

  3. #3
    Join Date
    May 2011
    Posts
    71
    Quote Originally Posted by MarkusLatz View Post
    With SuiteGetProperty you can retrieve "suite properties".

    But the "Privileged"-Property I know is a Windows Installer property.

    We have to know from where you want to retrieve that value.

    i.e. if you are inside an MSI you can just use the property.

    regards

    Markus
    Thanks markus, I want to use this property in Suite installer. Can I do this? Or any alternative is there?

  4. #4
    Join Date
    Dec 2001
    Location
    Bellheim, Rheinland-Pfalz, Germany
    Posts
    108
    Privileged is like AdminUser so you could also create an InstallScript action and call: Is(USER_ADMINISTRATOR,"") and set the result to a suite property.

  5. #5
    Join Date
    May 2011
    Posts
    71
    Quote Originally Posted by MarkusLatz View Post
    Privileged is like AdminUser so you could also create an InstallScript action and call: Is(USER_ADMINISTRATOR,"") and set the result to a suite property.
    Is(USER_ADMINISTRATOR,"") anyways i am using but its not full proof, as i found and also read in lot of forums that its not capable of finding full admin privileges as compared to Privileged property. Privileged property is the ultimate property for knowing that you have all the privileges or not.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •