Last post Nov 16, 2008 04:04 AM by Sons Per
Nov 07, 2008 12:04 PM|Sons Per|LINK
By default the Setup project creates a virtual directory under Default website when run through command prompt.
Please can some one help me to create a new web site instead of virtual directory. I have created custom actions but not able to create a website.
Also, please let me know if there is any way to make changes to envet viewer and can we enable MS DTC from setup project code.
Any help in this matter is highly appreciated
Thanks in anticipation.
"Web Deployment Project"
Web Deployment 2008
webb setup project
Nov 11, 2008 03:45 AM|Thomas Sun – MSFT|LINK
Web Setup project installs the website into default virtual directory such as "C:\Inetpub\wwwroot". If we want to install the website to another location, we can create Custom Action to create virtual directory that is specified by "TARGETDIR" of
Web Setup project. In order to provide user with dialog where user can input target directory, we can use Orca.exe. For more information, see
We also can write event to System Event Log. For more information, see
To start Windows Services from Custom Action, we can use ServiceController class (http://msdn.microsoft.com/en-us/library/system.serviceprocess.servicecontroller.aspx).
I look forward to hearing from you.
Nov 16, 2008 04:04 AM|Sons Per|LINK
Hi Thomas, Thanks for reply.
I had a query is it must to use orca.exe?
Can we not create web site and change the physical path without that?
What I could do in last few days is I have created app pool, web site , I make changes to the web.config and I can grant the permission to the eventlog's Network user.
For doing all this I have not used orca.exe
I wanted to know one more thing , by default setup projects creates a virtual directory, can I not write something that will stop it from creating the default virtual directory?
Please reply asap