Alexander
Alexander

Reputation: 20224

Change IIS Authentication programmatically

Advanced Installer IIS application setup page has a subpage where I can select IIS Authentication mode before building the setup. I have selected Windows Authentication for now, which is then "hardcoded" into the setup file somehow.

But under certain circumstances only known at install time, a different authentication mode (Anonymous or Basic) should be set up.

How could I do so, during installation, programmatically?

Upvotes: 0

Views: 236

Answers (1)

Bogdan Mitrache
Bogdan Mitrache

Reputation: 10993

Have you tried this method?

The only way for now it seems to be by duplicating the website, but changing the authentication method, and setting an installation condition on both websites.

Upvotes: 1

Related Questions