InstallShield summary series InstallShield script Project

Source: Internet
Author: User

I have talked about basic MSI project in the previous article. The difference between them is:

In terms of functions, the InstallShield script project is more elastic and can customize more things. The dialog box can be easily customized and their display sequence has been controlled.

In terms of mechanism, InstallShield script is based on InstallShield installe engine and does not require Windows Installer engine. It supports more InstallShield functions and dialog boxes.

 

The following are some common technical points to understand the InstallShield script project:

1. Maintenance Mode

Oninstallaing ()

It corresponds to the-unistall command. In InstallShield 2009 and earlier versions, selecting "Uninstall" in the control panel triggers this command. However, after InstallShield 2011, uninstall will call

-Removeonly: the first function to respond to this message is onmaintainuibefore (). The default value isCodeWill collaborate with the corresponding products.

 

Removeonly & removeallmode & removeall

Removeonly and removeallmode are both flags, and their values are true or false.

Call removeonly to set removeonly to true, that is, to inform the developer that this is the uninstall mode called through the command line.

By selecting removeall in maintaince Dialog (a value predefined by InstallShield), removeallmode is set to true.

 

Silent Installation

You must first record the installation script, that is, the. ISS file. It should be noted that the installation process must be strictly as described in. ISS; otherwise, the installation will fail. If you have many options during the installation process, you need to record multiple. ISS files.

 

2. Upgrade and install

Corresponding to InstallShield script. During upgrade, note that the merge module may not be updated. No reason is found yet. Currently, we use the walk around und method, that is, modifying the merge modulecomponent ID to complete the upgrade and installation.

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.