Detect MS SQL Instances cancellation

Got a problem you cannot solve? Try here.
Post Reply
ranquild
Posts: 4
Joined: Thu Nov 26, 2015 7:28 am

Detect MS SQL Instances cancellation

Post by ranquild »

I use "Detect MS SQL Instances" plugin with progress dialog (non-modal). It usually takes few seconds for the command to execute. If setup is cancelled during this call I get a message box with "Setup cancelled" text after confirming cancellation. Is there any way to suppress this message box? Image is attached.

Code: Select all

Display Dialog: progress, use as progress dialog (non-modal)
Detect MS SQL Instances : get result into variable INSTANCES
Image
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Detect MS SQL Instances cancellation

Post by FrancescoT »

Dear Ranquild,

using the Dialog Editor, you should chance the "Object Behavior" rule defined with the Cancel button of your progress dialog.

By default this uses "Cancel Setup" ... you may use "Return from Dialog" instead.
ObjectBehavior.png
ObjectBehavior.png (92.97 KiB) Viewed 2739 times
Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply