Page 1 of 1

Detect MS SQL Instances cancellation

Posted: Fri Nov 27, 2015 4:39 am
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

Re: Detect MS SQL Instances cancellation

Posted: Fri Nov 27, 2015 12:25 pm
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 2537 times


Hope this helps you.

Regards