wix - Don't install if a program is running -
i have wix installer. how can prevent install if program running? don't want have installer close program. may not in state safe close. want tell user need close application , either wait user close it, or exit install.
i removed <dialogref id="msirmfilesinuse" />
, appears prevent installer prompting close application.
however, default fileinuse dialog allows ignore fact files in use. tried find way remove ignore option unable to. best option come remap "ignore" button "exit".
<publish dialog="filesinuse" control="ignore" event="enddialog" value="exit">1</publish>
i first tried map "ignore" "retry". worked first time filesinuse dialog appeared, not after retried once.
this hack, best option i've found far.
Comments
Post a Comment