Your CustomAction will need to be a "deferred" custom action, if it is to occur 
after the database is created.

-----Original Message-----
From: Thai-Hoa Nguyen [mailto:taiwa...@hotmail.com] 
Sent: Friday, 17 June 2011 9:57 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] When the DB creation is complete?


Hello...
 
I'm using WiX 3.5 SQL Extension to create a database, create tables, and copy a 
windows service, and start the windows service.
 
I'm trying to write a custom action to read a value in the database before the 
service is started. The custom action is run before "StartServices" sequence.  
I thought the database should be created before StartServices sequence.
 
<Custom Action="CheckDatabase" Before="StartServices"></Custom>
 
When CheckDatabase is called, it said the database does not exist.
 
What install execute sequence can I connect my custom action to check if the 
database is created.  I have to do this after InstallSqlData and before 
StartServices sequence. 
 
Please help.  Thank you.                                          
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to