Search code examples
asp.netsetup-project

How to add option that User to select a location to install in .Net Setup Project while installing setup?


I have added Setup Project in my web Application for the user to host my project in their Machine in IIS...

While installing my setup it default installed in C: Drive, not able to change the drive location while installing...

How to Achieve this?

I need user to select the drive location where to install the setup while installing..

Using Visual Studio 2010.

Problem: Actually My Setup will Host my application in the IIS after installing it. during installation while clicking on 'Disk Cost' button,not able to choose the drives shown in the window, it taking default C drive...

Note: 'Default Location' property also not in the File System -> Web Application Folder Property Window.

Thanks in Advance, Stephen.L


Solution

  • IIS - Creation of your own new Application Pool & Web Site and Configure that with Physical path of your own (Other than C Drive) - Select the Newly created Application Pool while installing your Web Setup then it will install in path you mentioned while creating your website in IIS. Note: Give Different Port while creating New Web Site.

    enter image description here