Thanks for your reply, but now I get the error:

 

error CNDL0005 : The CreateFolder element contains an unexpected child element 
'sql:SqlDatabase’

 

 

Eric 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander 
Shevchuk
Sent: Thursday, February 21, 2008 4:29 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] INstall SQL Database

 

Hi Eric,

 

Add <CreateFolder> around <sql:SqlDatabase>.  <sql:SqlDatabase> is a custom 
action and Windows Installer will not create an empty folder unless it will be 
forced to do so with explicit <CreateFolder>:

 

<Directory Id=”SuiteDatabaseFolder”>

    <Component iD=”SuiteDatabaseComponent” …>

        <CreateFolder>

            <sql:SqlDatabase … />

        </CreateFolder>

    </Component>

</Directory>

 

 

Alex

 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Latendresse
Sent: Thursday, February 21, 2008 2:11 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] INstall SQL Database

 

I am trying to create a SQL database as a separate component. I know that it is 
probably something simple maybe you could take a look at the attached and point 
me in the right direction. Basically I want to install the SQL Data and Log 
files in a sub directory to the Main application folder. Attached is my wxs. 
The error that I get is:

 

“The Directory/Component pair must be listed in the CreateFolders table”

 

 

Eric 

 

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