\
Source Code
Commands
DialogRemove
The "DialogRemove" Command |
This command allows you remove dialogs from the UI sequence.
It is not general purpose and probably (at least for now) has these
restrictions:
- The MSI should be "uisample.msi" based, this is what MAKEMSI
uses "out of the box".
- It can't remove the first or last dialog in the UI sequence
(so for example can't remove the "WelcomeDlg").
The command should fail with some sort of message if it gets
into trouble.
This command takes these parameters:
The following code shows one way the "SetupTypeDlg" can be removed:
;--- Prevent "UISAMPLE" trying to manipulate the dialog deleted below -------
#define UISAMPLE_DISABLE_TYPICAL_SETUP N
#define "ME.MMH"
;--- Remove the dialog ------------------------------------------------------
<$DialogRemove "SetupTypeDlg">