Page 1 of 1

How can I disable Cancel button

Posted: Tue Jul 20, 2010 4:48 am
by abhimudgal1
Here with I am attaching the snap which shows yes no and cancel button during cancel the setup at the initialization process.

How can I disable or remove cancel button from this dialog because it is not making any sense here?

Thanks in advance

Re: How can I disable Cancel button

Posted: Tue Jul 20, 2010 8:01 pm
by mills
Find the call to the MessageBox in MSIcode. You can specify which buttons appear for each messagebox:
MessageBoxSetup.jpg
MessageBoxSetup.jpg (122.95 KiB) Viewed 3575 times

Re: How can I disable Cancel button

Posted: Tue Jul 20, 2010 9:36 pm
by abhimudgal1
thanks mill,

but pls refer my complete problem " .. ..during cancel the setup at the initialization process.", as I am unable to find where is this message is located.it is not in msi code so your help in this regard will be very useful for me.

thanks