Hi,
I am trying to create an installer for my web application. So I added a
web setup project to my solution (I am using VS.NET 2003). Been playing
around with it since then and it basically works.
Now, I am wondering if there is any way to change the directory that
the installer installs the files to. I want to be able to put my files
in a specified directory (user specified is good, but i don't mind
hardcoding the path either) and point my virtual directory to it.
Is there any way to do this. Right now the files are just being stored
in c:\...\inetput\ wwwroot\Project FileName directory. I opened up the
File system editor and looked at the properties for the WebApplication
Folder. One of the properties is called property TARGETDIR. I assume
this is the property i need to change?
[color=blue]
>From what I gathered on the web and newsgroups, this property can be[/color]
accessed "programaticall y". Is this correct? Can anyone tell me me how
to access and set this property. As I said, Ideally I would like to
give the user the option of specifying the physical directory, but i
don't mind hardcoding that during design time either.
I am trying to create an installer for my web application. So I added a
web setup project to my solution (I am using VS.NET 2003). Been playing
around with it since then and it basically works.
Now, I am wondering if there is any way to change the directory that
the installer installs the files to. I want to be able to put my files
in a specified directory (user specified is good, but i don't mind
hardcoding the path either) and point my virtual directory to it.
Is there any way to do this. Right now the files are just being stored
in c:\...\inetput\ wwwroot\Project FileName directory. I opened up the
File system editor and looked at the properties for the WebApplication
Folder. One of the properties is called property TARGETDIR. I assume
this is the property i need to change?
[color=blue]
>From what I gathered on the web and newsgroups, this property can be[/color]
accessed "programaticall y". Is this correct? Can anyone tell me me how
to access and set this property. As I said, Ideally I would like to
give the user the option of specifying the physical directory, but i
don't mind hardcoding that during design time either.
Comment