Exit from Installaer - Advanced Installer Community
VAlch
Posts: 18
Joined: Fri Oct 04, 2013 3:03 pm

Exit from Installaer

Hello! I need to exit from installer while installation without user interaction.
For example, before starting I run vbs script and calculate day of week, installer should be started only on weekend. So if Friday is today, I want to show alert box (or custom form from Advanced Installer: Notification form and then form with exit button) and exit from setup. IF it's a weekend, the installer will started.
Is any condition, that I can use to manipulate installer start? Condition can be any, I just need a tool to manipulate start process.
Thanks in advance.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Exit from Installaer

Hello,
For example, before starting I run vbs script and calculate day of week, installer should be started only on weekend. So if Friday is today, I want to show alert box (or custom form from Advanced Installer: Notification form and then form with exit button) and exit from setup. IF it's a weekend, the installer will started.
Look into Custom Launch Conditions tab from Launch Conditions page. What you type in the "Description" field of the custom action will appear in the alert box.
I need to exit from installer while installation without user interaction.
Also, be sure to schedule the .VBS custom action before LaunchConditions standard action and share it in both the Wizard Dialogs and Install Execute Stages to cover silent installations as well.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
VAlch
Posts: 18
Joined: Fri Oct 04, 2013 3:03 pm

Re: Exit from Installaer

Thanks a lot, this solution helped for me to fix a problem.
Best regards,
Vasiliy

Return to “Building Installers”