I want Advanced Installer to execute batch script before any dialog pops up for hitting next , How can I achieve this using advanced installer ?
Advanced Installer version I am using is 11.4.1
In order to achieve this you can go in the Custom Actions page and add a "Launch attached file" custom action before the "Wizard Dialogs Stage -> User Selection" action group.
It still does not work, because batch file is not actually copied onto the disk by installer, all the files get copied when progress bar shows up after I hit next button
what do I need to do to get around this situation ?
Indeed, I didn't notice that you try to use a batch script and that script does not work using the "Launch attached file" custom action. Sorry for my mistake!
In order to use the batch script before the dialogs are displayed, you can add that script in the "Files and Folders" page using the "Temporary Files" toolbar button, than add a "Launch file" custom action before the "Wizard Dialogs Stage -> User Selection" action group, right-click in the "File To Launch" field, select "File..." and choose your batch script to be executed by that custom action.
By the way, when the "Launch attached file" custom action is used, the file is embedded in the MSI package as a binary file and it is not necessary to add it in the "Files and Folder" page, too.
FOLLOW US
Get the latest news in Application Packaging