While it may be possible to do this, I certainly would stay away from
any scripting language custom actions. The most difficult part of this
would be to make it transactional/handling rollbacks. One option would
be to store the database creation and modification scripts with the
application and on first run after install or update, have your
application execute the SQL scripts. 

 

From: Patil, Yukti [mailto:yukti.pa...@adp.com] 
Sent: Monday, May 21, 2012 8:57 AM
To: wix-devs@lists.sourceforge.net
Subject: [WiX-devs] Wix Installation Custom Action to Execute after a
directory is created

 

Hi all,
I have a config file to read database settings and set properties for
the wix installer database creation.
I want the installer to follow a sequence i.e

1. Put config file on a location
2. Execute custom action that call a vb/js script that reads
properties from config file for WIX
3. Then create sql database that would be a component
4. Then crete a few more directories
5. Then execute exe

Is this possible?
Or is there any other alternative to this(as I want the database
configurable everytime for every new installer version ,so the details
would be in config file)

 

Thanks,

yukti

 

________________________________

This message and any attachments are intended only for the use of the
addressee and may contain information that is privileged and
confidential. If the reader of the message is not the intended recipient
or an authorized representative of the intended recipient, you are
hereby notified that any dissemination of this communication is strictly
prohibited. If you have received this communication in error, notify the
sender immediately by return email and delete the message and any
attachments from your system.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to