Results 1 to 3 of 3

Thread: Conditionally support for administrator rights requirement

  1. #1

    Default Conditionally support for administrator rights requirement

    Is it possible to conditionally support the administrator rights requirement in
    a script? I only require it if the user is installing a demo setup type which
    includes MSDE.

    Greg Fasolt
    G. Fasolt and Associates

    www: GFasolt.com S.M.

  2. #2

    Default Re: Conditionally support for administrator rights requirement

    Greg,

    Yes, you can use the %PRIVILEGES% variable. If it holds "Admin" then you
    have administrator privileges.

    You can do something like the following:

    If %PRIVILEGES% Not Equals "Admin" Then
    Display Message Box "Administrator privileges required"
    Exit Installation
    End

    Does this help?

    Friedrich

    --
    Friedrich Linder
    CEO, Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    "point. click. ship" - that's SetupBuilder 5

  3. #3

    Default Re: Conditionally support for administrator rights requirement

    Excellent! Thanks Friedrich.

    Greg Fasolt
    G. Fasolt and Associates

    www: GFasolt.com S.M.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SB51 Developer Edition and IIS Support
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 9
    Last Post: 11-08-2005, 10:06 AM
  2. "Expired" SB5 Maintenance and Support Plan
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 4
    Last Post: 09-13-2005, 04:13 AM
  3. "Expired" SB5 Maintenance and Support Plan
    By linder in forum Lindersoft Announcements
    Replies: 0
    Last Post: 09-13-2005, 12:31 AM
  4. Update "Patch" support
    By Unregistered in forum SetupBuilder
    Replies: 1
    Last Post: 07-13-2005, 01:31 AM
  5. Support files not being deleted
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 4
    Last Post: 05-10-2005, 10:32 AM

Posting Permissions

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