UNLESS OTHERWISE PROVIDED BY WRITTEN AGREEMENT WITH WISE SOLUTIONS, INC., THIS
PUBLICATION, AND THE SOFTWARE SOLD WITH THIS PUBLICATION, ARE PROVIDED “AS IS”
WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
THE ENTIRE RISK ARISING OUT OF THE USE OR PERFORMANCE OF THIS PUBLICATION AND
SOFTWARE REMAINS WITH YOU. IN NO EVENT WILL WISE SOLUTIONS, INC., OR ANY OF ITS
SUPPLIERS, BE LIABLE FOR ANY LOST PROFITS, LOST SAVINGS, DIRECT, INCIDENTAL OR
INDIRECT DAMAGES OR OTHER ECONOMIC OR CONSEQUENTIAL DAMAGES, EVEN IF WISE
SOLUTIONS, INC., OR ITS SUPPLIERS, HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES. WISE SOLUTIONS, INC. RESERVES THE RIGHT TO MODIFY THIS DOCUMENT AT ANY
TIME WITHOUT OBLIGATION TO NOTIFY ANYONE. IN NO EVENT SHALL WISE SOLUTIONS, INC.’S
OR ITS SUPPLIERS’ LIABILITY UNDER THIS AGREEMENT EXCEED THE SUM OF ANY AMOUNTS PAID
HEREUNDER BY THE CUSTOMER TO WISE OR THE SUPPLIER.
Trademarks
Wise Solutions, Inc. owns a number of registered and unregistered Trademarks and Service Marks
(the “Marks”). These Marks are extremely valuable to Wise Solutions, Inc. and shall not be used by
you, or any other person, without Wise Solutions, Inc.’s express written permission. The Marks
include, but are not necessarily limited to the following: A
A
PPLICATIONWATCH™; CONFLICTMANAGER®; INSTALLATION DEVELOPMENT LIFE CYCLE™; INSTALLBUILDER®;
ACKAGEMANAGER™; SETUPCAPTURE®; SMARTMONITOR™; SMARTPATCH®; SOFTWARE DISTRIBUTION MADE
E
ASY™; SOFTWARE INSTALLATIONS MADE EASY®; VISUAL MSIDIFF™; VIRTUAL CAPTURE™; WEBDEPLOY™;
W
S
OLUTIONS®; WISESCRIPT™; WISESCRIPT EXPRESS™; WISEUPDATE®; WISEUSER®; and the Wise
Solutions logo.
In addition to Wise Solutions, Inc.’s Marks, some Wise Products may include Trademarks or Service
Marks owned by other corporations. These other Marks include, but are not necessarily limited to
M
Microsoft Corporation.
You shall not use any of the Trademarks or Service Marks of Wise Solutions, Inc., Microsoft
Corporation, or any other entity, without the express written permission of such Trademark or
Service Mark owner.
PPLICATION ISOLATION WIZARD™;
ISE INSTALLATION SYSTEM®; WISE PACKAGE STUDIO®; WISE SOFTWARE REPOSITORY™; WISE
ICROSOFT® WINDOWS® and MICROSOFT® VISUAL STUDIO® .NET, which are registered Trademarks of
Wise for Windows Installer is an installation development system for
creating and editing Windows® Installer (.MSI) installation packages. It is
a complete and user-friendly front end for generating Windows Installer
database files, which are executed by the Windows Installer engine. With
Wise for Windows Installer, you can create installations that are compliant
with Microsoft’s Windows 2000 logo program. Use Wise for Windows
Installer to edit and refine installations that you’ve converted from other
formats, and use it to import development projects.
Microsoft® Windows® Installer is a Microsoft technology that provides a
standard installation engine that can be used for the installation of any 32bit or 64-bit Windows software product. It resides on the destination
computer and performs the installation of applications. Windows Installer
technology provides developers with features not currently available in
traditional installation-building products.
Topics in this section cover:
! Documentation Roadmap.
! Getting Help and Product Support.
! How to Check Online Help.
! Getting Updates Over the Web.
15
1: WELCOME
Documentation Roadmap
The Wise for Windows Installer Reference Manual, online help, and Getting
Started Guide assume that you are proficient in the use of the Windows
operating system. If you need help using the operating system, consult its
user documentation.
Wise for Windows Installer often provides multiple ways to accomplish a
task. In some cases, you can use the main menu, the right-click menu, or
a toolbar, or you can press a key combination, but instructions in this
documentation generally include only the most convenient method. If you
are most comfortable with a particular method, check the right-click menu,
the main menu, and the toolbar to learn the options available to you.
To learn about Wise for Windows Installer, see the following:
! Reference Manual. The reference manual is available in .PDF format
from the Help menu. It contains detailed technical information and stepby-step instructions for performing common tasks. The Wise for
Windows Installer reference material consists of two reference manuals:
Wise for Windows Installer and WiseScript Editor. The Enterprise Edition
also includes a Software Manager reference manual. They contain
detailed technical information and step-by-step instructions for
performing common tasks. Each reference manual is available in .PDF
format from the individual product’s Help menu; select Reference
Manual. Printed manuals are available from Wise Solutions for a fee; see
Contact Wise Solutions Sales on page 19.
! Online Help. All the material in the reference manual is also available
in the online help system. To access the contents, index, and search
functions, select Help Topics from the Help menu. To access contextsensitive help, press the F1 key from any place in the product, and you
will see help that describes the part of the product that you are in.
! Getting Started Guide. The printed Getting Started Guide contains
system requirements, installation instructions, and a tutorial. You can
access a .PDF copy of the Getting Started Guide from the Help menu in
Wise for Windows Installer.
! Windows Installer SDK Help. You can access the online help for
Windows Installer by selecting Windows Installer SDK Help from the
Help menu within Wise for Windows Installer. This gives you access to
the developer documentation for Windows Installer, which is written by
Microsoft. Because Wise for Windows Installer is a front end for
Windows Installer, you can get more technical details about the way
Windows Installer works from its own help system. Also, the reference
manual and online help for Wise for Windows Installer often refer you to
the Windows Installer SDK Help for more details.
16
DOCUMENTATION ROADMAP
! Release Notes. You can access the product release notes by selecting
Release Notes from the Help menu. The release notes document, which
is in HTML format, lists new features, enhancements, bug fixes, and
known issues for the current version. It also links you to release notes
for previous product versions.
17
1: WELCOME
Getting Help and Product Support
Wise Solutions offers many resources to help you use our products. You
can search the product help or reference manual .PDF for answers, or you
can use one of the many support resources available to you as a registered
Wise Solutions customer.
Check Online Help
Press the F1 key to display a help window for the active page or dialog. You
can get help on most windows and dialogs in the product. Select Help
Topics from the Help menu to see all the information in the Reference
Manual presented on-screen.
Select other commands from the Help menu to view information on using
help, to view the Windows Installer SDK Help, to view the .PDF-format
Reference Manual, to view resources on the Web, or to upgrade to the
latest point release.
If you need help and cannot find the answer in the documentation, read
about our technical support options below.
Use the Wise Solutions Technical Support Center
Registered Wise customers can use the Technical Support Center, located
at support.wise.com, to access a wide array of technical support services.
At this Web site, you can submit online support requests, register products,
manage customer information, download updates, or search the
Knowledgebase. The Knowledgebase contains how-to procedures, answers
to common support questions, and workarounds.
Visit Our Newsgroups
Visit Wise Newsgroups by visiting www.wise.com/newsgroups.asp.
Newsgroup postings by fellow administrators contain answers, tips,
analysis, and other comments. Contribute your own expertise to help
others.
Subscribe to TechInfo
TechInfo is a free monthly e-mail newsletter that contains technical tips,
product updates, and other important technical information. To subscribe
or to read back issues, check the Support section at www.wise.com.
Ask Our Support Team
18
If you can’t find an answer in our online resources, Wise Solutions offers
flexible payment options to meet your support needs. You can obtain
support by phone or online at support.wise.com. For additional details
about our support services, see www.wise.com/supportoptions.asp or call
GETTING HELP AND PRODUCT SUPPORT
1-734-456-2600. Before you contact technical support, make sure you
have the following:
! Serial number and product version, which you can find by selecting
About... from the Help menu.
! Operating system version and service pack version if applicable.
! A description of what you do before the problem occurs.
! Your name, company name, and how to contact you.
! Contract number or payment information, if applicable.
Take Advantage of our Consulting and Training Services
When you have a challenging repackaging or installation problem, turn to
Wise Solutions for help. We put our expertise to work for you with script
writing, repackaging, installation development, and more. Upgrade your
personnel’s skills with one of our many training classes; check our Web site
(www.wise.com) for the schedule in your area. Our Web site also lists
consulting services that you can obtain for your company. Our solutions are
fully customizable to fit your project and budget.
Contact Wise Solutions Sales
Contact Wise Solutions’ Sales department to purchase additional products,
upgrades, support services, or consulting and training services.
U.S.: 1-800-554-8565
Europe/Netherlands: +31 70 392 72 20
Other International: 734-456-2100 (in U.S.)
Web Site: http://www.wise.com/ordercentermain.asp
19
1: WELCOME
Getting Updates Over the Web
The Check for Updates command on the Help menu provides an easy way
to get the latest version of Wise for Windows Installer using your active
Internet connection. Minor point releases (x.01, x.02, and so on) are
generally free, while major number releases generally incur an upgrade
fee. Point releases generally contain maintenance updates such as bug
fixes and minor feature additions.
To check for updates:
1. Connect to the Internet.
2. In Wise for Windows Installer, select Check for Updates from the Help
menu.
You are connected to the Product Updates page of the Wise Solutions
Web site.
• If you have not registered this product, follow the screen prompts to
register. After you complete the registration, go to the Support page,
click the link to the Download Center, and click the link to the
Updates page.
• If you have registered this product, you are connected to the
Updates page.
3. Follow the instructions on the Web page to download the appropriate
update.
" Note:
Wise for Windows Installer can remind you to check for updates. On the General
tab of the Preferences dialog, select an option in the Check for Updates dropdown list. This sets the frequency at which you want to be reminded to check for
updates.
20
Chapter 2
Wise for Windows Installer
Basics
Read this overview before creating your first installation. It contains
information on getting started with Wise for Windows Installer. Topics
cover:
! Wise for Windows Installer Editions.
! Options for New Installations.
! File Types.
! Project Files and Database Files.
! Specifying the Target Platform.
! Using Installation Expert.
! Compiling, Testing, and Running Your Installation.
! Using the Task List.
! Creating and Editing Installation Templates.
! Setting Preferences.
! Component Rules.
! Where are Installation Resources Stored?
! Using the Enterprise Edition.
! Downloading Redistributable Files such as merge modules and Windows
Installer and .NET runtimes.
! Command Line Options.
! Automating the Build Process.
21
2: WISE FOR WINDOWS INSTALLER BASICS
Wise for Windows Installer Editions
Wise for Windows Installer is available in three editions, each designed to
fulfill the needs of a particular type of user. The version you purchase
determines what features are available to you.
! Enterprise Edition is a Windows Installer® and .NET authoring tool that
supports organizations that develop multiple software applications
which share common resources. It helps professional developers create
installations that adhere to their organization’s standards, thereby
decreasing the risk of deployment errors.
! Professional Edition is a Windows Installer® and .NET authoring tool
designed for professional software developers who want to create
installations for the next generation of applications, including desktop,
server, Web, and mobile devices.
! Standard Edition is an installation authoring tool designed for
professional software developers who want basic but robust support for
creating Windows Installer® and .NET installations.
The following table, which intentionally does not mention all features, only
summarizes the differences between each edition. If a particular feature is
not listed, then it is included in all product editions. For a more
comprehensive list of all features, refer to the Products section of the Wise
Solutions Web site (www.wise.com). For a list of new features and
enhancements in the current release, refer to the Release Notes, which are
in an HTML file available from the Help menu.
FeatureStdProEnt
General
Specify the target platform for an installationXX
Create configurable merge modulesXX
Macro EditorXX
OLE AutomationXX
User-defined tasksX
Use merge modules from the Wise Software RepositoryX
Enable the Logon Information dialog to configure server software after
installation to run under a particular user
XX
Debugger for Windows InstallerXX
WiseScript ExpressXXX
Preferences
22
WISE FOR WINDOWS INSTALLER EDITIONS
FeatureStdProEnt
Repository settingsX
Sharing Installation Resources
Share installation resources in the share point directoryX
Distribute to the share point directoryX
View resources shared by other applicationsX
Shared Resource Reports in Wise for Windows InstallerX
Installation Expert Pages
.NET Framework Security pageXX
Clean Build pageXX
Mobile Devices pageXX
MTS/COM+ pageXX
SQL Server Scripts pageXX
Virtual Directories page and ability to install Web applicationsXX
WebDeploy pageXX
WiseUpdate pageXX
Tools
Patch Creation tool and patch supportXXX
Software ManagerX
Upgrade SyncXXX
Package Validation tool
Turn individual rules on and offXX
Create a new validation module (.CUB file)X
Create new validation rulesX
23
2: WISE FOR WINDOWS INSTALLER BASICS
Options for New Installations
When you create a new installation, you first choose what kind of
installation you want to create. The New Installation File dialog shows
several options, each of which starts an installation in a different way. You
can create new files either in Windows Installer database format (.MSI/
.MSM) or in Wise’s project format (.WSI/.WSM). Some options let you start
a new installation by using a tool, such as Palm Application, and some let
you create different kinds of Windows Installer installations from
templates.
! Predefined Templates. Templates created by Wise Solutions.
• Windows Application. See Starting a New Installation on page 85.
• Web Application. See Setting Up a Web Application Installation on
page 218.
• Server Application. See Obtaining Logon Information From a
Dialog on page 508. Installations created from this template work
only on Windows NT, Windows 2000, or Windows XP.
• Pocket PC Application. See Creating a Pocket PC or Smartphone
Installation on page 238.
• Palm Application. See Palm OS Installations on page 249.
• Smartphone Application. See Creating a Pocket PC or
Smartphone Installation on page 238.
! Custom Templates. If you make your own templates, they appear
under this category. See Creating and Editing Installation Templates on
page 44.
! Other Templates.
• Merge Module. See Creating a Merge Module by Creating a New
Installation on page 359.
• Transform. See Creating a Transform Based on an Existing .MSI on
page 381.
! Conversion Tools. Templates that open wizards to convert installations
from other formats.
• SMS Installer or WiseScript Installation. See Convert SMS
Installer or WiseScript Installation on page 392.
• InstallShield Professional. See Convert InstallShield Professional
on page 390.
24
OPTIONS FOR NEW INSTALLATIONS
! Import Tools. The following tools import a development project file
into an installation. Target file information is extracted from the project
file and added to the installation. See Import Visual Studio Projects on
page 394.
• Visual Basic.
• Visual C#.
• Visual J#.
When you choose an option above, you can also choose the format of the
file:
! Create standard .MSI or .MSM file that contains all binary and
cabinet files. Mark this option to create a new Windows Installer
installation file. Because the installation file generally encapsulates all
the files of the installation, an .MSI is usually larger in size and takes
longer to save. Also, some options that determine the output of an .MSI
file are not available if you choose to work with the .MSI file itself. To
create a project file that contains instructions for compiling the .MSI or
.MSM file, select the option below.
! Create .WSI or .WSM project file that can be compiled into an
.MSI or .MSM. Mark this option to create a project file instead of a
installation file. Unlike .MSI files, project files are NOT installation files
that can be distributed; they describe and compile to a distributable
.MSI file. Working in a project file lets you edit and save the .WSI file
quickly and gives you more options for outputting the .MSI file. A .WSI
file compiles to an .MSI file, and a .WSM file compiles a .MSM file
(merge module).
The Target Platform section appears if the Prompt for target platform
option is marked in the Target Platform tab of the Preferences dialog. For
information about 64-bit installations, see What’s Different in a 64-Bit
Installation? on page 30.
! Create installation for 32-bit platform enables the installation for
32-bit platforms.
! Create installation for 64-bit platform enables the installation for
64-bit platforms.
25
2: WISE FOR WINDOWS INSTALLER BASICS
File Types
Wise for Windows Installer lets you create and edit different types of
Windows Installer database files, which can be executed by the Windows
Installer software. You can either create and edit the actual Windows
Installer database file, or create and edit a project file that contains
instructions for compiling the Windows Installer database file; see Project
Files and Database Files on page 28. There are distinct file types for
standard installation database files, merge modules, patch files, and
transforms. Each extension is described below.
ExtensionDescription
.MSIWindows Installer file. An .MSI is a distributable Windows Installer
installation package file. The .MSI file extension is associated with the
Windows Installer executable, MSIExec.EXE. When a file with this
extension is opened on a destination computer, the Windows Installer
software executes it, thereby installing an application. You can open and
edit .MSI files in Wise for Windows Installer; however, because you are
already working in an .MSI file, options that have to do with creating an
.MSI file, such as those on the Releases, Release Settings, and Media
page, are disabled. You can convert an .MSI to a project file (.WSI); see
Converting an .MSI to a .WSI File on page 349.
.WSIWise for Windows Installer project file. A project file stores a description
of a Windows Installer installation package (.MSI file), and is in the same
format as an .MSI file. The .WSI file extension is unique to Wise for
Windows Installer. You can open the .WSI file in Wise for Windows
Installer and click the Compile button to create the corresponding .MSI
file. The advantages of working in a .WSI file instead of directly editing an
.MSI file are that the .WSI file is smaller in size, and that you can set
multiple options for the output of the .MSI file.
.MSMWindows Installer merge module. Merge modules are pre-compiled
libraries of components (files, registry changes, and other system
changes) that install a discrete portion of your application. They cannot
be run alone, but must be merged with a Windows Installer database
(.MSI). Merge modules give you flexibility in developing installations
because you can break the installation of your application into logical
parts and share merge modules between projects. See About Merge
Modules on page 358.
26
FILE TYPES
ExtensionDescription
.WSMWindows Installer merge module project file. This file extension is unique
to Wise for Windows Installer. It is a project file that stores a description
of a Windows Installer merge module (.MSM), but does not store the
merge module contents. You can open the .WSM file in Wise for Windows
Installer and click the Compile button to create the corresponding .MSM
file. See About Merge Modules on page 358.
.MSTWindows Installer transform file. A transform changes a Windows
Installer package at runtime, and must be applied from the command
line. See About Transforms on page 380.
.MSPWindows Installer patch. A patch is a small update that only updates an
existing installed application. Patch installations contain only the
differences between the old and new versions of an application. You
create a patch installation by using the Patch Creation tool. This creates
an .MSP file that you distribute to end users. See Patches on page 315.
.PCPWindows Installer patch creation project file. Contains the settings and
other information necessary to compile a Windows Installer patch. When
you use the Patch Creation tool to create a patch, a patch creation project
file is created for you automatically. See Patches on page 315.
.EXEYou can choose to have the .MSI file wrapped inside an .EXE file. Doing so
gives you the option of pre-installing the Windows Installer database
engine before performing your own installation. If there is a possibility
that the Windows Installer database engine is not on the destination
computer, then use this option because your .MSI file cannot run if the
Windows Installer database engine is not installed. See Setting Build
Options for a Release on page 187 for more information.
27
2: WISE FOR WINDOWS INSTALLER BASICS
Project Files and Database Files
In most cases, the setup program that you distribute will be an .MSI file.
Windows Installer operates on .MSI files, which are a type of relational
database that stores installation information and files in tables. See About
Microsoft Windows Installer on page 628.
On the Build Options page (see Setting Build Options for a Release on
page 187) or on the Media page (see Setting Up Media for Distribution on
page 201), you can specify to output an installation in different ways:
! As a single-file .MSI, which contains compressed installation files.
! As an .MSI file that has external compressed .CAB files.
! As an .MSI file that has external uncompressed files.
! As an .EXE file that contains the .MSI and installation files. This method
provides the ability to pre-install Windows Installer or other runtimes.
When you create an installation, you can choose to work either in a .WSI
(project) file or an .MSI file. The same applies to merge modules; work in a
merge module (.MSM) file or a Wise merge module project (.WSM) file.
How are
installation files/
paths stored?
Can you create
releases?
If you work in .WSI or .WSM
(Wise project)
Externally. The project contains
paths to the installation files. During
compile, they are compiled into the
resulting .MSI or .EXE.
Yes. Use the Releases page and
other pages under Release Definition
in Installation Expert.
If you work in .MSI or .MSM
(Windows Installer database)
Inside the database file. Files are
refreshed from disk unless you
mark the Don’t update or recompress files ... option on the
Product Details page
No. Because you are already
working in the final output file,
options for multiple output files are
disabled, which includes all pages
under the Release Definitions page
group in Installation Expert.
28
PROJECT FILES AND DATABASE FILES
Compiling does
what?
Can you switch
from working on
one file type to
the other?
If you work in .WSI or .WSM
(Wise project)
Reads the project information and
compiles a database file, which
contains installation files.
You can switch from working in a
project file to working in a database
file by compiling the project,
opening the resulting database file,
and continuing further development
in the database file. However, an
.MSI file created by compiling a
.WSI does not contain file paths; it
contains only the files themselves.
Therefore, any files added prior to
the switch will not be refreshed from
disk because they have no file path.
Only those files you add after the
switch contain file paths and are
refreshed from disk.
If you work in .MSI or .MSM
(Windows Installer database)
Refreshes installation files from disk
unless the Don’t update or recompress files ... option is
marked on the Product Details
page.
Use the MSI to WSI Conversion tool
(see Converting an .MSI to a .WSI
File on page 349) to convert an
.MSI to a .WSI. It extracts
installation files from an .MSI,
saves them to disk at the locations
you specify, and creates a .WSI file
that points to those files.
29
2: WISE FOR WINDOWS INSTALLER BASICS
Specifying the Target Platform
Professional and Enterprise Editions only.
#
By default, installations you create are for 32-bit platforms. You can also
create an installation for a 64-bit installation using the Preferences dialog;
see Setting the Target Platform on page 56.
" Note:
64-bit installations are supported only by Windows Installer 2.0 or higher.
To create a 64-bit installation:
1. Select Preferences from the Edit menu. The Preferences dialog appears.
2. On the Target Platform tab, do one of the following:
• If you want all future installations to be 64-bit, mark the Default to
64-bit... option.
• If you want to determine the target platform for each new
installation you create, mark the Select platform in New Installation File dialog option.
3. Close the Preferences dialog.
4. From the File menu, select New. The New Installation File dialog
appears. It contains a Target Platform section if you marked the Select platform... checkbox.
5. If you see a Target Platform section, mark the 64-bit... option and click
OK. Otherwise a 64-bit installation is created automatically.
What’s Different in a 64-Bit Installation?
# Professional and Enterprise Editions only.
A 64-bit installation file differs from a 32-bit installation in the following
ways:
! The minimum version of Windows Installer is set to 2.00. This is located
in the Installer Version field on the General Information page in
Installation Expert. You should not change this value in a 64-bit
installation, because 64-bit installations are not supported by Windows
Installer versions lower than 2.0.
30
Loading...
+ 626 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.