Что я хотел бы сделать, это показать пользователю установщика список сайтов на своем сервере и позволить им выбрать один (используя описанный здесь метод: http://www.cmcrossroads.com/content/view/13160/120/, который теперь выглядит сломанным, см. здесь для основного кода). Затем установщик создаст виртуальный каталог на выбранном веб-сайте.
Однако мой поиск, похоже, показал, что единственный способ указать сайт в WiX - IP, Port и Header. Просить об этом не очень удобно, поэтому мне осталась идея написать второе пользовательское действие, чтобы получить эти данные от имени веб-сайта.
Есть ли лучший способ?
BTW Это должно работать как в IIS6, так и в IIS7, если это влияет на ответ.