Hey Rippo,

 

I think you need to include the .wixlib files in the linking phase
(candle.exe). Can't quite remember the syntax but something like candle.exe
-l sqlextension.wixlib etc

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard Wilde
Sent: 20 January 2008 09:46
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] V3 build errors

 

Hi I am getting the following errors in this wix3 build

 

error CNDL0200 : The Product element contains an unhandled extension element
'util:User'.  

Please ensure that the extension for elements in the
'http://schemas.microsoft.com/wix/UtilExtension' namespace has been
provided.

 

error CNDL0200 : The Component element contains an unhandled extension
element 'sql:SqlDatabase'.  

Please ensure that the extension for elements in the
'http://schemas.microsoft.com/wix/SqlExtension' namespace has been provided.

 

 

My wxs script has been upgraded from v2 to V3 using wixcop

 

 

 

 

<?xml version="1.0" encoding="utf-8"?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";
xmlns:sql="http://schemas.microsoft.com/wix/SqlExtension";>

    <Product Name="Foobar 1.0" Id="A88FDEE3-7C0D-45E2-82E1-CAF8FA6D046D"
Language="1033" Codepage="1252" Version="1.0.0" Manufacturer="Acme Ltd."
UpgradeCode="4E193E41-AD60-46C2-A51D-6FAB04E619B7">

 

        <Package Keywords="Installer" Description="Acme's Foobar 1.0
Installer" Comments="Foobar is a registered trademark of Acme Ltd."
Manufacturer="Acme Ltd." InstallerVersion="100" Languages="1033"
Compressed="yes" SummaryCodepage="1252" />

 

        <Media Id="1" Cabinet="Sample.cab" EmbedCab="yes" DiskPrompt="CD-ROM
#1" />

        <Property Id="DiskPrompt" Value="Acme's Foobar 1.0 Installation [1]"
/>

 

        <util:User Id="SQLUser" Name="[USERNAME]" Password="[PASSWORD]" />

 

        <Directory Id="TARGETDIR" Name="SourceDir">

            <Directory Id="ProgramFilesFolder" Name="PFiles">

                <Directory Id="Acme" Name="Acme">

                    <Directory Id="INSTALLDIR" ShortName="Foobar10"
Name="Foobar 1.0">

 

 

                      <Component Id="SqlComponent"
Guid="5B0D1B96-5BB7-4CE2-B00C-B19C98471146">

                        <sql:SqlDatabase Id="SqlDatabase"
Database="[DATABASENAME]" User="SQLUser" Server="[SERVERNAME]"
CreateOnInstall="yes" DropOnUninstall="yes" ContinueOnError="yes">

                                <sql:SqlScript Id="CreateTable"
BinaryKey="CreateTable" ExecuteOnInstall="yes" />

                            </sql:SqlDatabase>

                        </Component>

...

 

 

Can anyone help?

 

Thanks
Richard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to