I’m having 2 problems:

 

1. My web applications that I create don’t delete the virtual dirs/apps from
the Default Web Site section in IIS. The folders created are gone but you
can see the app in the IIS.

 

2. Also I’m when installing 2 applications I would like the 2nd to always be
the “Home Directory” of the default web site on the machine it gets
installed on. This works when the installation happens with 2 machines (1
application on each machine, both home directories). However when they are
both on the same machine the 1st one always defaults to the home directory.
How do I make it the 2nd be the home directory with out changing the install
order.

 

My install component looks like this (for both questions).

 

                    <Component Id='WebAppVirtualDirComponent'
Guid='a00d460e-6304-410E-A808-E3585379EADB'>

                        <CreateFolder />

                        <WebSite Id='DefaultWebSiteApp'
Directory="WebAppDir" Description='Default Web Site' 

                            AutoStart="yes" ConfigureIfExists="yes"
StartOnInstall="yes" Sequence="-2" >

                            <WebAddress Id='AllUnassignedPorts' Port='80' />

                            <WebVirtualDir Id='WebAppVirtualDir'
DirProperties="WebDirProp" Directory='WebRootDir' Alias='MyApp'>

                                <WebApplication Id="WebAppebApplication"
ParentPaths="default" Name="MyApp" />

                            </WebVirtualDir>

                        </WebSite>

                    </Component>

 

Thanks,

Mike

-- 
View this message in context: 
http://www.nabble.com/SP.NET-uninstall-and-home-directory-question-tf3597063.html#a10046308
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to