Saturday, February 2, 2013

Win Installer view full site thread regarding UI User Interface


http://msdn.microsoft.com/en-us/library/windows/desktop/aa372457(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/aa368043(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/aa368039(v=vs.85).aspx


Using the User Interface (Windows)

Windows Desktop App DevelopmentDesktop app development documentationApplication Installation and ServicingWindows InstallerWindows Installer GuideUser InterfaceUsing the User InterfaceAdding Controls and TextAuthoring a ProgressBar ControlAuthoring Disk Prompt MessagesAuthoring a Conditional "Please Wait . . ." Message BoxAdding Text Stored in a PropertyPreviewing the User InterfaceMonitoring an Installation Using MsiSetExternalUIRecordMonitoring an Installation Using MsiSetExternalUISending Messages to Windows Installer Using MsiProcessMessageDisplaying Billboards on a Modeless DialogUsing an Embedded UI0 out of 1 rated this helpful - Rate this topicThis section is concerned primarily with how developers of installation packages author an installation user interface (UI) using the installer's database and internal UI. For more information about the difference between an internal and external UI see About the User Interface.To display a dialog box sequence or billboard during the installation, the name of the dialog box must be entered into the Action column of the appropriate action sequence table. The name of the dialog box must appear in theInstallUISequence or AdminUISequence table depending on whether the UI is scheduled to run under the INSTALL,ADVERTISE, or ADMIN action.Although the installer supports the authoring of custom dialog boxes and billboards, there are also a number of reserved names for certain dialog box sequences. Because the installer uses these names when executing certain actions, these names must only be used with the types of dialog boxes for which they are reserved. A list of these reserved names, and a description of each of the special dialog box sequences, is given in Dialog Boxes.The properties of each dialog box or billboard in the UI must be specified in the Dialog and BillBoard tables, respectively. The style of each dialog box must also be specified in the Dialog table by setting the dialog's style bit flag.Controls and text must be added to the dialog box, and these must be tied to ControlEvents, to enable the user to interact with the installation process. See Adding Controls and Text for more information on how to add controls to a dialog box.Windows Installer internal UI handler can selectively show or hide dialog boxes to control the level of end-user interactivity during the installation. These levels of end-user interactivity are referred to as full, reduced, basic, and none. See User Interface Levels. for a full description of these UIlevels.There are two methods to set the UI level. The UI level can be set programmatically with a call to MsiSetInternalUI, and the first parameter of MsiSetInternalUI specifies the UI level. Package developers can also set the UI level using thecommand line option "/q".The behavior of each of the UI levels is determined by the authoring of the .msi file by the package developer. The author of an internal UI has flexibility in how these levels behave for a package. The availability of these levels depends on the authoring of the installation package. The author must specify every dialog box and control in the user interface in the Dialog and Control tables.

http://msdn.microsoft.com/en-us/library/windows/desktop/aa372457(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/aa368043(v=vs.85).aspx




No comments:

Post a Comment