Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Ho to get the virtual directory of Websetup project
 

Ho to get the virtual directory of Websetup project

I have set the virtual directory in the Files System of a WebSetup project. I want to write some code in the InstallAction to customize my WebSetup Project.
How can I get the virtual directory which I have set?

Willardryan  Saturday, September 12, 2009 10:04 AM

Hi,

The default virtual directory Web set up application is “c:\Inetpub\wwwroot� You can get the TARGETDIR property for virtual directory.

For more information, please refer to the following article:

Specify a different location for Virtual Directories in Web Setup Projects

http://www.codeproject.com/KB/install/ChangeVDirWebSetupProject.aspx

Best regards,

Ling Wang


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Friday, September 18, 2009 2:41 PM

Hi,

The default virtual directory Web set up application is “c:\Inetpub\wwwroot� You can get the TARGETDIR property for virtual directory.

For more information, please refer to the following article:

Specify a different location for Virtual Directories in Web Setup Projects

http://www.codeproject.com/KB/install/ChangeVDirWebSetupProject.aspx

Best regards,

Ling Wang


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Friday, September 18, 2009 2:41 PM

You can use google to search for other answers

Custom Search

More Threads

• making a setupfile
• Visual Studio 2005 Deployment Issues
• Change user scope settings during installation
• Deploying an application
• Update to .NET 3.0
• How to add my database to be includen on the setup?
• How can i take folder locations from registry or settings file and then specify these as installation paths?
• Install Certificate for WCF?
• How to include custom prerequisites in to my setup project
• .Net Framework x64 prerequisite ClickOnce