Tutorial :Using Visual Studio 08's Installer, how can I install a Web Application into a path that is NOT under C:\Inetpub?



Question:

I'm trying to alter our existing installer for a web application, so that the files are located not at C:\Inetpub\wwwroot\OurProduct but rather under C:\Program Files\OurCompany\OurProduct, so far with little success.

Any help/suggestions will be appreciated, thanks.


Solution:1

You need to change the physical path of the virtual directory content.


Solution:2

if you want to get the installation path from the user during setup, you could have a look at this project here: http://www.codeproject.com/KB/install/WebServieInstaller.aspx it explains how to get the local installation path from the user himself.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »