custom action - Dynamically changing CAs in WIX Install Sequence -
i'd find useful decide custom actions call @ points in installation depending on properties i've set in installer.
for example; if want use separate dlls interfacing different versions of sql (ssrs 2005/2008r2 specific).
assume actions discern ca should run (by finding out ssrs version installer being pointed at) executed "immediate" , ca's may or may not executed depend on result , "deferred"
how change deferred ca execute @ parts of install, dynamically, during install?.. possible?
((wix 2.0 preferred higher version answers acceptable))
in data driven custom actions modify machine state (which sounds writing) immediate custom action should read tables and/or properties in msi schedule appropriate deferred custom actions make changes machine.
to accomplish this, of custom actions defined (customaction elements in .wxs files) immediate custom actions scheduled (custom/@action elements in installexecutesequence). immediate custom actions about, make decisions, set customactiondata deferred custom action, call ::msidoaction() name of appropriate deferred custom action add deferred custom action installation script @ point. later, when windows installer executes installation script (the deferred part of install), deferred custom actions kick off data.
the wix toolset custom actions time if looking examples.
Comments
Post a Comment