cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
NCK816
Level 3

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
Level 3

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
Level 3

Did anyone get this working??
0 Kudos
J_anitha
Level 8

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
Level 3

Any pointers for doing it through Installscript??
0 Kudos