Deploy three major ASP. NET technologies (5)

Source: Internet
Author: User

Attributes that can be set in the file type editor

Attribute function

Name specifies a type Name for this type of file.

Application that the Command user should start when performing operations on such files

Extensions

Icon specifies the Icon of this type of files.

Description Brief Description of this type of file

5. Custom operation Editor

Other programs can be run during installation. The running sequence of custom operations is the same as that in the editor. You can drag the mouse or use the cut and paste commands on the edit menu to re-Sort custom operations.

6. Enable the condition editor

This editor can be used to set the conditions that must be met by the target machine. If you try to run the installer on a system that does not meet the startup conditions, the installer will reject execution. When setting the startup conditions, we can ask the installer to search for the target machine and find whether a specific file, registration key, or component exists. The startup condition editor shown in Figure 3 provides two options for setting conditions:

(I) search target machine: Specifies the search operations performed on the target machine, such as searching for specific files and registration keys.

(Ii) Startup condition: allows you to check whether specific applications exist on the target machine, such as IIS and. NET frameworks.



Figure 3

The following table provides a list of startup conditions that can be set through the launch condition editor.

Condition

The file startup condition is used to search for files installed on the target system.

Search for the registration key before the Registry Startup condition installation starts.

For Windows Installer startup conditions, search for Windows Installer files.

. NET Framework startup condition check whether. NET Framework exists on the target computer.

Check the version of IIS that has been installed.

■ Check whether. NET Framework is installed on the target machine

For example, we want to check whether the. NET Framework exists on the target machine during installation. Select "View"> "Editor"> "Startup conditions", right-click "requirements on the target computer", and select "add.. NET Framework startup condition.. NET Framework startup conditions. If you try to install the application on a machine that does not have the. NET Framework installed, the installer prompts you to install. NET Framework to continue the installation.

VII. User Interface Editor

As the name suggests, the user interface editor is used to set the sequence of the user interface dialog box displayed during installation on the target machine.



Figure 4

As shown in figure 4, the User Interface Editor contains two installation modes:

(1) installation: lists all the dialogs to be displayed when the end user executes the installation program.

(2) Administrator installation: lists the dialog boxes to be displayed when the Administrator uploads the installation program to a network location and then performs the installation.

In the "Install" and "Administrator install" modes, predefined dialog boxes can be divided into three categories:

(1) Launch dialog box: the dialog box displayed before installation starts.

(2) Progress dialog box: displays the installation progress dialog box.

(3) end dialog box: a dialog box is displayed, indicating that the installation is successful. You can use this dialog box to start the application.

It is convenient to adjust the sequence of the user interface dialog box. You only need to move the dialog box to the appropriate position by dragging and dropping. Even if not configured, a set of default dialogs shown in Figure 4 are always displayed during the installation of the application.

■ Add a startup Screen

In the User Interface Editor, we can easily add additional dialog boxes to be displayed during installation. Right-click the "Start" node and select "add dialog box". In the "add dialog box" window, select the dialog box to be added from the dialog box list, that is, "Start Screen ", see Figure 5. After adding the dialog box, we can use the drag-and-drop method to adjust its display time.



Figure 5

Because the "Boot screen" is always displayed at the beginning of installation, we need to drag it to the beginning of the dialog box sequence. In the launch screen window, we can display a bitmap. The method of adding a bitmap is: Right-click the "Start Screen" node in the user interface editor and select the menu "Properties window ", set the value of the SplashBitMap attribute to an appropriate image file (bmp or jpg file ).

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.