Determine web setup folder and hide a Dialog

D

Dennieku

Hi,

I've have 2 questions about the Web Setup project in VS.Net 2003.
1. How can i determine, from an Installer class, in which folder the Website
has been installed (at the Commit phase)
2. I want to add 2 extra Dialogs to the User Interface. The 1st one with
checkboxes and the 2nd one with textboxes. When the user checks the 1st
checkbox, the Dialog with the textboxes must be shown, but when the user
unchecks this checkbox this Dialog must be ignored. How can I do this?

Thx,
Dennieku
 
G

Guest

Hi Dennieku,

Reg. first question, For an web Alpplication you can chose any folder where
your code resides(dll, aspx, aspx.cs,css,...) as virtual folder for your
website.

Reg. second question, For Checkbox control enable postback to true and then
on Checkbox.click event change the visibility of textBox.visibile = false

Ananth Ramasamy Meenachi
 
D

Dennieku

Hi Ananth,

Thx for you reply, but I think I did not make myself quite clear. I'm
creating a setup of my Web application using the Web Setup project (Setup &
Deployment).
I hope you have answers to my questions now too!?!

Thx,
Dennieku


"Ananth Ramasamy Meenachi"
 
P

Phil Wilson

2. You can't. VS setups don't have support for that MSI feature.
1. The TARGETVDIR property is the name that the user typed in. I believe the
rest of it is IIS programming, enumerating web sites until you find that
particular one.
 

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

Top