cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Kjetil
Level 3

Setting IIS virtual dir property depending on feature selection

Hi
I'm building a simple MSI file setup where I need to enable/disable anonymous authentication in a virtual directory depending on which feature is installed. The virtual directory does not exist from before.

I thought this would be possible by adding the IIS virtual dir in two features, one for each configuration setting, where only one would be installed, but that doesn't seem to be possible. Whenever I try to add the site twice I get the message: "The alias you have given, Server, is not unique"

Does anyone have any ideas on how I can solve this?
Labels (1)
0 Kudos
(3) Replies
Kjetil
Level 3

Hi
still noone that has any idea about this?
Everything seems to work if the web site I install to is set to .Net 2.0 before the installation, but that is rarely the case with our customers, and in many cases it can not be done either due to customer demands.
0 Kudos
JesseBearden
Level 5

I'm more or less having the same issue. Ever get it resolved?

Jesse
0 Kudos
Kjetil
Level 3

No, I just got the workaround as I mentioned in the previous post
0 Kudos