Hi All, I am facing a problem while uninstalling the package. I have created some virtual directories in wxs. But when i uninstall the package, it is removing Default Web Site also. Which in turns remove all the virtual directories from the server. Again ig I install the package I is creating default web site as well, but my other Virtual Directories becomes lost.
Below is code I am using <Component Id="cmp_ABC" KeyPath="yes" Directory="dir_ABC" Guid="{19FB1255-858E-4E03-AF12-A7D1EEC7590B}"> <File Id="fil_ABC" Source="\app.config" /> <iis:WebSite Id='DefaultWebSite' Description='Default Web Site' Directory='wwwroot'> <iis:WebAddress Id='AllUnassigned' Port='80' /> </iis:WebSite> <iis:WebVirtualDir Id='Test' Alias='Secure/Test' WebSite='DefaultWebSite' Directory='dir_ABC' > <iis:WebApplication Id='Test' Name='Test' /> </iis:WebVirtualDir> </Component> <Component Id="cmp_A" KeyPath="yes" Directory="dir_A" Guid="{6C0B32E2-6F0C-4E34-B73E-A5BA97FC7543}"> <File Id="fil_common.js" Source="\common.js" /> <iis:WebVirtualDir Id='A' Alias='Secure/A' WebSite='DefaultWebSite' Directory='dir_A' > <iis:WebApplication Id='A' Name='A' /> </iis:WebVirtualDir> </Component> Thanks Jaspreet ________________________________ ***The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review,retransmission,dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.*** ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users