Hi,
I would like to see the code to modify according to requirement, of dialog box such as during cancel, or abort process.
I also require to modify button controls of these dialogs.
Help in this regard would be very appreciative.
thanks in Advance
-Abhishek
How to view code of hard coded Message dialog
-
abhimudgal1
- Posts: 15
- Joined: Thu Jul 15, 2010 11:36 pm
Re: How to view code of hard coded Message dialog
It is not clear what you are asking for. Please review the document "Creating and registering new dialogs" toward the bottom of this page:
http://www.installaware.com/publication ... papers.htm
http://www.installaware.com/publication ... papers.htm
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
-
abhimudgal1
- Posts: 15
- Joined: Thu Jul 15, 2010 11:36 pm
Re: How to view code of hard coded Message dialog
Dear Mill, thanks for your interest in reply, let me clear my question:mills wrote:It is not clear what you are asking for. Please review the document "Creating and registering new dialogs" toward the bottom of this page:
http://www.installaware.com/publication ... papers.htm
" When user initiate installation in that dialog there is Cancel button also, and click on it will ask for confirmation to abort the installation, I want to see the code of that dialogs, their controls (OK, CANCEL) and messages"
I hope, this will bring some useful answer for me.
Best . . .
Re: How to view code of hard coded Message dialog
It sounds like you want to get into the Button_Click() functions?
You might notice that in the dialogs you create yourself, you cannot specify code that runs as a result of a button click, inside the dialog. You can only assign the predefined actions to it. Though, a non-modal dialog will display while MSIcode runs in the background (until the Hide Dialog command is reached). Otherwise, your logic will have to take place between the dialogs you display.
The dialog you mention is displayed by InstallAware as part of the "Cancel Setup" action (which you can set by double-clicking on the button/control in the dialog editor).
I hope this clears things up a bit. It can take a little getting used to how the dialog logic works.
You might notice that in the dialogs you create yourself, you cannot specify code that runs as a result of a button click, inside the dialog. You can only assign the predefined actions to it. Though, a non-modal dialog will display while MSIcode runs in the background (until the Hide Dialog command is reached). Otherwise, your logic will have to take place between the dialogs you display.
The dialog you mention is displayed by InstallAware as part of the "Cancel Setup" action (which you can set by double-clicking on the button/control in the dialog editor).
I hope this clears things up a bit. It can take a little getting used to how the dialog logic works.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
-
abhimudgal1
- Posts: 15
- Joined: Thu Jul 15, 2010 11:36 pm
Re: How to view code of hard coded Message dialog
Here with I have attached a dialog snap, pls help me where is this dialog and its code is located?mills wrote:It sounds like you want to get into the Button_Click() functions?
The dialog you mention is displayed by InstallAware as part of the "Cancel Setup" action (which you can set by double-clicking on the button/control in the dialog editor).
.
- Attachments
-
- installationProceessCancelDialog.JPG (6.8 KiB) Viewed 6302 times
Re: How to view code of hard coded Message dialog
That dialog is hard-coded in InstallAware binaries and is only displayed when clicking Cancel on the form "The InstallAware Wizard is verifying the contents of this setup packag. This may take a moment". It is not editable...
If your intent is to remove the Cancel button, that is a known bug which we will be fixing to only display buttons Yes/No as a response.
If you do not want the yes/no/cancel messagebox to appear, as a work-around, uncompressed builds do not display the verifying contents dialog which produces the messagebox you refer to.
If your intent is to remove the Cancel button, that is a known bug which we will be fixing to only display buttons Yes/No as a response.
If you do not want the yes/no/cancel messagebox to appear, as a work-around, uncompressed builds do not display the verifying contents dialog which produces the messagebox you refer to.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
-
abhimudgal1
- Posts: 15
- Joined: Thu Jul 15, 2010 11:36 pm
Re: How to view code of hard coded Message dialog
OK, thank you very much mills for your time I appreciate you for that.
Best . . .
Best . . .
Re: How to view code of hard coded Message dialog
I avoid this dialog by setting the behaviour to "return from dialog" and not to "Cancel Setup" and then "terminate with exit code" in script.

