InstallShield 2020 基本使用教程

这篇教程介绍了如何使用InstallShield2020创建安装项目,包括设置项目类型、应用信息、安装需求、程序文件、快捷方式、注册表项、安装界面和本地化,以及如何打包驱动程序。详细步骤指导帮助用户轻松打包setup.exe。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


title: InstallShield 2020 基本使用教程
date: 2021-07-24 12:16:48
tags: [InstallShield]


InstallShield 2020 基本使用教程

本教程使用 InstallShield 2020 进行教学

新建项目

image-20210722140809871

选择 HOME, 点击 New 进入 New Project 页面

image-20210722140934878

这里可以选择您需要的 Project Types,设置您的 Project Name 以及 Location,然后点击 OK 即可创建项目。

这里我以默认 Project Types 进行教学。

Project Assistant

顾名思义这是一个项目助手,它位于

image-20210722141827929

根据这里的指引一步一步的操作即可打包好一个 setup.exe。

Application Information

这一步用来设置应用程序信息,分别为公司名,应用名,应用版本与公司网址。

image-20210722142029162

Installation Requirements

如果需要一些安装环境,这里或许能够满足您的要求。

image-20210722142407440

如果不全,可打开 Installation Designer 界面,选择 Redistributables 这里会更全面一些。

image-20210722145631493

Installation Architecture

这个没使用过,如果读者有特殊的使用技巧,可私信我

image-20210722142500187

Application Files

重点:程序的文件夹需要使用 Add Folders 添加到 ProgramFilesFolder 中

image-20210722142904257

默认是安装到Program Files (x86)文件夹

如需要安装到Program Files文件夹需要做如下设置:

  • 点击 Installation Designer

    image-20210722143452795

  • 点击 INSTALLDIR,点击后面的三个点进入

    image-20210722143602411

    选择 ProgramFiles64Folder,并点击 OK

  • 返回 Installation Designer

    image-20210722143755708

  • 点击 Template Summary

    将 Intel;1033 修改成 X64;1033

  • 返回 Project Assistant

    image-20210722143956963

    即可看见 INSTALLDIR 变成了 ProgramFiles64Folder。

Application Shortcuts

这里可以设置 *.exe 的快捷方式,并可以生成卸载的快捷方式。

image-20210722144248012

左上角:Create an unstallation shortcut 可生成卸载的快捷方式。

image-20210722144355954

  • Create shortcut in Start Menu:生成启动界面快捷方式。(就是开始菜单(win键)上的快捷方式)
  • Create shortcut on Desktop:生成桌面快捷方式。
  • Use alternate shortcut icon:修改图标。(只支持 *.ico 格式的图片)

image-20210722144406490

如果需要添加,修改,删除快捷方式可使用

image-20210722144813977

Application Registry

需要读写注册表的话可以使用这个,但一般还是在程序中读写注册表比较好。

image-20210722144946465

Installation Interview

这些按需要去选择即可

image-20210722145108881

Installation Localization

安装时使用的语言

image-20210722145143335

Build Installation

一般使用第一个(Single Executable)就够了。然后点击 Build Installations 即可生成 setup.exe。

image-20210722145202308

setup.exe

点击 Open Release Folder 即可打开 setup.exe 所在的文件夹

image-20210722145431295

打包驱动

点击 PROJECT

image-20210722145837278

点击 Device Driver

image-20210722145915843

点击下一页

image-20210722145932167

点击 Browse… 选择驱动的 *.INF 文件

image-20210722150019868

点击下一页

image-20210722150030878

点击下一页

这一页中可选择您需要的选项

image-20210722150048225

点击下一页

选择机器的位数( 32 位或 64 位)

image-20210722150132796

点击下一页

image-20210722150224880

点击完成

返回 Project Assistant,点击 Application Files,即可看见驱动已导入。

image-20210722150344056

### InstallShield Installation and Configuration Guide For developers familiar with Windows-based development environments, tools like InstallShield provide comprehensive support for creating professional setup packages. The process of installing and configuring InstallShield involves several key steps to ensure a smooth experience. #### Prerequisites Before starting the installation of InstallShield, it is important to verify that the system meets all necessary requirements. This includes having a supported version of Microsoft Visual Studio installed on the machine as well as ensuring sufficient disk space and memory resources are available[^1]. #### Installing InstallShield The installation procedure begins by downloading the appropriate installer from Flexera’s official website or through licensed distribution channels. Once downloaded, executing the executable file will launch the Setup Wizard which guides users through each step required to complete the software deployment successfully. During this phase, options such as selecting components, specifying directories, and customizing settings can be configured according to project needs. ```powershell # Example command line arguments during silent install (hypothetical scenario) setup.exe /s /v"/qn INSTALLDIR=C:\Program Files\InstallShield" ``` #### Configuring Projects within InstallShield After completing the initial setup, launching InstallShield opens up its integrated development environment where new projects may be created based on templates provided out-of-the-box or customized further depending upon specific application packaging demands. Within these projects, various aspects including files, registry entries, shortcuts, etc., need proper configuration before generating final output setups ready for distribution. #### Building Packages Once configurations have been finalized, building processes compile all elements into distributable formats suitable for target platforms. Options exist here too regarding compression levels, security features, and more advanced topics related specifically towards optimizing performance while maintaining compatibility across diverse operating systems versions found commonly today in enterprise environments. --related questions-- 1. What are some common issues encountered when setting up InstallShield? 2. How does one integrate InstallShield with continuous integration pipelines effectively? 3. Can you explain how to handle multiple language support using InstallShield? 4. Are there any best practices recommended for securing applications packaged via InstallShield?
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值