I was wondering if its possible to create a separate component for a nested
virtual directory? When I uninstall my applications nested beneath a
virtual directory the uninstall process is ripping all 3 applications out
of the application pool - I am using different component GUID's between my
packages

Currently our website setup is as so

MyWebsite [WEBSITE]
      - Application1 [VirtualDir]
            -Version1 [VirtualDir as Application]
            -Version2 [VirtualDir as Application]
            -Version3 [VirtualDir as Application]
      - Application2 [VirtualDir]
            -Version1 [VirtualDir as Application]

The Wix I am using to install App 1, Version 1 is below:

<Component Id="C_1" DiskId="1" Guid="C2341789-1DBA-4AFF-A6FG-EFC33102F9CB">
<WebVirtualDir Id="VD1" Alias="c:\temp\" Directory="D_Temp" WebSite="
MyWebsite" DirProperties="WebDirProperties_1">
      <WebVirtualDir Id="VD2" Alias="c:\temp\v1" Directory="D_TempV1"
DirProperties="WebDirProperties_1">
            <WebApplication Id="WA_Client" Name="$(var.targetversiondir)"
ParentPaths="yes" WebAppPool="WebSvcPool_1" />
      </WebVirtualDir>
</WebVirtualDir>
</Component>


The problem I am having is that I install multiple packages for App1,
versions 1, 2 and 3. On uninstalling either of the 3 versions it rips all 3
out of the app pool (WebSvcPool_1) instead of just itself. I believe the
problem could be solved by putting WebVirtualDir (Id = VD2 above) into its
own component however I'm not sure how to link it to sit below VD1.

Any help is greatly appreciated. I am using Wix 2.0.4611.

Cheers

Nick Walker


National Australia Bank Ltd - ABN 12 004 044 937
This email may contain confidential information. If you are not the intended 
recipient, please immediately notify us at [EMAIL PROTECTED] or by replying to 
the sender, and then destroy all copies of this email. Except where this email 
indicates otherwise, views expressed in this email are those of the sender and 
not of National Australia Bank Ltd. Advice in this email does not take account 
of your objectives, financial situation, or needs. It is important for you to 
consider these matters and, if the e-mail refers to a product(s), you should 
read the relevant Product Disclosure Statement(s)/other disclosure document(s) 
before making any decisions. If you do not want email marketing from us in 
future, forward this email with "unsubscribe" in the subject line to [EMAIL 
PROTECTED] in order to stop marketing emails from this sender. National 
Australia Bank Ltd does not represent that this email is free of errors, 
viruses or interference.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to