cancel
Showing results for 
Search instead for 
Did you mean: 
NCK816
Pilgrim

How to disable cancel button of windows?

Dear all,

I would like to try to disable cancel button when installing.
But I can only disable cancel button of IS.
How can I disable cancell button of window?
Labels (1)
0 Kudos
4 Replies
NCK816
Pilgrim

Re: How to disable cancel button of windows?

I try to use the code of http://www.installsite.org/pages/en/isp_ui.htm

The section "Disable Close Box on Main Window" has code provided, but it doesn't work.

Do anyone know how to modify it?
0 Kudos
rashmi_malik
Pilgrim

Re: How to disable cancel button of windows?

Did anyone get this working??
0 Kudos
J_anitha
Pilgrim

Re: How to disable cancel button of windows?

I had created a custom action in VB for disabling cancel button.

const msiMessageTypeCommonData = &H0B000000
Set oRecord = Session.Installer.CreateRecord (2)
oRecord.IntegerData(1) = 2
oRecord.IntegerData(2) = 0
Session.Message msiMessageTypeCommonData, oRecord

I added this as the first action in Execute sequence.
0 Kudos
rashmi_malik
Pilgrim

Re: How to disable cancel button of windows?

Any pointers for doing it through Installscript??
0 Kudos