Wanderson_Venki
Posts: 1
Joined: Fri Dec 06, 2013 3:45 pm

Best practice to select anonymous x Windows auth

Our installer has a check box control to activate user identification and we need this feature:

1) checked: we have to disable anonymous web access and enable Windows authentication
2) unchecked: we have do enable anonymous web access and disable Windows authentication

What is the best and easiest way to do it?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Best practice to select anonymous x Windows auth

Hi and welcome to Advanced Installer forums,

Here's what you can try:
  • Create two web sites in IIS page one set with configuration 1) and the other with configuration 2) (Authentication view)
  • Set a condition for each from the Web Site Settings view as follows:
    1) YOUR_CHECKBOX_PROPERTY
    2) NOT YOUR_CHECKBOX_PROPERTY
This way when the checkbox is checked web site 1) will be installed and when it's not web site 2) will be installed.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”