Install asp.net website with msiexec TARGETSITE property

C

cit42

Hallo,

I created an MSI with VS2005 "web setup project".

And I want to specify the IIS6-destination-website (i don't know if
this term is correct), where my website should be installed, by
calling msiexec with the Property TARGETSITE.

e.g. msiexec /i myweb.msi TARGETSITE=/LM/W3SVC/4711

Question:
How can I get programmatically the IIS6-destination-Websites on the
machine?

Background:
I need to know this, because my (selfwritten)setup has a form where
the user can fill in some configuration-info for the website config
file. This setupform, should contain a combobox similar to the
"installation address" dialog of the msi, created wirh "web setup
project".


Greetings for your assistence.
Gordian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top