Detect MS SQL Instances cancellation

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

Detect MS SQL Instances cancellation

Postby ranquild » Fri Nov 27, 2015 4:39 am

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

Postby FrancescoT » Fri Nov 27, 2015 12:25 pm

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 2534 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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 146 guests