Hi,
how to disbale the wizard controls (cancel button) while installation is in progress.
Here the requirment is i am creating a database using create process method. At this time i don't want to allow user for selecting the Cancel button. To do this i want to disable the Cancel button before starting the task and enable the button after completion of the task.
Can you please suggest me how can we make disable and enable the controls at run time.
Thanks a lot
Krishna
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
How to disable the wizard control
Started by
krishna123
, Nov 28 2005 09:30
3 replies to this topic
Posted 28 November 2005 - 22:37
The only way you can do this is by adding code into a custom action to disable/enable the cancel button.
http://msdn.microsof...cessmessage.asp
Have a look at the INSTALLMESSAGE_COMMONDATA message. It shows you what fields to set to disable/enable the button.
http://msdn.microsof...cessmessage.asp
Have a look at the INSTALLMESSAGE_COMMONDATA message. It shows you what fields to set to disable/enable the button.
Posted 30 November 2005 - 08:52
Hi Luke,
Thanks a lot for your help.
For hiding the Cancel button at run time this is works fine.
Is there any way to disbale the Cancel button instead of hiding completely.
Thanks once again
krishna.s
Thanks a lot for your help.
For hiding the Cancel button at run time this is works fine.
Is there any way to disbale the Cancel button instead of hiding completely.
Thanks once again
krishna.s
Posted 01 December 2005 - 07:06
There is no way to disable the button provided by windows installer. The only way to do this is to write your own dialog code.