This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Disable Cancel button for Basic MSI
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 07, 2010
01:51 PM
Disable Cancel button for Basic MSI
I need to disable the Cancel button on the SetupProgress dialog after a certain point of no return during the installation. I was hoping to do this using an InstallScript function called by a deferred custom action.
However, I have gotten VBScript code to work
but this hides the Cancel button, I would really prefer to disable it. Is there a way to change this VBScript to do that if there's no way to disable the cancel button using InstallScript?
However, I have gotten VBScript code to work
Const msiMessageTypeCommonData = &H0B000000
Set rec = Installer.CreateRecord(2)
rec.IntegerData(1) = 2
rec.IntegerData(2) = 0
Message msiMessageTypeCommonData, rec
but this hides the Cancel button, I would really prefer to disable it. Is there a way to change this VBScript to do that if there's no way to disable the cancel button using InstallScript?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 07, 2010
05:02 PM
anyone have an idea? I've seen several threads on this issue, but not the answer I'm looking for.