MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: DialogPreview[Next]: Directory
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->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:

  1. The MSI should be "uisample.msi" based, this is what MAKEMSI uses "out of the box".

  2. 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:

EXAMPLE

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">


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: DialogPreview[Next]: Directory


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Saturday May 28 2022 at 3:11pm
Visit MAKEMSI's Home Page
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.