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 Latendresse
Optimum Solutions, Inc.
(615) 369-6097 office
(615) 329-4448 fax
[EMAIL PROTECTED]
www.optimum-solutions.com<http://www.optimum-solutions.com/>
Payroll ∙ HR ∙ Time & Attendance
Made Simple.

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