Unable to run The sql script file

120 views
Skip to first unread message

wah...@arrowlabs.co

unread,
Jul 25, 2016, 8:03:17 AM7/25/16
to msiext

Please find my sample project source code and sql script

I am trying to run your sample but still not able to execute the sql file script.

Please give response with some suggestion then may i will able to run my sql script file.

I have already checked your sample that you have provided in the repository but still no success.

During installation it does not give any error . it installed successfully but not able to find my script file to run and create the database table.
I am using the wixdatasourceextension.
Kind regards,
waiting for your response.

CreateBinaryTable_Encoded.txt
Sample Code.txt

Daniel Doubrovkine

unread,
Jul 25, 2016, 8:06:22 AM7/25/16
to msi...@googlegroups.com
Please attach a log.

--
You received this message because you are subscribed to the Google Groups "msiext" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msiext+un...@googlegroups.com.
To post to this group, send email to msi...@googlegroups.com.
Visit this group at https://groups.google.com/group/msiext.
For more options, visit https://groups.google.com/d/optout.



--

wah...@arrowlabs.co

unread,
Jul 26, 2016, 2:17:13 AM7/26/16
to msiext
Please find the logs in the email attachment. 
Regards,
waqar
log.log

Daniel Doubrovkine

unread,
Jul 26, 2016, 10:41:26 AM7/26/16
to msi...@googlegroups.com
I don't see anything wrong here. Have you tried the demo project included, does that one work as is?

Daniel Doubrovkine

unread,
Jul 26, 2016, 10:41:58 AM7/26/16
to msi...@googlegroups.com
I bet the SQL is executing on a different database, run a SQL profiler, are you seeing those commands run on something else?

wah...@arrowlabs.co

unread,
Jul 27, 2016, 3:39:34 AM7/27/16
to msiext

I did not see that  my sql script file is executing in Sql Profiler. Only i checked that the installer only check that the database exist or not query that run through installer. 

Remaining i am unable to build the test sample because its giving the following error

1>------ Build started: Project: Version, Configuration: Debug Any CPU ------
1>  Version -> C:\Users\user\Downloads\msiext-master (1) - Copy\msiext-master\src\Version\bin\Debug\Version.dll
2>------ Build started: Project: DataSource, Configuration: Debug Win32 ------
2>  DataSource.vcxproj -> C:\Users\user\Downloads\msiext-master (1) - Copy\msiext-master\target\Debug\bin\DataSource.dll
3>------ Build started: Project: DataSourceExtension (Source\Wix Extensions\DataSourceExtension\DataSourceExtension), Configuration: Debug x86 ------
4>------ Build started: Project: WixDataSourceExtension, Configuration: Debug Any CPU ------
4>  WixDataSourceExtension -> C:\Users\user\Downloads\msiext-master (1) - Copy\msiext-master\target\Debug\bin\WixDataSourceExtension.dll
5>------ Build started: Project: MSSQLDatabaseMsi, Configuration: Debug x86 ------
5>C:\Users\user\Downloads\msiext-master (1) - Copy\msiext-master\externals\wix\wix2010.targets(2508,7): error MSB4064: The "SuppressBuildInfo" parameter is not supported by the "Light" task. Verify the parameter exists on the task, and it is a settable public instance property.
5>C:\Users\user\Downloads\msiext-master (1) - Copy\msiext-master\externals\wix\wix2010.targets(2472,5): error MSB4063: The "Light" task could not be initialized with its input parameters. 
5>Done building project "MSSQLDatabaseMsi.wixproj" -- FAILED.

Kindly your prompt response will be very helpful if you  guide me in right direction

Daniel Doubrovkine

unread,
Jul 27, 2016, 8:58:23 AM7/27/16
to msi...@googlegroups.com
Looks like this is caused by a different version of Wix - I've never seen these errors. It has been a while since I dealt with all of this, sorry I cannot be of much help.

wah...@arrowlabs.co

unread,
Jul 28, 2016, 2:01:33 AM7/28/16
to msiext
WiX.Toolset.3.9.1208.0 i am using this version. Kindly tell me which version have to install that is compatible to this. Waiting for the response.

wah...@arrowlabs.co

unread,
Jul 28, 2016, 4:33:58 AM7/28/16
to msiext
Any body help me on this issue to run the sql script in wix using datasource extension. Currently i am stuck on this point. 

I have placed ths sample script and code in the attachment. 

Daniel Doubrovkine

unread,
Jul 28, 2016, 10:28:18 AM7/28/16
to msi...@googlegroups.com

wah...@arrowlabs.co

unread,
Jul 31, 2016, 6:58:42 AM7/31/16
to msiext
Dear Daniel,

The problem is still same. No Idea how to fix to execute the SQL Database script through wixdatasourceExtension. 

I did not find any thing on the following Link.

Daniel Doubrovkine

unread,
Jul 31, 2016, 9:53:45 AM7/31/16
to msi...@googlegroups.com
Sorry I cannot be more helpful.

wah...@arrowlabs.co

unread,
Aug 1, 2016, 1:57:52 AM8/1/16
to msiext

Dear Daniel,

Kindly just provide any working sample that have the wix code and run the scripts. Because the demos you have on repository  does not work also
Otherwise i already have the sample code and script in the attached post to just some modification and may be it will work.

Waiting for your kind response. 
Regards,
Waqar

wah...@arrowlabs.co

unread,
Aug 1, 2016, 9:19:50 AM8/1/16
to msiext
Thanks Daniel,
I am able to done.
Thanks for your  support.

Daniel Doubrovkine

unread,
Aug 1, 2016, 10:03:49 AM8/1/16
to msi...@googlegroups.com
What was the problem?
Reply all
Reply to author
Forward
0 new messages