Details of the Get System Settings please

Got a problem you cannot solve? Try here.
matthewj
Posts: 66
Joined: Tue Dec 07, 2004 12:48 pm

Details of the Get System Settings please

Postby matthewj » Mon Mar 14, 2005 5:30 am

Hi,

Could you add more details of the Get System Settings script command to the help please? It seems to be more complicated than "true or false" now, and could perhaps do with a table to explain the responses. In particular, the "Logged on User Privilige Level" is unlikely to be true or false, but experimentation probably isn't too useful or fast.

Many thanks,

Matthew

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

Postby sinan » Mon Mar 14, 2005 11:41 am

You are correct! We forgot to update this function while revising the documentation.

The possible return values for your indicated parameter are:

Code: Select all

ADMIN
POWER
USER
GUEST
ERROR


Please let me know if any of the other parameters are unclear. I apologize for the inconvenience.

matthewj
Posts: 66
Joined: Tue Dec 07, 2004 12:48 pm

Postby matthewj » Mon Mar 14, 2005 11:59 am

Many thanks.

Matthew

matthewj
Posts: 66
Joined: Tue Dec 07, 2004 12:48 pm

Postby matthewj » Fri Nov 18, 2005 9:17 am

Long time since I asked about this, but I've now had two Swiss users having problems with my code. Could you divulge the secret of how you are determining whether someone is a power user or not? The users all say they are local administrators, but it is possible they are domain administrators. In any case, I don't let them install and other apps aren't a problem to them.

I'm wondering if it is some issue with key user groups or GUIDs that you are checking for that might be different on foreign systems.

Thanks, Matthew

My code is as follows:

Code: Select all

~InstallAWARE Clipboard Data~
~End~
~{6D66938F-180C-4877-BB1F-B9E226097836}~
~Terminate Install~
~{8C77C01D-FCCC-4FB3-9933-E847A3CFFD45}~
~MessageBox~
~{8ABCDAA2-9239-4C58-8CAC-7B421A95ED10}~
~$TITLE$ Setup Error~
~This product requires Power User or Administrator Priviledges (current rights are $CHECKUSER$).$NEWLINE$$NEWLINE$Please right-click on the setup executable to use the "Run As" option (in Windows 2000 hold Shift to see the option).$NEWLINE$$NEWLINE$Setup cannot continue.~
~3~
~1~
~~
~If~
~{FE5A704A-8524-4007-A7B3-010AEA53379C}~
~BX_SHOW_ADMIN~
~0~
~1~
~FALSE~
~End~
~{475141D2-F535-43FE-A280-0556FFB891BF}~
~End~
~{BE5C02A9-5FF6-485B-B06B-04056D9EE88C}~
~Set Variable~
~{B601B9C4-902B-43CA-9C28-1CFA70023B74}~
~BX_ALLOW_ALL_USERS~
~TRUE~
~If~
~{534951B8-0E46-4EDB-9E41-3B70DF895188}~
~ISNT~
~0~
~TRUE~
~FALSE~
~Else~
~{24F953F7-C937-49F4-BE7D-D6F4B0DD4833}~
~End~
~{915951C7-33CF-4CA6-851C-47F861258A57}~
~Set Variable~
~{5D4EA44C-7269-4857-B200-BC5EFB60042E}~
~BX_SHOW_ADMIN~
~0~
~If~
~{D63BCE68-E547-45CF-8F9B-4391C1F97B63}~
~CHECKUSER~
~0~
~POWER~
~FALSE~
~MessageBox~
~{C52C7BFC-8C2D-49EA-AF3B-9658FC38EB8A}~
~$TITLE$ Setup Error~
~User power = $CHECKSYSTEM$~
~0~
~1~
~~
~Get System Settings~
~{EF5995E5-8F21-49FB-805B-04F314123ABA}~
~CHECKUSER~
~63~
~Set Variable~
~{1CFD4BF0-7DC8-4D76-949F-2E622D9B07F5}~
~BX_SHOW_ADMIN~
~1~
~If~
~{5BCF4703-2D78-4557-A9F7-8ED049DE6B5F}~
~CHECKSYSTEM~
~0~
~TRUE~
~TRUE~
~Get System Settings~
~{841BA2A3-DB15-4899-A87F-02332B9CB2D5}~
~CHECKSYSTEM~
~0~
~Set Variable~
~{471F8BFE-889A-4961-8DE9-3528F88BC4A1}~
~CHECKUSER~
~Unknown~
~Set Variable~
~{07584F40-D32B-4283-BF7B-43E549EAA040}~
~BX_SHOW_ADMIN~
~0~

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

Postby sinan » Fri Nov 18, 2005 10:03 am

What version of InstallAware are you running? Some builds earlier than sp1.passion_update2_rtm.050927 had problems detecting domain admins when they were members of very large domains.

matthewj
Posts: 66
Joined: Tue Dec 07, 2004 12:48 pm

Postby matthewj » Fri Nov 18, 2005 11:43 am

Ahah - that may be relevant. I did the original build with an older version I think. The latest one I've done using a, err, newer one :wink: so it may be that the problem will just go away.

I'll refresh the main site with the latest one and see if it recurrs.

Matthew


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 106 guests