Hi, I am new to WIX and i am trying to create multiple virtual directories in IIS pointing to subfolders in my application. I have been able to get it to create the virtual directories but the issue i am having is that it creates it for all the folders in the main folder (ABC). I only want to create for folders that start with the name XYZ. Here is a sample of what i am doing.
<DirectoryRef Id="ABC"> <Component Id='XYZVirtualDir' Guid=my-guid> <iis:WebVirtualDir Id ="XYZVirDir" Directory="ABC" Alias="[TARGETVDIR]" WebSite="DefaultWebSite" > <iis:WebApplication Id="XYZVirApp" Name="[TARGETVDIR]"> </iis:WebApplication> </iis:WebVirtualDir> <CreateFolder/> </Component> </DirectoryRef> Can someone please tell me how to check that the virtual directory name starts with XYZ only then create the virtual dir in IIS. Any help is greatly appreciated. Thanks, KK ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users