Add –ext WixIisExtension to your candle and light command lines.

 

-- 

Mike Dimmick

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ziegelwanger,
Silvio
Sent: 08 February 2007 13:02
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] use WebSite element

 

Hi,

 

I want to use the IIS commands in a .wxs file See here:

 

 

 

<?xml version="1.0"?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension";>

      <Product Id="64752695-e839-4982-bd0b-896e7b750625"

……

……

  <Component Id='WebserviceVirtualDirComponent' Guid="UUID">

    <iis:WebSite Id='DefaultWebSite' Description='Default Web Site'>

      <iis:WebAddress Id='AllUnassigned' Port='80' />

      <iis:WebVirtualDir Id='WebserviceVirtualDir'
Alias='WMISystemMonitorWebservices' Directory='WWW' WebSite='DefaultWebSite'
>

        <iis:WebApplication Id='WebApplication'
Name="WMISystemMonitorWebservices" WebAppPool="WMISysMonAppPool" />

      </iis:WebVirtualDir>

    </iis:WebSite>

  </Component>

 

  <Component Id='WebAppPoolComponent' Guid="UUID">

    <iis:WebAppPool Id="WMISysMonAppPool" Identity="networkService"
Name="WMISystemMonitorPool" />

  </Component>

 

 

The candle output is following:

 

 

install.wxs.wpp

C:\source\wmi\install.wxs.wpp(101) : error CNDL0200 : The Component element
cont

ains an unhandled extension element 'iis:WebSite'.  Please ensure that the
exten

sion for elements in the 'http://schemas.microsoft.com/wix/IIsExtension'
namespa

ce has been provided.

C:\source\wmi\install.wxs.wpp(110) : error CNDL0200 : The Component element
cont

ains an unhandled extension element 'iis:WebAppPool'.  Please ensure that
the ex

tension for elements in the 'http://schemas.microsoft.com/wix/IIsExtension'
name

space has been provided.

NMAKE : fatal error U1077: '"C:\Program Files\Windows Installer XML
v3\bin\candl

e.exe"' : return code '0xc8'

Stop.

 

 

Whats wrong?

 

 

 

Best regards

 

Silvio

 

 

Silvio Ziegelwanger
Research & Development

Fabalabs Software GmbH
Honauerstraße 4
4020 Linz
Austria
Tel: [43] (732) 60 61 62
Fax: [43] (732) 60 61 62-609
E-Mail: [EMAIL PROTECTED]
www.fabalabs.org <http://www.fabasoft.com/> 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to