WebSite appears to have been moved into the http://schemas.microsoft.com/wix/IIsExtension namespace. You'll need to add an xmlns:iis attribute to the Wix element, and reference WebSite as iis:WebSite. I think. I'm not too hot on XML Namespaces, but I think it should look like:
 
<?xml version='1.0'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'
         xmlns:iis='http://schemas.microsoft.com/wix/IIsExtension'>
  <Product ...>
  ...
    <Component ...>
      <iis:WebSite ... />
    </Component>
  </Product>
</Wix>
 
To get IntelliSense for WebSite (etc) in Visual Studio, add iis.xsd (in your [WiX install folder]\doc) to the list of schemas.
 
--
Mike Dimmick


From: [EMAIL PROTECTED] on behalf of Matthew Janulewicz
Sent: Thu 21/09/2006 21:02
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wix 3 and WebSite element

I’m a Wix newbie, sorta. About a month ago. I had some installers for our websites using Wix 2. We are in the process of moving to VisualStudio 2005 so I thought I’d get a head start on converting the installers. I’m getting this error in Candle:

 

C:\localdev\Installation\GetMyGreenInstaller\GetMyGreenWebInstaller.wxs(91) : error CNDL0005 : The Component element contains an unexpected child element WebSite'.

 

Using Votive I get a better description, but basically it says the element should be “…in namespace 'http://schemas.microsoft.com/wix/2006/wi' as well as any element in namespace '##other'.”

 

In the schema description it says the WebSite element is in the ##other namespace, but how do I specify I want to use it? Or do I need to? I tried this, but to no avail:

 

candle.exe -ext WixIIsExtension.dll InstallerProject.wxs -out wixobj.obj

 

Am I dumb? I can’t figure it out. Thanks in advance for any tips!

 

----------

Matthew Janulewicz

SCM Engineer

Green Dot Corporation

(626) 775-3857

-------------------------------------------------------------------------
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