Running .bat file before .exe automatically in Advanced Installer -
i'm new advanced installer. after installing file setup, need run ".bat" file before running ".exe" file every time. found add it, setting it's attributes (hidden, vital , system), need run every time before lunching application.
please me, thanks
if you're launching application finish action dialogs page, here steps:
- go custom actions page , add launch file custom action without sequence launch bat file
- enable custom action's "when system being modified (deferred)" , "run under system account full privileges (no impersonation)" options
- go dialogs page, select exitdialog first time install in install sequence
- select finish button go published events tab , enable "show events" option
- add "execute custom action" event passing in "launch file" created above argument
- set event's condition checkbox's name bat doesn't execute unless user selects checkbox launch application
- make sure event first 1 in published events list gets executed before event launches application
there couple of articles other details:
how launch file after installation?
the main thing need consider run event executes bat custom action before event launches application.
also, i'm not sure can professional project type. may need enterprise or architect.
Comments
Post a Comment