Dredgewood
Posts: 10
Joined: Wed Sep 12, 2018 8:54 am

enable/disable control based on Admin

A really simple question (i hope) but I'm just not managing it.

I have a radio group control i want to enable if the installer was run through admin privileges or disable if not.

I@ve tried the condition Priviliged = 1 , action Enable on the button group but it doesn't seem to work

I think I@m missing something obvious - are there any examples of such dialogs out there?
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: enable/disable control based on Admin

Hello,

From what I can see, the name if the property you are using is wrong. Please note that the property is name "Privileged" not "Priviliged"

If that is still of no help, then please have a look on the following how-to forum thread:

InstallTypeDlg - Automatic selection accordingly with user's rights.

This is not exactly what you are looking for, but it will mostly cover what you want to achieve.

Hope this helps!

Also, please do not hesitate to write back to me if anything is unclear or if you have any questions.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dredgewood
Posts: 10
Joined: Wed Sep 12, 2018 8:54 am

Re: enable/disable control based on Admin

thanks I will look - that was just a typo from writing a post too quickly ;)
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: enable/disable control based on Admin

You are always welcome!

Hope that will be of help for you.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”