If you're using the visual studio UI for WiX (called Votive), you'll want to add a reference to WixIISExtension.dll, similar to the way you add references to assemblies in your C# projects.
If you want general commandline help for the tools, either see the helpfile (wix.chm), or try running them with no parameters from the commandline - they'll list all their possibly commandline arguments with a brief description of each. -----Original Message----- From: Jaspreet Nabha [mailto:jaspreet.na...@headstrong.com] Sent: Friday, August 28, 2009 12:53 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Problem while creating virtual directory Hi Sebestian, I am using VS 2008 for the build process. Can you please let me know how can use the said command ? Thanks Jaspreet Singh ________________________________________ From: Sebastian Brand (Instyler Software) [wix+us...@instyler.com] Sent: Friday, August 28, 2009 1:18 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Problem while creating virtual directory You must add "-ext WixIISExtension" to the light.exe command line. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -----Original Message----- From: Jaspreet Nabha [mailto:jaspreet.na...@headstrong.com] Sent: Friday, August 28, 2009 09:02 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Problem while creating virtual directory Hi All, I am using WiX3.0 with VS2008. I am trying to create virtual directories. I have added reference of "WiXIISExtension" in my project and refer the namespace xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension " . But I am getting following error while building the project. Error "Error 11 The Component element contains an unhandled extension element 'iis:WebVirtualDir'. Please ensure that the extension for elements in the 'http://schemas.microsoft.com/wix/IIsExtension ' namespace has been provided. C:\NewWiX\Components.wxs". Code : <Component Id='C_VirtualDirComponent' Guid='{A598E09C-B770-4df2-BE08-E069A718B938}'> <iis:WebVirtualDir Id='VirtualDir' Alias='[TARGETVDIR]' Directory='TARGETDIR' WebSite='DefaultWebSite' DirProperties='WebVirtualDirProperties' > <iis:WebApplication Id='WebApplication' Name='[TARGETVDIR]' WebAppPool='C_MyAppPool'/> </iis:WebVirtualDir> </Component> Please guide if you have any idea 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 ------------------------------------------------------------------------------ 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 ***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 ------------------------------------------------------------------------------ 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