09.12.2012 Views

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2: Getting Started<br />

Overview of Installations<br />

same operating system or language. A dictionary feature might contain several language-specific<br />

dictionary components. In addition to containing files, components generally contain registry data,<br />

shortcuts, file extension information, and other system data to write to a user’s machine.<br />

Overview of Installations<br />

Even if you are unaware of what a setup is, chances are you have used one before. If you have ever<br />

installed a product onto your computer, you have seen a setup in action, from the end user’s perspective.<br />

The setup transfers files from the source medium to your local drive. It also makes the required registry<br />

entries, creates shortcuts, and registers COM servers. Setups commonly gather information about the<br />

target machine and the user.<br />

Typical Elements of an Installation<br />

Perform File Transfer<br />

File transfer involves copying files from the source medium, such as a CD or a floppy disk, to a local drive<br />

on the end user’s machine. Depending on the configuration the end user chooses, all or only some of the<br />

files may be transferred to the local disk. During file transfer, a setup can display billboards that provide<br />

product information such as new features or usability tips. A status bar may also be displayed to show<br />

the progress of the file transfer process.<br />

Display <strong>User</strong> Interface<br />

The user interface of a setup provides information and setup configuration choices to the end user.<br />

Through the user interface an end user can choose to install only part of a product, choose to leave some<br />

files on the source medium, view a license agreement, or provide information to the installer that may be<br />

necessary to ensure the proper configuration of the installation. The user interface can be customized to<br />

meet whatever needs you may have. For example, you can prompt a user for a serial number before<br />

starting the installation if you want to protect your software against illegal use.<br />

Create Shortcuts<br />

Shortcuts are links to files and applications that can be created on the end user’s machine during a setup.<br />

Shortcuts are often placed on the desktop or the Start menu of the target machine to provide quick and<br />

easy access to a program or its files.<br />

Register File Associations<br />

If your product uses a distinct file type you need to register those file types on the end user’s system. For<br />

example, Notepad creates a file with a .txt extension. In order for a file type to be recognized by your end<br />

user’s system, it must be registered in the system registry. The process of registering a file type is<br />

handled during a setup.<br />

Register COM, COM+, and DCOM Files<br />

COM servers (such as ActiveX, COM, and COM+ files) require special registration so that applications<br />

can access the files’ interfaces. Traditionally, these EXEs, DLLs, and OCXs contained self-registration<br />

functions that could be invoked to register the files during installation. However, relying on selfregistration<br />

can cause some problems: the end user cannot always be certain of what information is<br />

being registered or that the registry entries will be fully cleaned up when the file is uninstalled.<br />

<strong>InstallShield</strong> <strong>2012</strong> <strong>Express</strong> <strong>Edition</strong> <strong>User</strong> <strong>Guide</strong> ISE-1800-UG01 47

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!