Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 10, 2012 12:29 AM by venu.dil
Jul 09, 2012 05:23 AM|LINK
I have created a web setup project and i need to create an installer for a website which installs the files outside of Default website location (C:\inetpub\wwwroot\WebSite).
I understood that this can be done by adding custom action to the msi. Can someone please give me code snippets of how to change the TARGETDIR in setup project?
I am using VS 2010.
Jul 09, 2012 05:00 PM|LINK
right click on the IIS top root folder and set the directory
Jul 10, 2012 12:29 AM|LINK
I am asking about changing the TARGETDIR in web setup project.
Below is ScottGu article about creating ASP.NET setup projects.
Scott in this article explained how to change the connection string in web setup project. The same way I want to change directory where the files will be installed. I know TARGETDIR will hold the directory (by default it is C:\inetpub\wwwroot\... ), but
how to update that? I tried various things and non did worked. I want to know a working example for this.