【InstallShield】入门介绍

主要参考InstallShield 2021 Help Library

Installation Fundamentals

An installation is divided into three levels: products, features, and components. The following diagram illustrates this hierarchy:
在这里插入图片描述
A product is the highest level of organization in an installation project. A product is usually one main application (for example, a word processor) and all of the files and data that the application requires; a suite of applications may also be a product.

A feature is the smallest installable part of a product, from the end user’s perspective.

Each feature in a project is made up of one or more components. A component is the smallest installable part of a product from the installation developer’s perspective; components are invisible to the end user.

When you are designing an installation, the overall task is to separate the product’s files into components based on the files’ destination, operating system, language, and other properties, and to associate each component with one or more features.

Application Lifecycle

在这里插入图片描述
The above diagram illustrates how FlexNet Connect is used to manage the application lifecycle:

  1. Create Install—InstallShield makes it easy for software developers to create installations that run on any platform.
  2. Run Install—Installations created with InstallShield technology have successfully installed on over 400 million machines worldwide.
  3. Create Update—InstallShield enables software developers to rapidly build patches and updates.
  4. Notify User—FlexNet Connect notifies every user that a new update is ready to be installed.
  5. Download & Install—FlexNet Connect downloads the update and installs it in one seamless, integrated process.
  6. View Reporting—FlexNet Connect provides immediate feedback on the update’s adoption rate.

InstallShield project

An InstallShield project specifies the files, folders, and operations that make up the project’s output. A project’s output is one of the following (depending on the project type):

• Installation: creates or updates a copy of your application on the target system
• Redistributable (merge module or InstallShield object): contains logic and files needed to install distinct pieces of functionality when included in an installation
• Transform: enables an administrator to apply modified settings to an Windows Installer installation when deploying the installation

A project can be as simple or as complex as you need to meet your requirements. A simple project might consist of files, components, features, and registry entries. More complex projects might consist of these items plus redistributables, initialization file changes, and calls to external DLL functions.

项目类型

With InstallShield, you have the ability to choose between a variety of different installation project types—those that use InstallShield’s powerful InstallScript programming language (InstallScript), those that use the Windows Installer database (Basic MSI), or a combination of the two (InstallScript MSI).

The installation project type you choose depends on the needs of your software installation. InstallShield provides the same intuitive user interface for all project types, so your application’s needs can dictate the project type and your authoring experience does not change. Additionally, the knowledge gained by learning how to create projects of one type is applicable to projects of the other types.

Basic MSI Projects

适用于简单的项目

Basic MSI projects use the Windows Installer service to drive the entire installation, including calls to any custom actions (InstallScript, VBScript, JScript, .exe files, .dll files, managed code). The Basic MSI project type is recommended when you want to do any of the following:

• You want to meet the Windows logo program requirements.
• You want to maximize compatibility with administrative tools such as Microsoft System Center Configuration Manager, or if your software will be customized by corporate system administrators prior to deployment. The Basic MSI project type gives them the flexibility to create transforms for the installation package and its associated properties, without repackaging your installation.
You want to avoid writing scripting code and want to instead set properties and make table entries.
• You want to upgrade an existing Basic MSI project.

InstallScript Projects

适用于大部分情况

InstallScript projects use InstallScript to control the installation. This project type is recommended for any of the following scenarios:

• You have advanced requirements for the end-user experience (the end-user dialogs), such as multimedia elements.
• You want to use full-screen billboards during the run time of your installation.
• You prefer authoring the project using a procedural language at its core rather than a set of database tables.
• You want to perform actions before or after the main installation has been run.
• You want to upgrade an existing InstallScript project.

InstallScript MSI Projects

最复杂,但是功能也最为完善

InstallScript MSI projects use both the Windows Installer engine and the InstallScript engine to drive the installation. This project type is the most complicated since it uses both of those engines for the installation; it is not recommended for beginners. This project type may be recommended in the following scenarios:

• You want to meet the Windows logo program requirements.
• You have advanced requirements for the end-user experience (the end-user dialogs), such as multimedia elements.
• You prefer authoring the project using a procedural language at its core rather than a set of database tables.
• You want to perform actions before or after the main installation has been run.
• You want to upgrade an existing InstallScript MSI project.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值