Menu

#83 iis.xsd/extensions not used?

pending
nobody
General (57)
5
2011-08-31
2011-04-05
No

iis.xsd has ref="Component" under the element "Certificate"
When there is a Certificate under Component and you select it in WiX Edit you receive the error:

"Certificate" is not supported in version 3.6.1601.0 of WiX!
Possibly this type is supported in another version of WiX and wix.xsd.

The error occurs with all versions of WiX.

Discussion

  • Jasper Keuper

    Jasper Keuper - 2011-06-30

    Hi Hilko,

    Some versions of the XSDs in the WiX doc directory are not complete (xs:appinfo and xse:parent elements missing), but the 3.6.1601 should be ok. Is your doc directory up to date?

    Please check whether you see "iis:Certificate", when you right click a component, and select the "new" submenu. If not, the iis.xsd is not loaded correctly.

    There should be a namespace defined like:
    xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension"

    and the "iis:" prefix should be used...

    The best way to check the exact syntax, is by adding the Certificate with WixEdit (if the IIS.xsd is loaded correctly.).

    Example:
    <?xml version="1.0" encoding="utf-8"?>
    <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension">
    <Product ....>
    <Directory ...>
    <Component ....>
    <iis:Certificate .../>
    </Component>
    </Directory>
    </Product>
    </Wix>

     
  • Jasper Keuper

    Jasper Keuper - 2011-08-31

    See previous comment, change state to pending while waiting for a response.

     
  • Jasper Keuper

    Jasper Keuper - 2011-08-31
    • status: open --> pending
     

Log in to post a comment.