We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Antarctica
Posts: 110
Joined: Tue Jul 08, 2014 9:24 am

Change IIS Authentication mode programmatically

In a dialog, I provide a checkbox to the user to choose his prefered way of IIS authentication: Anonymous or Windows Authentication.

As of now, the property of the checkbox is USEAUTH, and the value is "Windows" (or "" if the checkbox is unchecked).

In Server -> IIS -> Sites -> Default Web Site -> MyApp -> Authentication, I can select before installer compile whether I want the installer to enable Anonymous or Windows Authentication

But how would I do the selection at runtime, based on the dialog checkbox?

(The same goes for SSL settings - the user should select in our installer dialog whether SSL should be enforced or not.)
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Change IIS Authentication mode programmatically

Have you tried this method?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”