Re Packager User Guide
Re Packager User Guide
Re Packager User Guide
User Guide
Version 8.0
Repackager 8.0 User Guide
Part Number: RPK-0800-UG00
Product Release Date: 29 November 2006
Copyright Notice
Copyright © 2001–2006 Macrovision Corporation and/or Macrovision Europe Ltd. All Rights Reserved.
This product contains proprietary and confidential technology provided by and owned by Macrovision Europe Ltd., UK, and Macrovision Corporation of
Santa Clara, California, U.S.A. Any use, copying, publication, distribution, display, modification, or transmission of such technology in whole or in part in
any form or by any means without the prior express written permission of Macrovision Europe Ltd. and Macrovision Corporation is strictly prohibited.
Except where expressly provided by Macrovision Europe Ltd. and Macrovision Corporation in writing, possession of this technology shall not be construed
to confer any license or rights under any of Macrovision Europe Ltd. and Macrovision Corporation’s intellectual property rights, whether by estoppel,
implication, or otherwise.
ALL COPIES OF THE TECHNOLOGY and RELATED INFORMATION, IF ALLOWED BY MACROVISION CORPORATION, MUST DISPLAY THIS NOTICE OF
COPYRIGHT AND OWNERSHIP IN FULL.
Trademarks
Macrovision, AdminStudio, InstallShield, FLEXenabled, FLEXlm, FLEXnet, and FLEXnet Manager are registered trademarks or trademarks of Macrovision
Corporation, or other Macrovision companies, in the United States of America and/or other countries. All other brand and product names mentioned
herein are the trademarks and registered trademarks of their respective owners.
2 Welcome to Macrovision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Technical Support Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Contacting Macrovision Corporation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Excluding Directories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Editing Existing File Exclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Removing File Exclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Excluding .ini Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Excluding Sections from .ini Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Editing Existing .ini File Exclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Removing .ini File Exclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Excluding Registry Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Editing Existing Registry Exclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Removing Registry Exclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Working With Repackager Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Building an InstallShield Editor Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Building a Windows Installer Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Configuring Advanced Conversion Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Viewing Repackager Project Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Using the Setup Intent Wizard to Detect File Dependencies in a Repackager Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Creating a Setup Capture Report for a Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Saving Repackager Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Opening InstallShield Editor from Repackager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Scanning InstallShield Professional Setups for Additional Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Creating an InstallShield Editor Template to Use Within Repackager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Repackager Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Repackager Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Welcome to Repackager Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Menus and Toolbar. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Dialog Boxes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Repackaging Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Welcome Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Method Selection Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Snapshot Method Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Collect Product Information Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
InstallScript MSI Identified Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
InstallShield Professional Setup Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Set Target Project Information and Capture Settings Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
InstallScript MSI Conversion Output Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Repackaging Panel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Summary Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Additional Repackaging Wizard Dialog Boxes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Repackaging Wizard Command-Line Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Reboot Handling in the Repackaging Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
Installations created for the Windows Installer service dramatically differ from traditional installations,
making reusing legacy installations impossible without using a repackaging tool. Repackager assists you
by capturing the data placed on your system during installation and converting it into a Windows
Installer (.msi) package, which you can then customize and distribute according to your organization’s
needs.
Documentation regarding repackaging is presented in the following sections:
Section Description
About Repackaging Introduces you to repackaging, explains various repackaging methods, lists
Repackaging Best Practices, explains how to include the InstallScript Engine
with a Windows installer package, and reviews Repackager options.
Isolating Windows Installer Isolation reduces versioning conflicts by modifying an application so it always
Packages loads the versions of components—such as DLLs—with which it was
originally developed and tested. This section reviews isolation concepts and
options, and explains how to build an isolated Windows Installer package.
Creating Repackager Projects Explains how to repackage legacy installations using the Repackaging Wizard
and the Repackager interface. Repackaging produces a Repackager project
file (.irp), which can then be built into an InstallShield Editor project (.ism) or a
Windows Installer package (.msi).
Configuring Exclusions Explains how to use Repackager and the Exclusions Editor to configure the
exclusions used when repackaging a legacy installation.
Working With Repackager Projects Explains how to build an InstallShield Editor project and Windows Installer
package from a Repackager project.
Scanning InstallShield Professional Explains how to scan InstallShield Professional setups for possible additional
Setups for Additional Data files.
Section Description
Creating an InstallShield Editor Explains how to create an InstallShield Editor template to use to speed up the
Template to Use Within Repackager Repackaging process.
Using Help
Repackager online help can be opened from within the Repackager interface and also from Macrovision
HelpNet Web site.
Help Conventions
In this documentation, reader alert and style conventions are used to bring your attention to specific
information or help you identify information.
Note Notes are used to draw attention to pieces of information that should stand out.
Important Note Important notes are used for information that is essential for users to read.
Caution Cautions indicate that this information is critical to the success of the desired
feature or product functionality.
Tip Tips are used to indicate helpful information that could assist you in better utilizing
the desired function or feature.
Best Practices Best Practices alerts instruct you on the best way to accomplish a task.
Edition-Specific Note Edition-specific notes indicate that the information applies to a specific edition of a
product (such as Standard, Professional, or Enterprise edition).
Windows Logo Windows Logo Guideline alerts accompany Microsoft logo compliance
Guideline requirements and recommendations.
Style Conventions
The following style conventions are used throughout this documentation.
User Interface On the File menu, click Open. User interface elements appear in bold when
Elements referenced in tasks.
File Name and My files are located in the File names and directory paths are presented
Directory Paths C:\MyDocuments\SampleCode directory. in a monospace typeface.
.INI File Text Insert the line LimitedUI=Y into the file to display Text in .INI files is presented in a monospace
only the Welcome dialog box when the Windows typeface.
Installer package is run.
Command-Line To run the installation silently, enter: Command-line statements and parameters
Statements are presented in a monospace typeface.
Setup.exe /s /v/qn
Environment Set the value of the windir environment variable to Environment variables are presented in a
Variables your monospace typeface.
Examples Create two groups, one called Admins and the Examples are presented in bold.
other called General.
Functions FeatureAddItem adds a new feature to a script- Functions are presented in presented in bold.
created feature set.
Properties In the Name property, enter a name for this custom Properties are presented in bold.
control that is unique among all of the controls in
your project.
Screen Output If you type an incorrect parameter, the message Screen output (from a log file or from the
The system cannot find the path console) is displayed in a monospace
specified. is displayed. typeface, and in blue.
Links Obtain the latest modules, white papers, project Links appear in blue. For external links that
samples, and more from: open in a new window, a New Window graphic
( ) follows the link.
http://www.macrovision.com/downloads
Macrovision Corporation is the market leader in electronic licensing, installation, and digital rights
management (DRM) technologies. Over 50,000 software vendors and virtually all of the Fortune 1,000
companies use Macrovision’s technologies to maximize the value of their software.
Software Value Management solutions bridge the gap between pricing and packaging software on the
development side, and purchasing and managing that software on the enterprise side. Macrovision
markets the FLEXnet Software Value Management platform, which includes the InstallShield suite of
software installation, repackaging, and update solutions; these solutions are deployed on more than 500
million desktops worldwide. Macrovision holds more than 910 software licensing, DRM, and content
protection patents worldwide. Macrovision is headquartered in Santa Clara, California, and has offices
worldwide.
Macrovision Solutions
Maximize the Value of Your Software
Software Value Management is a set of best practices that enables software vendors and their enterprise
customers to maximize the value of the software applications they create, use, and maintain.
After an application is developed by the engineering department, publishers use Software Value
Management tools to maximize the application’s revenue potential. These tools include installers and
licensing tools that help publishers flexibly package, price, and protect their products. Their enterprise
customers use Software Value Management tools to maximize the productivity that they get from the
software they purchase. These tools enable corporate IT staff to repackage applications, resolve potential
conflicts, optimize license purchases, and manage updates.
• Sell Software • FLEXnet Publisher—Price, package, protect your product, and manage
software licenses throughout the product’s lifecycle to better meet market
• Distribute Software
needs and maximize revenue.
• Service Software
• Renew Software
Enterprise IS and IT: • InstallShield and InstallAnywhere—Tools for authoring installations and
• Buy Software software management for any operating system.
• Private, on-site courses customized to your company’s needs are also available.
Visit http://www.macrovision.com/services/education/index.shtml today to learn more or fill out our
online form.
• Get personalized assistance from Macrovision’s senior engineers and support technicians.
Visit http://www.macrovision.com/support/index.shtml to learn more.
• Work alongside our experts to learn invaluable techniques and best practices.
Visit http://www.macrovision.com/services/consulting/index.shtml to learn more or fill out our online
form.
Knowledge Base
The Knowledge Base is accessible from the Support section of the Macrovision Web site at http://
www.macrovision.com/support/index.shtml. It contains answers to many commonly asked questions
and includes new information about Repackager that may not appear in the documentation. Click
Repackager on this page to open the Repackager-specific knowledge base. You can use the Knowledge
Base search engine to search articles by phrases, numbers, platforms, and version.
Support Site
In addition to enabling you to search the Knowledge Base, the Macrovision Support site at http://
www.macrovision.com/support/index.shtml helps you:
• Obtain Repackager updates.
• View webinars.
• Obtain Repackager white papers, case studies, marketing materials, and training materials.
Online Communities
The online communities are another excellent resource when you have questions about using
Repackager. In these communities, users like you share tips and ideas and help each other get the most
out of Repackager. Visit the communities in the Support section of our Web site, available at http://
community.macrovision.com.
United States
Macrovision Alicante Office Macrovision Corporation Tel: (34) 956 107 771
• Games Technologies Av. Jaime I El Conquistador
Email: gamesales@macrovision.com
1-3 Bajo El Campello
Alicante 03560
Spain
Asia Region
Macrovision Japan and Asia K.K. Macrovision Corporation Tel: (81) (3) 5774 6253
Japan Office Aoyama Diamond Building 3F
Fax: (81) (3) 5774 6269
1-1-8, Shibuya, Shibuya-ku
Tokyo 150-0002 Japan Email: Sales-Japan@macrovision.com
Installations created for the Windows Installer service dramatically differ from traditional installations,
making reusing legacy installations impossible without using a repackaging tool. Repackager assists you
by capturing the data placed on your system during installation and converting it into a Windows
Installer (.msi) package, which you can then customize and distribute according to your organization’s
needs.
Documentation regarding repackaging is presented in the following sections:
Section Description
About Repackaging Introduces you to repackaging, explains various repackaging methods, lists Repackaging
Best Practices, explains how to include the InstallScript Engine with a Windows installer
package, and reviews Repackager options.
Isolating Windows Isolation reduces versioning conflicts by modifying an application so it always loads the
Installer Packages versions of components—such as DLLs—with which it was originally developed and tested.
This section reviews isolation concepts and options, and explains how to build an isolated
Windows Installer package.
Creating Repackager Explains how to repackage legacy installations using the Repackaging Wizard and the
Projects Repackager interface. Repackaging produces a Repackager project file (.irp), which can
then be built into an InstallShield Editor project (.ism) or a Windows Installer package (.msi).
• Repackaging Legacy Installations Using the Repackaging Wizard
• Converting Legacy Installations Using the Repackager Interface
• Chaining Multiple Windows Installer Packages Together
Configuring Exclusions Explains how to use Repackager and the Exclusions Editor to configure the exclusions used
when repackaging a legacy installation.
Section Description
Working With Explains how to build an InstallShield Editor project and Windows Installer package from a
Repackager Projects Repackager project. The topics in this section include:
• Building an InstallShield Editor Project
• Building a Windows Installer Package
• Viewing Repackager Project Properties
• Using the Setup Intent Wizard to Detect File Dependencies in a Repackager Project
• Creating a Setup Capture Report for a Project
• Saving Repackager Projects
• Opening InstallShield Editor from Repackager
Scanning InstallShield Explains how to scan InstallShield Professional setups for possible additional files.
Professional Setups for
Additional Data
Creating an Explains how to create an InstallShield Editor template to use to speed up the Repackaging
InstallShield Editor process.
Template to Use Within
Repackager
About Repackaging
This section introduces you to repackaging, lists Repackaging Best Practices, and explains how to set
Repackager options.
• Purpose of Repackaging Applications
Media IS Professional 1.x to 5.1.x Repackaging Wizard Repackager project with no feature
delineation
Installation Monitoring or Snapshot
Project Repackager 3.x output (.inc) Repackager Interface Repackager project with no feature
delineation
Microsoft SMS projects (.ipf) Select Open on the File menu to have
Repackager automatically convert file
Novell ZENworks 3.0, 3.1, or 4.0
to a Repackager project
projects (.axt/.aot)
WinINSTALL projects (.txt) (6.0, 6.5,
7.x)
Wise installation projects (.wse)
InstallShield Pro log files (.isl) Repackager Interface Repackager project with feature
delineation
Select Open on the File menu to have
Repackager automatically convert file
to a Repackager project
Once you have created a Repackager project, you can visually examine the files, .ini files, shortcuts, and
registry data from the installation, and exclude any non-essential items. Then, you can build the
Repackager project into an InstallShield Editor project (.ism) for further editing, or create a Windows
Installer package (.msi).
Capture Everything using the Repackaging Wizard and Exclude Using the
Repackager Interface
You should repackage using the provided exclusions and then use the Repackager Interface to visually
remove unwanted items from the capture.
Because this occurs post-capture, you do not need to recapture the legacy setup if you inadvertently
exclude items from the Windows Installer package you are building.
Note: Since Windows Installer does not support packaging device drivers, you would need to create Custom Actions to
install device drivers. See Using Custom Actions in the Windows Installer help section for more information.
To ensure your machine is completely clean, run Repackager remotely over the network and store
output files to a network drive. For instructions on how to run Repackager over the network, see
Running the Repackaging Wizard Remotely
Tip: The clean system should have a baseline configuration for your target environment, and can be either a physical
computer or a virtual clean system created by a program such as VMware.
• If you make changes to a Windows Installer package, vendors will no longer provide support for that
product.
• If you repackage a Windows Installer package, the component codes within the package are not
retained and hence future patching or upgrades will not work.
• Traditionally, repackaging tools will ignore the Windows Installer-specific data in the Registry. This
will result in an incomplete package.
Language-specific templates are available when you purchase InstallShield Editor Language Packs.
1. Launch AdminStudio.
2. Click the Tools tab.
3. From the Tools Gallery, click the Repackager icon on the left side.
The Welcome to Repackager Page opens and you can begin the repackaging process.
Note: You can also launch Repackager directly from the Windows Start menu by pointing to All Programs,
Macrovision, Repackager 8.0 Tools, and clicking Repackager.
Task To change the way excluded and included data is displayed in Repackager:
4. Enter the directory paths to the custom merge modules. To specify multiple directories, separate the
folder paths with commas.
Note: You can click Browse and navigate to a directory, but if you browse to a second directory, its directory path
will replace the one you initially selected. Therefore, if you want to specify multiple directories separated by commas,
you need to manually enter the directory paths.
5. Click OK.
1. From the Repackager interface, select Options from the Tools menu. The Options dialog box
opens.
2. Open the Build Options tab.
3. To display any ICE validation warnings that occur during the Repackager Build process, select the
Display ICE validation warnings option. By default, this option is not selected.
• About Assemblies
• About Manifests
• Placing information traditionally stored in the Registry into other files that specify the locations of
these isolated components.
Application isolation provides increased stability and reliability for applications because they are
unaffected by changes caused by installation and ongoing maintenance of other applications on the
system.
Depending on the isolation options chosen, you can partially or totally isolate an application. When
using assemblies and manifests to isolate applications for Windows XP systems, the assemblies can be
updated following deployment without necessitating application reinstallation.
• You want to reduce the complexity of the installation by storing COM activation data in a manifest
instead of the registry.
• You want to insulate the application from changes to shared components.
Tip: Following isolation, you can use the Dynamic Dependency Scanner in InstallShield Editor to verify isolated files are
loaded from a different directory.
About Assemblies
Assemblies are DLLs or other portable executable files that applications require to function. Under
Windows XP, these can be either shared or private. Private assemblies are typically stored in the same
directory as the application they support. Shared assemblies are stored in the WinSxS directory, and are
digitally signed.
By creating manifests for assemblies, Repackager allows you to create self-contained applications that
can use different versions of the same DLL or other portable executable, without any version conflicts.
Shared Assemblies
Shared assemblies are assemblies available to multiple applications on a computer. Applications that
require these assemblies specify their dependence within a manifest. Multiple versions of shared
assemblies can be used by different applications running simultaneously.
These assemblies are stored in the WinSxS directory, and must be digitally signed for authenticity. After
deployment, the version of shared assemblies can be changed, allowing for changes in dependencies.
Private Assemblies
Private assemblies are assemblies created for exclusive use by an application. They are accompanied by
an assembly manifest, which contains information normally stored in the registry. Private assemblies
allow you to totally isolate an application, eliminating the possibility that dependent files may be
overwritten by other applications.
These assemblies are always stored in the same location as their associated executable.
About Manifests
Manifests, which are used during isolation, are XML files that describe an application. Repackager can
create two types of manifests: application manifests and assembly manifest.
For example, if the application was HelloWorld.exe, the manifest file is called:
HelloWorld.exe.manifest
For example, if the component was Goodbye.dll, the manifest file is called:
Goodbye.dll.manifest
Private Keys
A private key (a file with the extension .pvk) is granted by a certification authority. Repackager uses the
private key you enter in the Digital Signature tab of the Isolation Options dialog box to digitally sign
your shared assembly and ensure end users of its content's authenticity.
The .spc (Software Publishing Credentials) file and .pvk file you enter in the Digital Signature tab
compose the digital certificate for shared assemblies.
Contact a certification authority such as VeriSign for more information on the specifics of software
publishing credentials.
Caution: Certificate files must be 2048-bit or higher. For more information, see the article: Assembly Signing Example on
the Microsoft Developer Network Web site.
Note: For more information on assemblies and manifests, see About Assemblies and About Manifests.
Note: Manifests for shared assemblies must be digitally signed. See Setting Digital Signature Options for Shared
Assemblies.
Note: The modifications you make on the Isolation Options dialog box will be recorded in the isolationconfig.ini
file, which is stored in the AdminStudio Shared directory.
Note: The modifications you make on the Isolation Options dialog box will be recorded in the isolationconfig.ini file,
which is stored in the AdminStudio Shared directory.
Note: The modifications you make on the Isolation Options dialog box will be recorded in the isolationconfig.ini file,
which is stored in the AdminStudio Shared directory.
4. Click the Browse ( ) button next to the Certificate File field and navigate to the certificate file
you are using to sign assemblies.
A digital certificate identifies you and/or your company to end users and assures them the data they
are about to receive has not been altered.
5. In the Code Signing Technology area, select the type of code signing technology you want to use
for the digital signature. You can use one of the following technologies:
Technology Description
Credentials Select this option to use credential files as the code signing technology. If you select
this option, you must supply the name and location of both your software publishing
credential files:
• SPC File—Specify the name and location of your software publishing credentials
file (.spc).
• PVK—Specify the name and location of your private key file (.pvk).
In order to receive a software publishing credentials and a private key, you must
supply a certification authority, such as such as VeriSign, with specific information
about your company and software.
Certificate Name in the Select this option to use the name of an existing certificate file in the Certificate Store
store as the code signing technology. The Certificate Store is a central repository for
certificate files. Using a Certificate Store allows you to reuse the certificate files for
different purposes as necessary.
As an alternative to providing .spc and .pvk files, you can specify the certificate
name as it appears in the certificate store.
For more information on how Repackager isolates applications and the available isolation options, see
Isolating Windows Installer Packages.
Repackaging Methods
Repackager supports three methods of repackaging:
Installation Monitoring Repackager monitors system changes as an application is installed, and that data can be
Method converted into a Windows Installer package. Installation Monitoring is the default method.
Snapshot Method Repackager compares a system snapshot before and after an installation, determines the
changes that were made, and that data can be converted to a Windows Installer package.
InstallShield Repackager reads logged output of InstallShield Editor and DevStudio 9.x InstallScript
Professional Logging installations to obtain additional information that would not be captured by repackaging,
Method such as path variables and a feature tree.
Snapshot Method
When using the Snapshot method, the Repackaging Wizard takes a reference snapshot of a system as a
baseline configuration, performs the installation, and then takes a second snapshot.
The difference between the two snapshots is stored in a directory you specify, along with the Repackager
output file (.inc). This file can then be converted into a Windows Installer package (.msi) using
Repackager.
Note: The InstallShield Professional Logging Method is supported for InstallShield Editor and DevStudio 9.x InstallScript
installations.
Using the InstallShield Professional Logging Method, Repackager can read logged output of
InstallShield Editor and DevStudio 9.x InstallScript installations. This enables Repackager to capture
additional information from those installations that would not be captured by the Installation
Monitoring or Snapshot methods: path variables and the feature tree.
Path Variables
When using the InstallShield Professional Logging Method, path variables are captured and converted
into properties (using text substitution rather than hard-coded path names).
For example, if you were using a standard repackaging method, the path name of the application’s
executable file would be captured as follows:
C:\Program Files\CompanyName\ApplicationName\ProgramName.exe
When using the InstallShield Professional Logging Method, the executable path name would be
captured using a path variable instead of a hard-coded path name:
[INSTALLDIR]\ProgramName.exe
Feature Tree
The InstallShield Professional Logging Method is able to group files, shortcuts and registry entries into
features corresponding to InstallShield Professional components. Any items (files, folders, shortcuts, or
registry entries) that are attached to a component directly or indirectly (through File Groups), are
attached to corresponding features.
If you do not use the InstallShield Professional Logging Method to repackage a InstallShield Editor or
DevStudio 9.x InstallScript installation, all files, shortcuts and registry entries would be installed
together as one feature.
When you are repackaging a InstallShield Editor or DevStudio 9.x InstallScript installation and want to
use the InstallShield Professional Logging Method, you can select either Installation Monitoring or
Snapshot on the Method Selection Panel. However, if you select the Snapshot method, you must
select Single Step on the Snapshot Method Panel (which would open next).
Caution: If you select the Snapshot / Multiple Steps repackaging method, Repackager will not recognize the setup as an
InstallShield Editor or DevStudio 9.x InstallScript installation and the InstallShield Professional Setup Panel will not open.
After you select the Installation Monitoring or Snapshot method, and then specify an InstallShield
Editor or DevStudio 9.x InstallScript installation on the Repackaging Wizard’s Collect Product
Information Panel, Repackager will automatically detect the InstallScript installation and will display
the InstallShield Professional Setup Panel. On this panel, you can choose to use the InstallShield
Professional Logging Method instead of the repackaging method you chose on the Method
Selection Panel.
For instructions on how to use the InstallShield Professional Logging Method when repackaging
InstallShield Editor or DevStudio 9.x InstallScript installations, see Repackaging Using the InstallScript
Professional Logging Method and InstallShield Professional Setup Panel.
Repackaging You can use the Repackaging Wizard to convert the following installations:
Wizard
• InstallShield Professional 1.x to 5.1.x
• InstallShield Professional 5.5 to 7.x
• InstallShield InstallScript MSI
• InstallShield DevStudio 9.x InstallScript
• InstallShield Editor InstallScript
See Repackaging Legacy Installations Using the Repackaging Wizard.
Repackager You can use the Repackager interface to convert the following installations:
Interface
• Repackager 3.x output (.inc)
• Microsoft SMS projects (.ipf)
• Novell ZENworks 3.0, 3.1, or 4.0 projects (.axt/.aot)
• WinINSTALL projects (.txt) (6.0, 6.5, 7.x)
• Wise installation projects (.wse)
• InstallShield Professional log files (.isl)
See Converting Legacy Installations Using the Repackager Interface.
Note: For InstallShield Editor or DevStudio 9.x InstallScript installations, you can choose to use the InstallShield
Professional Logging Method instead of the Snapshot or Installation Monitoring methods.
When using the Repackaging Wizard to repackage a legacy setup, you can use any of the following
methods:
Installation Repackager monitors system changes as an application is installed, and that data can be
Monitoring Method converted into a Windows Installer package. Installation Monitoring is the default method.
See Repackaging Using the Installation Monitoring Method.
Snapshot Method Repackager compares a system snapshot before and after an installation, determines the
changes that were made, and that data can be converted to a Windows Installer package.
This is the default method.
See Repackaging Using the Snapshot Method.
InstallShield Repackager reads logged output of InstallShield Editor and DevStudio 9.x InstallScript
Professional Logging installations, allowing you to get additional information that would not be captured by standard
Method repackaging.
See Repackaging Using the InstallScript Professional Logging Method.
Using InstallScript You can use the Repackaging Wizard and InstallScript Scan to convert an InstallScript MSI
Scan installation to a Basic MSI package with InstallScript support. InstallScript Scan preserves the
original components and much of the InstallScript installation logic, architecture, and
maintainability of the original installation package.
See Repackaging an InstallScript MSI Setup to a Basic MSI Setup
1. From the Repackager interface, launch the Repackaging Wizard by clicking on the link or by
selecting Repackaging Wizard from the Tools menu. The Welcome Panel opens.
Note: The InstallShield Professional Logging Method, which should be used to repackage InstallShield Editor and
DevStudio 9.x InstallScript installations, is not offered as a choice on the Method Selection panel. See Repackaging
Using the InstallScript Professional Logging Method for more information on using that method.
• If you do not want to modify the default excluded processes list, continue with Step 3: Collecting
Product Information.
Tip: If you know that the installation that you are capturing is from a self-extracting .exe file and if you want to use the
Installation Monitoring method, you should add the name of that .exe file to the excluded processes list.
1. On the Method Selection Panel, click the Advanced Settings link. The Excluded Processes dialog
box opens, listing a default set of processes.
2. To add a process to this list, click the New ( ) button to add a new blank line to this list, and enter
the name of the process that you want to exclude.
3. To delete a process from this list, select the process and click the Delete ( ) button.
Note: The changes you make to the excluded processes list are persisted for future Repackaging sessions.
Therefore, once you have entered an appropriate set of processes to exclude for your machine, you can skip this
optional step.
1. On the Method Selection Panel, click Next. The Collect Product Information Panel opens.
2. Click the Browse ( ) button next to the Program File field and select the installation program
that you are repackaging.
3. In the Command-line Argument(s) field, enter any command-line arguments to be used when
the installation is run.
4. In the Product Information area, modify the Product Name, Version, and Company Name,
as necessary.
5. If you want to associate Web sites with this installation, click the More link to open the Additional
Product Information dialog box, enter the Product URL and Support URL for the application
you are repackaging, and click OK.
6. Continue with Step 4: Adding Additional Setup Programs (Optional).
• If you do not want to add additional setup programs, continue with Step 5: Set Target Project
Information.
1. On the Collect Product Information Panel, click the Edit Setup List link. The Additional Setup
Programs dialog box opens.
b. Click the Browse ( ) button next to the Program File field and select the setup program that
you want to add.
c. In the Command-line Argument(s) field, enter any command-line arguments to be used
when this setup is run.
1. On the Collect Product Information Panel, click Next. The Set Target Project Information and
Capture Settings Panel opens.
Note: If you specified an InstallShield Editor or DevStudio 9.x InstallScript installation in the Program File field of the
Collect Product Information Panel, the InstallShield Professional Setup Panel appears instead of the Set Target Project
Information and Capture Settings Panel. See Repackaging Using the InstallScript Professional Logging Method.
2. Click the Browse ( ) button next to the Project path to store files field and select the directory
where you want the Repackaging Wizard to place its output, including the Repackager project file
(.irp), the Repackaging Wizard output files, and source files.
You can also enter the name of a new folder in the Project path to store files field, and you will be
prompted to create it when you exit this panel.
3. Continue with Step 6: Set Capture Settings (Optional).
• Shortcuts
• If you do not want to set capture settings, continue with Step 7: Beginning the Repackaging Process.
1. On the Set Target Project Information and Capture Settings Panel, click Edit. The Analysis Options
dialog box opens.
Note: Options set in this dialog box apply to the current and subsequent repackaging sessions.
2. Select the capture types that you want to use for this repackaging session:
• Files
• Deleted files
• INI files
• Shortcuts
• Registry data
1. To begin the repackaging process, click Start on the Set Target Project Information and Capture
Settings Panel. The Repackaging Panel opens and the Repackaging Wizard captures the initial
system status. Then, the selected setup program will be launched.
2. Follow the prompts until the installation has completed. When the installation is complete, you are
prompted to make any additional changes to the system (such as deleting files and shortcuts) that
you want to be recorded in this repackaged installation.
3. When you are ready to complete the repackaging process, click Process. The Repackaging Wizard
then analyzes the system and setup data that it collected.
Following repackaging, the Summary Panel is displayed, providing confirmation that the
repackaging was successful.
4. Click Finish. Repackager launches and opens the Repackager project file (*.irp) that you just
created.
5. Continue with the instructions in Working With Repackager Projects.
Single Step
When Repackaging in a single step:
• You specify at least one setup program to repackage.
• Then Repackager takes a second snapshot to create the script file that can be converted into a
Windows Installer package.
You also have the option of requiring the Repackager to prompt you before running the setup
program(s), allowing you the opportunity to make changes to your system that you want included in the
final package.
See Performing Single Step Snapshot Repackaging.
Multiple Step
When repackaging in multiple steps:
• You to run the Repackager to obtain an initial system snapshot, after which the Repackager exits.
• You can then perform any modifications to the system, such as changing configurations, running
installations, and so forth.
• After making the necessary modifications, you would then run the Repackager again to analyze
system status changes.
The difference between the second Repackager execution and the first results in the script file that
ultimately can be converted into a Windows Installer package.
See Performing Multiple Step Snapshot Repackaging.
1. From the Repackager interface, launch the Repackaging Wizard by clicking on the link or by
selecting Repackaging Wizard from the Tools menu. The Welcome Panel opens.
Note: The InstallShield Professional Logging Method, which should be used to repackage InstallShield Editor and
DevStudio 9.x InstallScript installations, is not offered as a choice on the Method Selection panel. See Repackaging
Using the InstallScript Professional Logging Method for more information on using that method.
3. Select Snapshot and click Next. The Snapshot Method panel opens.
4. On the Snapshot Method panel, select Multiple Steps. The Analyze the initial system status
option is enabled.
5. Select the Analyze the initial system status option.
6. Continue with Step 2: Initial Analysis.
1. On the Snapshot Method panel, click Next. The Repackaging Panel of the Repackaging Wizard
opens, displaying the progress of the initial system status capture.
When Repackager finishes capturing the initial system status, the Summary panel opens,
prompting you to install the application you are repackaging.
1. On the Snapshot Method Panel, click Next. The Collect Product Information Panel opens.
Because you are now performing the second step of a multiple-step Snapshot, the Setup
Programs area is disabled (because you have already installed the application you are
repackaging).
2. In the Product Information area, modify the Product Name, Version, and Company Name,
as necessary.
3. If you want to associate Web sites with this installation package, perform the following steps:
a. Click the More link. The Additional Product Information dialog box opens.
b. Enter the Product URL and Support URL for the application you are repackaging.
c. Click OK.
4. Continue with Step 5: Set Target Project Information.
1. On the Collect Product Information Panel, click Next. The Set Target Project
Information and Capture Settings Panel opens.
2. Click the Browse ( ) button next to the Project path to store files field and select the directory
where you want the Repackaging Wizard to place its output, including the Repackager project file
(.irp), the Repackaging Wizard output files, and source files.
You can also enter the name of a new folder in the Project path to store files field, and you will be
prompted to create it when you exit this panel.
3. Continue with Step 6: Set Capture Settings (Optional).
• If you do not want to modify the default capture settings, click Next and continue with Step 7:
Beginning the Repackaging Process.
1. On the Set Target Project Information and Capture Settings Panel, click Edit. The
Analysis Options dialog box opens.
Note: Options set in this dialog box apply to the current and subsequent repackaging sessions.
2. Select the capture types that you want to use for this repackaging session:
• Files
• Deleted files
• INI files
• Shortcuts
• Registry data
3. If you want to restrict directory analysis to specific directories, click New. The Choose Directory
dialog box opens.
4. Select a directory and click OK. The selected directory is now listed on the Analysis Option dialog
box.
5. If you want to modify an existing restriction, or delete a restriction, select the directory and click
Edit or Delete.
6. Click OK to return to the Set Target Project Information and Capture Settings Panel.
7. Continue with Step 7: Beginning the Repackaging Process.
1. To begin the repackaging process, click Start on the Set Target Project Information and Capture
Settings Panel. The Repackaging Panel opens and the Repackaging Wizard captures the system
state changes.
When the Repackaging Wizard has finished analyzing the system state changes and creating the
Repackager project, the Summary Panel opens, providing confirmation that the repackaging was
successful and listing the location of your new Repackager project.
2. Click Finish. Repackager launches and opens the Repackager project file (*.irp) that you just
created.
1. From the Repackager interface, launch the Repackaging Wizard by clicking on the link or by
selecting Repackaging Wizard from the Tools menu. The Welcome Panel opens.
Note: The InstallShield Professional Logging Method, which should be used to repackage InstallShield Editor and
DevStudio 9.x InstallScript setups, is not offered as a choice on the Method Selection panel. See Repackaging Using
the InstallScript Professional Logging Method for more information on using that method.
3. Select Snapshot and click Next. The Snapshot Method panel opens.
1. On the Snapshot Method panel, click Next. The Collect Product Information Panel opens with the
Setup Programs and Product Information areas enabled.
2. Click the Browse ( ) button next to the Program File field and select the installation program
that you are repackaging.
3. In the Command-line Argument(s) field, enter any command-line arguments to be used when
the installation is run.
4. In the Product Information area, modify the Product Name, Version, and Company Name,
as necessary.
5. If you want to associate Web sites with this installation package, perform the following steps:
a. Click the More link. The Additional Product Information dialog box opens.
b. Enter the Product URL and Support URL for the application you are repackaging.
c. Click OK.
6. Continue with Step 3: Set Target Project Information .
1. On the Collect Product Information Panel, click Next. The Set Target Project Information and
Capture Settings Panel opens.
2. Click the Browse ( ) button next to the Project path to store files field and select the directory
where you want the Repackaging Wizard to place its output, including the Repackager project file
(.irp), the Repackaging Wizard output files, and source files.
You can also enter the name of a new folder in the Project path to store files field, and you will be
prompted to create it when you exit this panel.
3. Continue with Step 4: Set Capture Settings (Optional).
• If you do not want to modify the default capture settings, click Next and continue with Step 7:
Beginning the Repackaging Process.
1. On the Set Target Project Information and Capture Settings Panel, click Edit. The
Analysis Options dialog box opens.
Note: Options set in this dialog box apply to the current and subsequent repackaging sessions.
2. Select the capture types that you want to use for this repackaging session:
• Files
• Deleted files
• INI files
• Shortcuts
• Registry data
3. If you want to restrict directory analysis to specific directories, click New. The Choose Directory
dialog box opens.
4. Select a directory and click OK. The selected directory is now listed on the Analysis Option dialog
box.
5. If you want to modify an existing restriction, or delete a restriction, select the directory and click
Edit or Delete.
6. Click OK to return to the Set Target Project Information and Capture Settings Panel.
7. Continue with Step 7: Beginning the Repackaging Process.
1. To begin the repackaging process, click Start on the Set Target Project Information and
Capture Settings Panel. The Repackaging Panel opens and the Repackaging Wizard captures
the initial system status.
Depending upon whether you chose the Prompt before running the setup program(s) option
on the Snapshot Method Panel, either the installation that you selected will start or you will be
prompted to start it.
2. Install the application by following the prompts until the installation has completed.
3. When the installation is complete, you are prompted to make any additional changes to the system
(such as deleting files and shortcuts) that you want to be recorded in this repackaged installation.
4. When you are ready to complete the repackaging process, click Process. The Repackaging Wizard
then analyzes the system and setup data that it collected.
Following repackaging, the Summary Panel is displayed, providing confirmation that the
repackaging was successful and listing the location of the Repackager project that was just created.
5. Click Finish. Repackager launches and opens the Repackager project file (*.irp) that you just
created.
6. Continue with the instructions in Working With Repackager Projects.
1. Launch the Repackaging Wizard from Repackager. The Welcome Panel opens.
Caution: When you are attempting to repackage a setup using the InstallScript Professional Logging Method, you are
permitted to select either Installation Monitoring or Snapshot on the Method Selection Panel, but it is
recommended that you select Installation Monitoring.
If you were to select the Snapshot method, an additional panel opens, entitled Snapshot Method. On this panel, if you
select Multiple Steps instead of Single Step, Repackager will not recognize the setup as an InstallShield Editor or
DevStudio 9.x InstallScript installation and the InstallShield Professional Setup Panel will not open. You can avoid
this extra and possibly troublesome step by selecting Installation Monitoring on the Method Selection Panel.
4. On the Method Selection Panel, click Next. The Collect Product Information Panel opens.
Caution: Do not use the Edit Setup List link to add an additional setup program to this project. If you do,
Repackager will not recognize the specified installation as an InstallShield Editor or DevStudio 9.x InstallScript
installation and the InstallShield Professional Setup Panel will not open.
5. Click the Browse ( ) button next to the Program File field and select the InstallShield Editor or
DevStudio 9.x InstallScript installation that you are repackaging.
6. In the Command-line Argument(s) field, enter any command-line arguments to be used when
the installation is run.
7. In the Product Information area, modify the Product Name, Version, and Company Name,
as necessary.
8. If you want to associate Web sites with this installation package, perform the following steps:
a. Click the More link. The Additional Product Information dialog box opens.
b. Enter the Product URL and Support URL for the application you are repackaging.
c. Click OK.
9. Click Next. Because you specified an InstallShield Editor or DevStudio 9.x InstallScript installation
in the Program File field, the InstallShield Professional Setup Panel opens.
10. Select the Use InstallShield Professional logging instead of repackaging option.
11. Click Next. The Set Target Project Information and Capture Settings Panel opens.
12. Click the Browse ( ) button next to the Project path to store files field and select the directory
where you want the Repackaging Wizard to place its output, including the Repackager project file
(.irp), the Repackaging Wizard output files, and source files.
You can also enter the name of a new folder in the Project path to store files field, and you will be
prompted to create it when you exit this panel.
13. To begin the repackaging process, click Start on the Set Target Project Information and Capture
Settings Panel. The selected InstallShield Editor or DevStudio 9.x installation is launched.
Repackager then launches and opens the Repackager project file (*.irp) that you just created.
15. Continue with the instructions in Working With Repackager Projects.
Note: If you want to convert an InstallScript MSI package to a Basic MSI that preserves the InstallScript installation logic,
and you are using the Snapshot method, you must select Single Step rather than Multiple Steps. If you select Multiple
Steps, the InstallScript installation logic will not be preserved.
Task To convert an InstallScript MSI Setup to a Basic MSI Setup with InstallScript support:
1. Launch the Repackaging Wizard from Repackager. The Welcome Panel opens.
2. Click Next. The Method Selection Panel opens.
3. Select a repackaging method: Installation Monitoring or Snapshot.
4. Click Next. If you selected Snapshot on the Method Selection Panel, the Snapshot Method
Panel appears. (If you selected Installation Monitoring, skip to Step 6.)
5. Select Single Step and click Next. The Collect Product Information Panel opens.
Caution: Because you are converting an InstallScript MSI package to a Basic MSI package with InstallScript support,
you must select the Single Step Snapshot method (or use the Installation Monitoring method). If you select Multiple
Step Snapshot, the InstallScript installation logic will not be preserved.
6. On the Collect Product Information Panel, select the InstallScript MSI setup file and enter
other product information.
Caution: While it is possible to click the Edit Setup List button and select additional setups, because you are
converting an InstallScript MSI package, do not select additional setups.
Note: To specify capture types for the repackaging session, click the Edit button to access the Analysis Options
dialog box.
10. Click Next. The Repackaging Panel appears, displaying the progress of the repackaging
operation.
11. Following repackaging, the Summary Panel is displayed, providing confirmation that the
repackaging was successful.
12. Click Finish to launch the Repackager to edit and build your project. See Working With Repackager
Projects.
1. On a production machine that does not contain AdminStudio, download and install the standalone
version of Repackager 8.0. (You will not repackage legacy setups on this machine.) To download the
Repackager installation setup, go to the following URL:
http://support.installshield.com/kb/view.asp?pcode=ALL&articleid=Q108601
When installation is complete, the Repackager executable will be located in the following directory:
AdminStudio Installation Directory\Repackager\islc.exe
2. Share the Repackager directory on the production machine so it can be accessed from the network.
This can be done by right-clicking the directory in Windows Explorer and selecting Sharing from the
context menu.
3. Configure sharing rights as necessary. Click OK to close the dialog box.
4. From your clean system where you will repackage legacy setups, launch Windows Explorer and
select Map Network Drive from the Tools menu.
5. Specify the drive letter you want use to represent the shared location.
6. Click Browse and locate the directory you shared from the production machine. Click OK once you
select the folder.
7. Click Finish to exit the Map Network Drive Wizard.
Note: Set the Repackaging Wizard output location to a shared directory on the production machine to ensure output files
are written to the network rather than to the clean system.
Run this installation setup on a clean Windows NT system. When installation is complete, the
Repackager executable will be located in the following directory:
AdminStudio Installation Directory\Repackager\islc.exe
Tip: This will create shortcuts for Repackager and the Repackaging Wizard on the clean system. You can use them to
launch Repackager or the Repackaging Wizard for subsequent repackaging needs.
Option Description
-pp Specifies the name of the product (and the name of the Repackager output file).
Task To convert a Repackager 3.x output file (.inc) to a Repackager project (which can subsequently be built into a
Windows Installer package):
1. Launch Repackager.
2. On the File menu, click Open. The Open dialog box opens.
3. Change the Files of type filter to Legacy Repackager Files (*.inc).
4. Browse to locate the Repackager 3.x output file you want to convert.
5. Select the file and click OK.
The Repackager 3.x project is updated to the Repackager project (.irp) format. Files, .ini files,
shortcuts, and registry entries within the project are visible through the appropriate views in the
Repackager Interface.
Task To convert a Microsoft SMS project (.ipf) to a Repackager project (which can subsequently be built into a
Windows Installer package):
1. Launch Repackager.
2. From the File menu, select Open.
3. In the Open dialog box, change the Files of type filter to SMS Installer (*.ipf).
4. Browse to locate the SMS project you want to convert.
5. Select the project, and click OK.
The legacy project is converted to a Repackager project. Files, .ini files, shortcuts, and registry entries
within the project are visible through the appropriate views in the Repackager Interface.
Note: In order to convert an .aot file, the ZENworks Desktop Management Agent 6.5 or later (zenlite.dll) must be installed
on the workstation where Repackager is installed. If this agent is not installed, Repackager can only convert ZENworks
.axt files. See About .axt and .aot Application Object Template Files for more information.
• files to be copied
• changes to be made in the .ini files and system text files (autoexec.bat and config.sys)
Because an .axt file is a text file that can be edited with a text editor in order to modify it after it has been
created, it can be opened and converted by Repackager.
However, in order to convert a .aot file (which is not a text file), the ZENworks Desktop Management
Agent 6.5 or later (zenlite.dll) must be installed on the workstation where Repackager is installed. If
this agent is not installed, Repackager can only convert ZENworks .axt files.
Note: For information on installing the ZENworks Desktop Management agent (version 6.5 or later) to a workstation, see
one of the following:
• Novell ZENworks 6.5 Desktop Management Installation Guide
http://www.novell.com/documentation/zenworks65/dminstall/data/front.html
• Novell ZENworks 7 Desktop Management Installation Guide
http://www.novell.com/documentation/zenworks7/index.html?page=/documentation/zenworks7/dm7install/data/
front.html
Task To convert a Novell ZENworks project (.axt/.aot) to a Repackager project (which can subsequently be built
into a Windows Installer package):
1. Launch Repackager.
2. On the File menu, click Open.
3. In the Open dialog, change the Files of type filter to either Novell ZENworks (*.axt) or Novell
ZENworks (*.axt/*.aot).
Note: If the ZENworks Desktop Management Agent 6.5 or later (zenlite.dll) is installed on the workstation where
Repackager is installed, the Files of type filter will be Novell ZENworks (*.axt/*.aot). If this agent is not installed, the
Files of type filter will be Novell ZENworks (*.axt) and you will be unable to select .aot files as the legacy setup
source. See About .axt and .aot Application Object Template Files for more information.
Task To convert multiple Novell ZENworks projects (.axt/.aot) to a Windows Installer package, a Repackager
project, or an InstallShield Editor project:
[AXT]
C:\myData\Project1.axt
C:\myData\Project2.axt
C:\myData\Project3.axt
[AOT]
C:\myData\Project1.aot
C:\myData\Project2.aot
C:\myData\Project3.aot
C:\myData\Project4.aot
Section Description
[General] Controls the output format of the entire conversion process. Select one of the following to identify
the output format:
• MSI—Windows Installer package
• INC—Repackager output file
• ISM—InstallShield Editor project file
[AXT] List the names and locations of the legacy ZENworks projects (.axt) you want to convert. Include
the paths (absolute or relative) to the .axt files.
[AOT] List the names and locations of the ZENworks .aot projects you want to convert. Include the paths
(absolute or relative) to the .aot files.
2. Run the repackaging process from the command line using the -Z parameter:
ISLC.exe -Z"YourFileName.ini"
Repackager loads the loads the .ini file and begins the conversion process. A dialog box opens to
display progress messages.
To limit the volume of messages listed, clear the Verbose check box.
3. When the repackaging process is complete, the Cancel button changes to a Close button. Click
Close to close this dialog box.
You will find the converted files in the location specified in the .ini file as the location of the .aot/
.axt input files.
Task To convert a WinINSTALL 6.0, 6.5, or 7.x project (.txt) to a Repackager project (which can subsequently be
built into a Windows Installer package):
1. Launch Repackager.
2. From the File menu, select Open.
3. In the Open dialog box, change the Files of type filter to WinINSTALL (*.txt).
4. Browse to locate the WinINSTALL project you want to convert.
5. Select the project, and click OK.
6. If the WinINSTALL Conversion dialog box opens, fill in the WinINSTALL-specific variables and
click OK.
The legacy project is converted to a Repackager project. Files, .ini files, shortcuts, and registry
entries within the project are visible through the appropriate views in the Repackager Interface.
Note: WinINSTALL projects must be converted to .txt files prior to conversion to Repackager projects.
Task To convert a Wise Installation project (.wse) to a Repackager project (which can subsequently be built into a
Windows Installer package):
1. Launch Repackager.
2. From the File menu, select Open.
3. In the Open dialog box, change the Files of type filter to Wise Projects (*.wse).
4. Browse to locate the Wise Installer project you want to convert.
5. Select the project, and click OK.
The legacy project is converted to a Repackager project. Files, .ini files, shortcuts, and registry
entries within the project are visible through the appropriate views in the Repackager Interface.
Task To convert an InstallShield Professional Log File (.isl) to a Repackager project (which can subsequently be
built into a Windows Installer package):
1. Launch Repackager.
2. From the File menu, select Open.
3. In the Open dialog box, change the Files of type filter to InstallShield Pro Log Files (*.isl).
4. Browse to locate the InstallShield Professional log file you want to convert.
5. Select the file, and click OK.
The log file is converted to a Repackager project. Files, .ini files, shortcuts, and registry entries
within the project are visible through the appropriate views in the Repackager Interface.
Configuring Exclusions
Repackaging exclusions refer to exclusions made during repackage time using the Repackaging Wizard.
Any files, registry entries, .ini files, or shortcuts excluded at this point are not included in the Repackager
project.
There are two methods of configuring exclusions:
• Configuring Exclusions Using Repackager
Repackaging Repackaging exclusions refer to exclusions made during repackage time using the Repackaging
Exclusions Wizard. Any files, registry entries, .ini files, or shortcuts excluded at this point are not included in
the Repackager project. Therefore, if you exclude a directory you later need, you need to
repackage the legacy setup again.
The Repackager best practice is to capture everything using the Repackaging Wizard, and then
exclude visually in the Repackager Interface. This way, you avoid having to run the Repackaging
Wizard again if you accidentally exclude necessary files.
In some cases, you may want to avoid capturing specific data types during repackaging. For
example, your organization may never want to capture shortcuts. You can disable capture of
shortcuts during repackage time, thereby eliminating the need to exclude them later. In Snapshot
mode, you may want to limit the analysis to a certain directory to reduce the time it takes to
capture the initial and final snapshot.
Project Exclusions Each Repackager project can use a project exclusion list which marks files, registry entries,
shortcuts, and .ini files as excluded in the Repackager project. If your process dictates that you
capture everything and only exclude items in the Repackager Interface, then you should set up
commonly captured but unnecessary items from the project by default. Because all the data from
the original capture is intact, if you accidentally exclude necessary files, you can always reinclude
them from the Repackager Interface and quickly rebuild your Windows Installer package.
Individual Project Because each project is different, and may require you to make decisions as to whether certain
Exclusions captured data is necessary, you can also selectively exclude or reinclude items on a per-package
basis. These individual project exclusions allow you a fine-level of control as you prepare to build
your Windows Installer package from the Repackager project.
Excluding Files
To exclude a captured file from the InstallShield Editor project and Windows Installer package, perform
the following steps.
Task To exclude a captured file from the InstallShield Editor project and Windows Installer package:
1. Select Files and Folders from the View List. The Files and Folders View opens.
2. Expand the directory tree and select the directory containing the file you want to exclude.
3. In the file list, right-click on the file and select Exclude.
Task To exclude all captured files in a directory from the InstallShield Editor project and Windows Installer
package:
1. Select Files and Folders from the View List. The Files and Folders View opens.
2. Expand the directory tree and select the directory containing the files you want to exclude.
3. Right-click on the directory and select Exclude.
Task To exclude all captured files and subdirectories within a directory from the InstallShield Editor project and
Windows Installer package:
1. Select Files and Folders from the View List. The Files and Folders View opens.
2. Expand the directory tree to display the directory containing the files and subdirectories you want to
exclude.
3. Right-click on the directory and select Exclude All.
Task To exclude a registry key from the InstallShield Editor project and Windows Installer package:
1. Select Registry Entries from the View List. The Registry Entries View opens.
2. Expand the Registry tree to display the registry key you want to exclude.
3. Right-click on the registry key and select Exclude.
Task To exclude a captured registry value from the InstallShield Editor project and Windows Installer package:
1. Select Registry Entries from the View List. The Registry Entries View opens.
2. Expand the Registry tree and select the registry key containing the value you want to exclude.
3. In the Registry Value list, right-click on the value and select Exclude.
Task To exclude a captured .ini file from the InstallShield Editor project and Windows Installer package:
1. Select INI Files from the View List. The INI Files View opens.
2. Expand the INI Files tree to display the .ini file you want to exclude.
3. Right-click on the .ini file and select Exclude.
Task To exclude a section in a captured .ini file from the InstallShield Editor project and Windows Installer package:
1. Select INI Files from the View List. The INI Files View opens.
2. Expand the INI Files tree to display the .ini file containing the section you want to exclude.
3. Right-click on the section and select Exclude.
Excluding Shortcuts
To exclude a captured shortcut from the InstallShield Editor project and Windows Installer package,
perform the following steps.
Task To exclude a captured shortcut from the InstallShield Editor project and Windows Installer package:
1. Select Shortcuts from the View List. The Shortcuts View opens.
2. Expand the Shortcuts tree to display the shortcut you want to exclude.
3. Right-click on the shortcut and select Exclude.
Task To exclude all captured shortcuts in a directory from the InstallShield Editor project and Windows Installer
package:
1. Select Shortcuts from the View List. The Shortcuts View opens.
2. Expand the Shortcuts tree to display the directory containing the shortcuts you want to exclude.
3. Right-click on the directory and select Exclude.
Task To exclude all captured shortcuts within a directory or its subdirectories from the InstallShield Editor project
and Windows Installer package:
1. Select Shortcuts from the View List. The Shortcuts View opens.
2. Expand the Shortcuts tree to display the directory containing the shortcuts and/or subdirectories
containing shortcuts you want to exclude.
3. Right-click on the directory and select Exclude All.
Task To specify an external configuration file which you want to use as a filter when converting legacy setups:
1. From the Repackager Project menu, select Properties. The General tab of the Project
Properties dialog box opens.
2. Open the Exclusions tab.
3. Select the Use settings from the shared location or the Use settings from a custom file
option. The Browse button for that option is activated.
4. Click Browse and select the configuration file you want to use.
Tip: After you select a configuration file, the Edit button is activated, enabling you to open the file in the Exclusions
Editor.
5. Click OK.
When you apply a configuration file, Repackager automatically updates all views to reflect the
configuration file’s exclusions. However, if you have already excluded items using Repackager, item
states are retained.
1. From Repackager's Project menu, click Properties. The General tab of the Project Properties
dialog box opens.
2. Select the Exclusions tab.
3. Select the file you want to modify in either the Use settings from the shared location option or
Use settings from a custom file options.
4. Click Edit. The Exclusions Editor opens.
5. Make necessary modifications using the Exclusions Editor.
6. When you finish editing the configuration file, click OK.
7. Click OK to close the Project Properties dialog box.
When you apply a configuration file, Repackager automatically updates all views to reflect the
configuration file's exclusions. However, if you have already excluded items using Repackager, item
states are retained.
Repackaging Exclusions
Repackaging exclusions refer to exclusions made during repackage time using the Repackaging Wizard.
Any files, registry entries, .ini files, or shortcuts excluded at this point are not included in the
Repackager project. Therefore, if you exclude a directory you later need, you need to repackage the
legacy setup again.
The Repackager best practice is to capture everything using the Repackaging Wizard, and then exclude
visually in the Repackager Interface. This way, you avoid having to run the Repackaging Wizard again if
you accidentally exclude necessary files.
In some cases, you may want to avoid capturing specific data types during repackaging. For example,
your organization may never want to capture shortcuts. You can disable capture of shortcuts during
repackage time, thereby eliminating the need to exclude them later. In Snapshot mode, you may want to
limit the analysis to a certain directory to reduce the time it takes to capture the initial and final
snapshot.
Project Exclusions
Each Repackager project can use a project exclusion list which marks files, registry entries, shortcuts,
and .ini files as excluded in the Repackager project. If your process dictates that you capture everything
and only exclude items in the Repackager Interface, then you should set up commonly captured but
unnecessary items from the project by default. Because all the data from the original capture is intact, if
you accidentally exclude necessary files, you can always reinclude them from the Repackager Interface
and quickly rebuild your Windows Installer package.
OS Snapshot Exclusions
Like pre-capture repackaging exclusions, you can use the Exclusions Editor to configure exclusions to
apply during the capture of OS snapshots. However, to maximize the usefulness of OS snapshots, you
should avoid editing the default snapshot exclusion list (ISSnapshot.ini).
1. Launch the Exclusions Editor by locating and executing the following file:
AdminStudio Installation Directory\Repackager\AnalysisOptions.exe
• Shared Exclusions—To edit the shared exclusions file, on the Files menu, point to Open and
click Shared Exclusions. The exclusions in the shared exclusions file are now listed on the
Files tab.
• Custom Exclusions—To create a new custom exclusions file, on the Files menu, click New. A
default set of exclusions is listed.
3. Make edits to the file.
4. Save the file by selecting Save on the File menu.
5. If you were creating a custom exclusions file, specify a name and location for this exclusions file and
click Save.
• To edit the default exclusions file, select Use settings from the shared location and click
Edit.
• To edit a custom exclusions file, select Use settings from a custom file, browse to the file
you want to open (if it is not listed), and click Edit.
The Files tab of the Exclusions Editor opens, with the appropriate exclusions file open.
4. Make edits to the file.
5. Save the file and close the Exclusions Editor by clicking OK.
Note: Note that when opening the Exclusions Editor from within Repackager, there is no File menu displayed,
meaning that you can only edit an existing exclusions file; you cannot create a new exclusions file.
Excluding Files
You use the Exclusions Editor to create an exclusion list for files so that those files are not captured
during the OS snapshot process, and will not be included in the OS snapshot file.
1. Launch the Exclusions Editor and open an exclusions file by performing the steps listed in
Launching Exclusions Editor:
2. On the Files tab, click New. The File Exclusion Information dialog box opens.
3. Enter or browse to the directory Path containing the file you want to exclude.
4. Enter the name of the file you want to exclude, or browse to it by clicking the Browse ( ) button to
the right of the Excluded Files field. If you want to exclude multiple files from the same directory,
separate them with semicolons (|). If you want to exclude all files in a directory, enter an asterisk (*).
5. Click OK to close the File Exclusion Information dialog box. The new exclusion appears in the
Files tab.
6. Save the exclusions file as described in Launching Exclusions Editor:
Note: When configuring file exclusions for Repackager, you are only configuring Repackager to automatically mark the file
as excluded; this can be changed from within Repackager on a file-by-file basis. However, when configuring file exclusions
for the OS Snapshot Wizard, files in the exclusion list are not captured in the OS snapshot file.
Task To exclude files with specific extensions from the exclusion list:
1. Launch the Exclusions Editor and open an exclusions file by performing the steps listed in
Launching Exclusions Editor:
2. On the Files tab, click New. The File Exclusion Information dialog box opens.
3. In the File Exclusion Information dialog box, enter or browse to the directory containing the
files you want to exclude. If you want to exclude files with a certain extension from all directories,
enter an asterisk (*) for the Path value.
4. Enter an asterisk followed by the extension you want excluded in the Excluded Files field. For
example, if you want to exclude all .bak files, enter *.bak. If you want to exclude multiple file types
from the same directory (or from all directories), separate each exclusion with a pipe (|).
5. Click OK to close the File Exclusion Information dialog box. The new exclusion appears in the
Files tab.
6. Save the exclusions file as described in Launching Exclusions Editor:
Note: When configuring file exclusions for Repackager, you are only configuring Repackager to automatically mark the file
as excluded; this can be changed from within Repackager on a file-by-file basis. However, when configuring file exclusions
for the OS Snapshot Wizard, files in the exclusion list are not captured in the OS snapshot file.
Excluding Directories
To add a directory to the exclusion list, perform the following steps.
1. Launch the Exclusions Editor and open an exclusions file by performing the steps listed in
Launching Exclusions Editor:
2. On the Files tab, click New. The File Exclusion Information dialog box opens.
3. In the File Exclusion Information dialog box, enter or browse to the directory Path containing
the files you want to exclude.
4. Enter an asterisk (*) in the Excluded Files field.
5. Click OK to close the File Exclusion Information dialog box. The new exclusion appears in the
Files tab.
6. Save the exclusions file as described in Launching Exclusions Editor:
Note: When configuring file exclusions for Repackager, you are only configuring Repackager to automatically mark the file
as excluded; this can be changed from within Repackager on a file-by-file basis. However, when configuring file exclusions
for the OS Snapshot Wizard, files in the exclusion list are not captured in the OS snapshot file.
1. Launch the Exclusions Editor and open an exclusions file by performing the steps listed in
Launching Exclusions Editor:
2. Select the appropriate exclusion and click Edit. The File Exclusion Information dialog box
opens.
3. In the File Exclusion Information dialog box, modify the Path and Excluded Files
information.
4. Click OK to close the File Exclusion Information dialog box. The edited exclusion is listed in the
Files tab.
5. Save the exclusions file as described in Launching Exclusions Editor:
Note: When configuring file exclusions for Repackager, you are only configuring Repackager to automatically mark the file
as excluded; this can be changed from within Repackager on a file-by-file basis. However, when configuring file exclusions
for the OS Snapshot Wizard, files in the exclusion list are not captured in the OS snapshot file.
1. Launch the Exclusions Editor and open an exclusions file by performing the steps listed in
Launching Exclusions Editor:
2. Select the appropriate exclusion and click Delete.
3. Confirm the exclusion by clicking OK. The deleted exclusion is removed from the list.
4. Save the exclusions file as described in Launching Exclusions Editor:
Note: When configuring file exclusions for Repackager, you are only configuring Repackager to automatically mark the file
as excluded; this can be changed from within Repackager on a file-by-file basis. However, when configuring file exclusions
for the OS Snapshot Wizard, files in the exclusion list are not captured in the OS snapshot file.
1. Launch the Exclusions Editor and open an exclusions file by performing the steps listed in
Launching Exclusions Editor:
2. Open the INI Files tab.
3. Click New. The INI File Exclusion Information dialog box opens.
4. Enter or browse to the .ini file you want to exclude.
5. If there are specific sections you want to exclude from the .ini file, put the section names in brackets
([]) and separate them with pipes (|) in the Excluded Sections field. If you want to exclude all
sections, put an asterisk (*) in the Excluded Sections field.
6. Click OK to close the INI File Exclusion Information dialog box. The new exclusion appears in
the list on the INI Files tab.
7. Save the exclusions file as described in Launching Exclusions Editor.
Note: When configuring .ini file exclusions for Repackager, you are only configuring Repackager to automatically mark the
.ini file and/or sections as excluded; this can be changed from within Repackager on an .ini file by .ini file basis. However,
when configuring .ini file exclusions for the OS Snapshot Wizard, .ini files in the exclusion list are not captured in the OS
snapshot file.
1. Launch the Exclusions Editor and open an exclusions file by performing the steps listed in
Launching Exclusions Editor:
2. Open the INI Files tab.
3. Click New. The INI File Exclusion Information dialog box opens.
4. Enter or browse to the .ini file containing the section you want to exclude.
5. To exclude a specific .ini file section, enter the section name in brackets ([]) in the Excluded
Sections field. If there are multiple sections, separate them with pipes (|).
6. Click OK to close the INI File Exclusion Information dialog box. The new exclusion appears in
the INI Files and Sections Excluded During Analysis dialog box.
7. Click OK to close the INI File Exclusion Information dialog box. The new exclusion appears in
the list on the INI Files tab.
8. Save the exclusions file as described in Launching Exclusions Editor:
Note: When configuring .ini file exclusions for Repackager, you are only configuring Repackager to automatically mark the
.ini file and/or sections as excluded; this can be changed from within Repackager on an .ini file by .ini file basis. However,
when configuring .ini file exclusions for the OS Snapshot Wizard, .ini files in the exclusion list are not captured in the OS
snapshot file.
1. Launch the Exclusions Editor and open an exclusions file by performing the steps listed in
Launching Exclusions Editor.
2. Open the INI Files tab.
3. Select the appropriate exclusion and click Edit. The INI File Exclusion Information dialog box
opens.
4. In the File Exclusion Information dialog box, modify the INI File and Excluded Sections
information.
5. Click OK to close the INI File Exclusion Information dialog box. The edited exclusion appears
in the list on the INI Files tab.
6. Save the exclusions file as described in Launching Exclusions Editor:
Note: When configuring .ini file exclusions for Repackager, you are only configuring Repackager to automatically mark the
.ini file and/or sections as excluded; this can be changed from within Repackager on an .ini file by .ini file basis. However,
when configuring .ini file exclusions for the OS Snapshot Wizard, .ini files in the exclusion list are not captured in the OS
snapshot file.
1. Launch the Exclusions Editor and open an exclusions file by performing the steps listed in
Launching Exclusions Editor:
2. Open the INI Files tab.
3. Select the appropriate exclusion and click Delete.
4. Confirm the exclusion by clicking OK. The deleted exclusion is removed from the list.
5. Save the exclusions file as described in Launching Exclusions Editor:
Note: When configuring .ini file exclusions for Repackager, you are only configuring Repackager to automatically mark the
.ini file and/or sections as excluded; this can be changed from within Repackager on an .ini file by .ini file basis. However,
when configuring .ini file exclusions for the OS Snapshot Wizard, .ini files in the exclusion list are not captured in the OS
snapshot file.
1. Launch the Exclusions Editor and open an exclusions file by performing the steps listed in
Launching Exclusions Editor:
2. Open the Registry tab.
3. Click New. The Choose Registry Key dialog box opens.
4. Enter or browse to the registry key you want to exclude and click OK. The key is added to the list on
the Registry tab.
5. If you want to exclude a certain value in the key, select it from the list and click Edit. The Edit
Registry Key dialog box opens.
6. Provide the Value Name you want to exclude, and click OK to close the dialog box. The exclusion
information is reflected in the list on the Registry tab.
7. Save the exclusions file as described in Launching Exclusions Editor:
Note: When configuring registry exclusions for Repackager, you are only configuring Repackager to automatically mark
the registry entry and/or values as excluded; this can be changed from within Repackager on an registry key by registry
key basis. However, when configuring registry exclusions for the OS Snapshot Wizard, registry data in the exclusion list is
not captured in the OS snapshot file.
1. Launch the Exclusions Editor and open an exclusions file by performing the steps listed in
Launching Exclusions Editor:
2. Open the Registry tab.
3. Select the registry key that you want to edit and click Edit. The Edit Registry Key dialog box
opens.
4. Modify the exclusion as necessary and click OK. The edited information is reflected in the list on the
Registry tab.
5. Save the exclusions file as described in Launching Exclusions Editor:
Note: When configuring registry exclusions for Repackager, you are only configuring Repackager to automatically mark
the registry entry and/or values as excluded; this can be changed from within Repackager on an registry key by registry
key basis. However, when configuring registry exclusions for the OS Snapshot Wizard, registry data in the exclusion list is
not captured in the OS snapshot file.
1. Launch the Exclusions Editor and open an exclusions file by performing the steps listed in
Launching Exclusions Editor:
2. Open the Registry tab.
3. Select the registry key that you want to delete and click Delete.
4. Confirm the deletion by clicking OK. The deleted exclusion is removed from the list.
5. Save the exclusions file as described in Launching Exclusions Editor:
Note: When configuring registry exclusions for Repackager, you are only configuring Repackager to automatically mark
the registry entry and/or values as excluded; this can be changed from within Repackager on an registry key by registry
key basis. However, when configuring registry exclusions for the OS Snapshot Wizard, registry data in the exclusion list is
not captured in the OS snapshot file.
• Using the Setup Intent Wizard to Detect File Dependencies in a Repackager Project
1. In the Repackager interface, open the Repackager project that you want to convert to an
InstallShield Editor project.
2. Select Repackaged Output from the View List. The Repackaged Output View opens.
3. In the Editor Project field, enter the name and location of the InstallShield Editor Project file you
want to create.
4. If you do not want to Create a Windows Installer package (.msi) after creating the Editor
project, clear this option. If you want to create a Windows Installer Package, see Building a
Windows Installer Package.
5. A project template contains all of the default settings and design elements that you want to use as a
starting point when you create an installation project. In the Repackaged Output Options area,
select the InstallShield Editor Project Template you want to use when creating the project:
• Use the default Editor template—Select this option to use the default InstallShield Editor Project
Template.
• Use a customized template—Select this option to use a customized InstallShield Editor Project
Template.
For example, if you wanted all of your InstallShield Editor projects to have a special custom
dialog, a set of required redistributables, and a particular SQL script, you could create a project
template that has all of those settings. Then, any time that you wanted to create a new project,
you could base it off of your custom template. This enables you to avoid re-creating the custom
dialog, re-adding the redistributables, and re-adding the SQL script every time that you create a
new InstallShield Editor Project.
6. Select Package Information from the View List. The Package Information View opens.
7. Select Package Information from the View List. The Package Information View opens, where you
can specify information for the Windows Installer package that you build from the Repackager
project. Much of this information may be prepopulated based on settings used in the Repackaging
Wizard.
d. Product URL—The URL for product information. This appears in Add/Remove Programs in
the Control Panel.
e. Support URL—A URL for support information. This also appears in Add/Remove Programs
in the Control Panel, and is often changed during repackaging to provide an internal support
URL.
9. Select Advanced Settings from the View List. The Advanced Settings View opens.
10. Select the options that you want to use, as described in Configuring Advanced Conversion Options.
11. Select Repackaged Output on the View List. The Repackaged Output View opens.
12. Click the Build button. The build process begins, and its progress is reported in the output window.
When the build process is complete, a Conversion completed message appears in the output window,
and a link to the build log file is provided.
Task To build a InstallShield Editor project (.ism) and Windows Installer package (.msi):
1. In the Repackager interface, open the Repackager project that you want to convert to an
InstallShield Editor project and build a Windows Installer package.
2. Select Repackaged Output from the View List. The Repackaged Output View opens.
3. In the Editor Project field, enter the name and location of the InstallShield Editor Project file you
want to create.
4. Select the Create a Windows Installer package (.msi) after creating the Editor project
option, and select the following additional options:
a. The compression option that you select for this package depends upon the size of your
application’s installation and your delivery method.
Neither Setup.exe nor your .msi file can be spanned across multiple disks. So, if the source files
associated with your Windows Installer package cannot fit on the same disk as the setup.exe
and .msi file, you will need to include them in .cab files on other disks. But if you are performing
a network installation and have unlimited space, there is no need to compress files or include
additional files in .cab files.
From the list, select one of the following options:
Option Description
Create single compressed .msi Select this option if you want to compress all necessary files inside the
file .msi package, as opposed to storing them outside of the .msi database.
Create single compressed Select this option if you want to compress all files inside a setup.exe file,
setup.exe file including the .msi file and all other necessary files.
Create .msi file + external Select this option if you want to create an .msi file and want to compress
compressed .cab file the rest of the necessary files in an external .cab file.
For example, you might have an installation that contains three features—
each containing a 1.5 MB file, Setup.exe, and the installation files for
Windows NT—and you want to create a custom media type that is 2 MB
in size. The build will span multiple disks.
• Disk one will contain Setup.exe, InstMsiW.exe (which contains the
logic to install the Windows Installer service on Windows NT
machines), Setup.ini (which is required for installations that include
Setup.exe), and your .msi file.
• The remaining disks will contain .cab files that store compressed
copies of all your source files.
Create .msi file + external Select this option if you want to create an .msi file and a setup.exe file,
compressed .cab file + and want to compress all the rest of the necessary files in an external
setup.exe .cab file.
Create uncompressed .msi file Select this option if you want to create an uncompressed .msi file. All of
the rest of the necessary files, in uncompressed format, would be
shipped with the .msi file.
Create uncompressed .msi file Select this option if you want to create an uncompressed .msi file along
and setup.exe with a setup.exe file. All of the rest of the necessary files, in
uncompressed format, would be shipped with the .msi and setup.exe
files.
For more information on how Repackager isolates applications and the available isolation
options, see Isolating Windows Installer Packages.
c. Select the Run automated tests against the Windows installer package option to
automatically run PackageExpert tests against the newly built Windows Installer package to
determine if it is built according to Windows Installer standards, and if it is in compliance with
the installation requirements of the Windows Vista operating system. All of the tests that are
currently selected on the PackageExpert Configuration View are run, and those selected tests
that are automatically resolvable, will be resolved.
Note: For more information on PackageExpert, see Using PackageExpert to Identify and Resolve Package
Errors.
5. A project template contains all of the default settings and design elements that you want to use as a
starting point when you create an installation project. In the Repackaged Output Options area,
select the InstallShield Editor Project Template you want to use when creating the project:
• Use the default Editor template—Select this option to use the default InstallShield Editor Project
Template.
• Use a customized template—Select this option to use a customized InstallShield Editor Project
Template.
For example, if you wanted all of your InstallShield Editor projects to have a special custom
dialog, a set of required redistributables, and a particular SQL script, you could create a project
template that has all of those settings. Then, any time that you wanted to create a new project,
you could base it off of your custom template. This enables you to avoid re-creating the custom
dialog, re-adding the redistributables, and re-adding the SQL script every time that you create a
new InstallShield Editor Project.
6. Select Package Information from the View List. The Package Information View opens,
where you can specify information for the Windows Installer package that you build from the
Repackager project. Much of this information may be prepopulated based on settings used in the
Repackaging Wizard.
d. Product URL—The URL for product information. This appears in Add/Remove Programs in
the Control Panel.
e. Support URL—A URL for support information. This also appears in Add/Remove Programs
in the Control Panel, and is often changed during repackaging to provide an internal support
URL.
8. Select Advanced Settings from the View List. The Advanced Settings View opens.
9. Select the options that you want to use, as described in Configuring Advanced Conversion Options.
10. Select Repackaged Output on the View List. The Repackaged Output View opens.
11. Click the Build button. The build process begins, and its progress is reported in the output window.
When the build process is complete, a Conversion completed message appears in the output window,
a link to the build log file is provided, and the location of the .msi file is listed. For example:
Output file: C:\1516261\WinZip.msi
1. Select Advanced Settings from the View List. The Advanced Settings View opens.
2. In the Advanced Settings View, select the options you want to use during conversion, as
described in Advanced Settings View.
• Project Location—The full path of the directory where the current Repackager project file (.irp)
is located.
• Project File —The name of the current Repackager project file.
• Captured Data File—The name and location of the captured data file (.inc), which was either
created by the Repackaging Wizard or during conversion of a Novell ZENworks project,
Microsoft SMS project, or WinINSTALL project. The path is relative to the current Repackager
project file.
• Registry Data File—The name and location of the file containing captured registry data. The path
is relative to the current Repackager project file.
• Conversion Options File—The name and location of the Options.ini file, which contains an
exhaustive list of all options you can use during conversion of the Repackager project to an
InstallShield Editor project and Windows Installer package.
• Editor Project File—The name and location of the InstallShield Editor project file as set in the
Product View (MSI Package). The path is relative to the current Repackager project file.
• Windows Installer Package—The name and location of the Windows Installer package. The path is
relative to the current Repackager project file.
3. When finished viewing properties in the General tab, click OK.
1. From the Project menu, select Setup Intent Wizard. The Welcome Panel opens.
2. From the Welcome panel, click Next. The Scanning Project Panel opens.
3. Once scanning is finished, the Results Panel opens, listing new files that your setup requires.
4. From the Results Panel, select the files you want added to your Repackager project and click
Finish.
5. Save your Repackager project.
Note: Because the Setup Intent Wizard analyzes files in the Repackager project and searches for dependent files, you
must run the Setup Intent Wizard from the same machine where repackaging was performed (with the Repackaging
Wizard). You can then save the Repackager project and transfer it to another machine.
• Captured shortcuts
1. From the Project menu, select Create Report. The Create Report dialog box opens.
2. Select whether you want the report to contain All captured data (all of the data collected during
the entire capture), or just the Current view.
3. If you want the report to contain data from the entire capture, specify whether you want to just
display summary information.
4. Specify whether you want to display excluded items in the report.
5. Select the file format for the report. You can generate an HTML report or a Text report.
6. Click Create. A Save As dialog box opens.
7. From the resulting Save As dialog box, browse to the location where you want to save the file, and
provide a name for the report.
8. Click Save. The report is saved to the specified location and automatically opens.
Task To launch the generated InstallShield Editor project (.ism) in InstallShield Editor:
From the Repackager Project menu, select Edit InstallShield Project. If installed, InstallShield
Editor opens the project file.
Task To launch the generated Windows Installer package (.msi) in InstallShield Editor:
From the Repackager Project menu, select Edit Windows Installer Package. If installed,
InstallShield Editor opens the package in Direct MSI Edit mode.
• the file has not already been repackaged using the InstallShield Professional Logging Method
(available for InstallShield Editor and DevStudio 9.x InstallScript installations only), and
• the SmartScan Wizard has not already been run on this project
1. From the Project menu, select SmartScan Wizard. The Welcome Panel appears.
2. Click Next. The Original InstallShield Professional Setup Panel appears.
3. The Specify the path of the original setup executable field will be filled in by default if that
information exists. Browse to the InstallShield Professional setup you want to scan, and specify a
password if required.
4. In the Original target folder field, enter the directory where the product was installed during the
repackaging process. In most cases, this will be a subdirectory of [ProgramFilesFolder],
5. Click Next. The Scanning Panel appears.
6. When scanning is complete, click Next. The Setup Feature Tree Panel appears, listing the
features and components that were configured in the InstallShield Professional project.
7. Select the Add feature tree option if you want to use the feature information defined in the
Professional media.
8. Click Next. The Scanning Media Panel appears, showing the results of Repackager's search for
any extra setup information in the media.
9. Click Finish to apply the results to the project.
• The setup is scanned, and any additional files, shortcuts, .ini files, or registry data is added to
the appropriate view.
• The data captured by the SmartScan Wizard appears in the color designated in the SmartScan
items field on the Colors tab of the Options dialog box.
• If you selected the Add feature tree option, the files, shortcuts and registry entries are
grouped into features corresponding to the InstallShield Professional components.
Note: After you have scanned an InstallShield Professional project and included data from it in your Repackager project,
you can save the project. When you reopen it, this collected data no longer retains the “scanned” color, since it is now part
of the Repackager project.
3. Under Behavior and Logic, select the Property Manager node and add the required properties
like ALLUSERS, ISSCRIPTDRIVEN, etc.
4. You can also optionally set Shallow Folder Structure to Yes under Media-Release view.
5. After making all required changes, save the project as an InstallShield Template (.ist) type.
6. This new template should now be available along with other project types in the InstallShield Editor.
7. From within the Repackager interface, you can start using this customized template by selecting the
Use a customized template option in the Repackaged Output view, and selecting the
InstallShield Editor template that you just created.
Repackager Reference
This section describes each of the dialog boxes and Wizard panels that you might encounter throughout
Repackager. The help topics in the Repackager Reference are the same detailed documentation that is
displayed when you press the F1 key or click the Help button while working in a dialog box.
Reference information is organized as follows:
Section Description
Repackager Interface This section contains reference information pertaining to the Repackager Interface itself. This
includes menus, the toolbar, views, and dialog boxes.
Repackaging Wizard This section provides a panel-by-panel description of the Repackaging Wizard.
SmartScan Wizard This section provides information about the SmartScan Wizard user interface.
Setup Intent Wizard This section provides information about the Setup Intent Wizard user interface.
VMware Repackaging This section provides information about the VMware Repackaging Wizard user interface.
Wizard
Options.ini File The Options.ini file, which contains information used in repackaging, is discussed in this
topic.
Files Associated with This topic describes the various files related to or created by repackaging, including
Repackager Repack.ini.
Troubleshooting This section includes information on troubleshooting a WinINSTALL or SMS conversion, and
how to resolve an “Error Building Table File” error.
Repackager Interface
From the Repackager Interface, you can:
• Open the Repackaging Wizard and repackage legacy setups.
• Convert Novell ZENworks, Microsoft SMS, and WinINSTALL projects into Repackaging projects.
• Build a Repackager project into an InstallShield project and Windows Installer package.
The Interface consists of several menus, a toolbar, the status bar, the output window, the View List, and
several associated views.
• Menus and the toolbar are discussed in the Menus and Toolbar topic.
• The status bar, output window, and View List are described in the following table.
Status Bar The status bar, which can be toggled from the View menu, displays information when you
hover over buttons in the toolbar.
View List The View List allows you to navigate to different views in the Repackager project. The
corresponding view is displayed when you select an item in the tree. You can also use the
Forward, Back, Navigate Up, and Navigate Down buttons in the View List.
The View List includes the following views:
• Captured Installation View
• Files and Folders View
• Registry Entries View
• Shortcuts View
• INI Files View
• Deleted Files View
• Deleted Registry Entries View
• Repackaged Output View
• Package Information View
• Advanced Settings View
Output Window When you open Repackager 3.x output, Novell ZENworks projects, Microsoft SMS projects,
WinINSTALL projects, or Wise installation projects in the Repackager Interface, conversion
information appears in the Output window. This window can be toggled from the View menu.
Keyboard
Menu Command Toolbar Button Shortcuts Description
File Save As Saves the current project using the name and
location you specify.
File 1,2,3,4 Allows you to open the four most recently accessed
Repackager projects.
Project Edit Windows Once you build the Repackager project into a
Installer Windows Installer package (.msi), opens the
Package package in InstallShield Editor (in Direct MSI Edit
mode).
Keyboard
Menu Command Toolbar Button Shortcuts Description
Project Create Ctrl+R Allows you to create a report for the project in text
Report or HTML format.
Help Index Launches the Help Library, displaying the Index tab.
Keyboard
Menu Command Toolbar Button Shortcuts Description
Forward Returns you to the view from which you selected the
Back button.
Dialog Boxes
Repackager includes the following dialog boxes to assist you in your project creation:
• Create Report Dialog Box
Option Description
All captured data (files, registry Select to have the report include all captured data.
entries, shortcuts, etc.)
Summary only If you select All captured data, you can select this option to only display
summary information in the report (the number of items captured and the
number of items excluded for files, .ini files, registry data, and shortcuts).
Current view only Select this option to include only the currently selected view in the report.
Indicate excluded items Select to display items that have been marked as excluded in Repackager.
Report File Format Select the file format for Repackager reports: HTML or Text.
Create When you click Create, you are prompted for a name and location for the
outputted report.
Note: The modifications you make on the Isolation Options dialog box will be recorded in the isolationconfig.ini
file, which is stored in the AdminStudio Shared directory.
Option Description
Assembly Type This option allows you to select the type of assemblies that Repackager will create and
use:
• Create private side-by-side assemblies in the application folder
• Create shared side-by-side assemblies in the WinSxS folder (Default)
Note: Manifests for shared assemblies must be digitally signed. This can be done in the
Digital Signature Tab.
Assembly Naming Specify your company and division information to define the default naming convention
Conventions that Repackager will use when creating assemblies during application isolation
By default, assembly names are specified in the form of:
Company.Division.Assembly
Note: See see About Assemblies and About Manifests for more information.
Table 3-12: Isolation Options Dialog Box / Manifest Options Tab (cont.)
Option Description
Create a new component Select this option if you want to create a new component for each assembly created
for each assembly during isolation. This check box applies to all assemblies created.
Caution: If you are creating assemblies for applications files within multiple components,
this option must be selected for successful application isolation.
If you are planning to deploy this isolated package to operating systems prior to Windows
XP, always check this box.
Caution: Repackager uses timestamping when signing global assemblies. Consequently, you must have an Internet
connection on the computer when you create a global assembly.
You must configure the following options when signing these assemblies:
Item Description
Certificate File Click the Browse ( ) button next to the field and navigate to the certificate file you are using to sign
assemblies.
A digital certificate identifies you and/or your company to end users and assures them the data they
are about to receive has not been altered.
Credentials Select this option to use credential files as the code signing technology. If you select this option, you
must supply the name and location of both your software publishing credential files: SPC File and
PVK File.
Note: In order to receive a software publishing credentials and a private key, you must supply a
certification authority, such as such as VeriSign, with specific information about your company and
software.
SPC File Specify the name and location of your software publishing credentials file (.spc).
PVK Specify the name and location of your private key file (.pvk).
Certificate Select this option to use the name of an existing certificate file in the Certificate Store as the code
Name in the signing technology. The Certificate Store is a central repository for certificate files. Using a
Store Certificate Store allows you to reuse the certificate files for different purposes as necessary.
Colors Tab
On the Colors tab, you can configure the color of scanned items and deleted items in Repackager's
exclusion views (Files, .ini Files, Registry Data, and Shortcuts).
To display any ICE validation warnings that occur during the Repackager Build process, select the
Display ICE validation warnings option. By default, this option is not selected.
Tab Description
General Tab Allows you to view properties for the current Repackager project.
Exclusions Tab Use to configure the location of the default exclusion file.
General Tab
The General tab of the Project Properties dialog box displays information about the current Repackager
project (.irp).
Option Description
Project Location The full path of the current Repackager project file (.irp).
Captured Data File The name and location of the captured data file (.inc), which was either created by the
Repackaging Wizard or during conversion of a Novell ZENworks project, Microsoft SMS
project, or WinINSTALL project. The path is relative to the current Repackager project file.
Registry Data File The name and location of the file containing captured registry data. The path is relative to the
current Repackager project file.
Conversion Options The name and location of the Options.ini file, which contains an exhaustive list of all options
File you can use during conversion of the Repackager project to an InstallShield Editor project
and Windows Installer package.
Editor Project File The name and location of the InstallShield Editor project file as set in the Product View (MSI
Package). The path is relative to the current Repackager project file.
Windows Installer The name and location of the Windows Installer package. The path is relative to the current
Package Repackager project file.
Exclusions Tab
The Exclusions tab allows you to select a exclusion file to use as a filter when importing captured data
into a Repackager project.
Option Description
Do not use any external Repackager will import all captured data into the Repackager project.
configuration
Use settings from the Repackager will use the settings contained in isRepackager.ini in the AdminStudio
shared location Shared directory (configured during installation). Use this option when you are working
in a team environment where the exclusion list needs to be stored in a centralized
location.
Use settings from Repackager will use the settings contained in the default.ini file in the Repackager
InstallShield defaults folder. These are the InstallShield-recommended exclusions. InstallShield recommends
you do not modify these exclusions so you can return to them if you need to restart
your exclusion list.
Edit Click to open the Exclusions Editor, which you can use to exclude files, registry entries,
.ini files, or shortcuts from the Repackager project. See Configuring Exclusions Using
the Exclusions Editor and Exclusions Editor Interface for more information.
Use settings from a custom Specify or browse to a file created with the Exclusions Editor that you want to use as
file your filter during conversion to a Repackager project. You would create a custom
exclusion file based upon your company's requirements.
Caution: Using the custom settings option, it is possible to use the local settings file (isRepackager.ini) in the
Windows directory. This file is also used for default exclusions for the Repackaging Wizard. By modifying this file, you
introduce the possibility of excluding data at repackaging time in subsequent Repackaging Wizard executions, as opposed
to marking items as excluded in a Repackager project (which does not affect the captured data). For this reason,
InstallShield highly recommends you do not use the isRepackager.ini configuration file in the local Windows folder for your
Repackager exclusions.
Variable Description
@Server The machine name of the server where the WinINSTALL directory is located.
@WinstallDir The location of the directory where the WinINSTALL executables are located.
Views
Repackager includes several views, from which you can examine the captured data that will be used to
create an InstallShield Editor project (.ism) and Windows Installer package (.msi). Depending on the
presence or absence of certain data types, some views may not be displayed. For example, if the setup
does not include any .ini files, the INI Files view will not be displayed in the View List.
The following views are available in Repackager:
• Captured Installation View
• Shortcuts View
Note: Information listed in the views (such as files, .ini files, or registry entries) is limited to 267 characters in length.
Anything longer than this limit will be truncated in the view. The full value can be viewed in InstallShield Editor.
This view lists the operating system (including service pack) where capture was performed, the number
of files captured, the number of .ini file changes made, the number of registry entries captured, and the
number of shortcuts captured. Each subview of this view allows you to view the names and associated
information of each item captured, and selectively exclude (or reinclude) these items from the ultimate
Windows Installer package.
If no entries were captured of a particular type, the corresponding view does not appear in the View List.
For example, if no .ini file changes were captured, the .ini File view is not displayed.
From the Captured Installation view, you can also create a report or scan for setup intent.
Additionally, you must specify the original target folder for the installation. In most cases, this will be a
subdirectory of [ProgramFilesFolder]. Alternatively, you can enter your own target. This value will be set
as the value for INSTALLDIR, and is a mandatory property. Information about the provided install
locations can be found in the System Folder Properties topic of the Windows Installer online help.
You can also perform some tasks from this view—creating a setup capture report, scanning for setup
intent, and scanning InstallShield Professional media (if the original setup was created with
InstallShield Professional) for additional files.
The upper pane displays the number of files captured and how many of these files will be excluded from
the Windows Installer package when built. The lower-left pane provides a tree from which you can see
where files will be installed and the names of the files.
When you select a file from the tree, the lower-right pane displays attributes for that file. These
attributes are:
Attribute Description
Short Name The short name for the file (if the file's author defined it).
• To exclude all captured files and subdirectories within a directory from the package, select the
directory containing the files and subdirectories you want to exclude and click Exclude All.
• To include a captured file in the package that had previously been excluded, select the file you want
to include and click Include.
• To include all captured files and subdirectories within a directory, select the directory containing the
files and subdirectories you want to include and click Include All.
The upper pane displays the number of registry entries captured and how many of these entries will be
excluded from the Windows Installer package when built. The lower-left pane provides a tree displaying
the registry keys and subkeys captured. When you select a key from the tree, the lower-right pane
displays any registry values for that key. Displayed information includes:
Attribute Description
Type The registry value type. This can be either a string value, an expandable string value, a multistring
value, a dword value, or a binary value.
Shortcuts View
From the Shortcuts view, you can examine information about each captured shortcut, selectively exclude
shortcuts from the package you are creating, or reinclude shortcuts that you previously excluded.
The upper pane displays the number of shortcuts captured and how many of these shortcuts will be
excluded from the Windows Installer package when built. The lower-left pane provides a tree from
which you can see where shortcuts will be installed and the names of the shortcuts. When you select a
shortcut from the tree, the lower-right pane displays attributes for that shortcut. These attributes are:
Attribute Description
Command The fully-qualified path and name of the file to which the shortcut points.
Working Dir The shortcut's working directory, which may need to be specified so required files can load.
This is equivalent of the Start in value found when right-clicking a shortcut from the desktop and
selecting Properties.
Icon File The name of the file containing the shortcut's icon.
Icon Index The index number for the icon in the icon file.
Note: Shortcuts can be excluded from the Windows Installer package you are building on an individual shortcut basis or
by directory.
Excluding Shortcuts
To specify which shortcuts you want to include in the package, use the Exclude, Exclude All, and Include
buttons:
• To exclude a shortcut from the package, select the shortcut you want to exclude and click Exclude.
• To exclude all shortcuts and subdirectories within a directory from the package, select the directory
containing the shortcuts you want to exclude and click Exclude All.
• To include a shortcut in the package that had previously been excluded, select the shortcut you want
to include and click Include.
The upper pane displays the number of .ini files captured and how many of these .ini files will be
excluded from the Windows Installer package when built. The lower-left pane provides a tree from
which you can see the full path to captured .ini files and sections contained within the .ini files. When
you select a section from the tree, the lower-right pane displays name/value pairs in that section.
Attribute Description
Short Name The short name for the file (if the file's author defined it).
• To exclude all captured files and subdirectories within a directory from the package, select the
directory containing the files and subdirectories you want to exclude and click Exclude All.
• To include a captured file in the package that had previously been excluded, select the file you want
to include and click Include.
• To include all captured files and subdirectories within a directory, select the directory containing the
files and subdirectories you want to include and click Include All.
Attribute Description
Type The registry value type. This can be either a string value, an expandable string value, a multistring
value, a dword value, or a binary value.
Option Description
Editor project Provide the name and location of the InstallShield project (.ism) file.
Windows Installer package The name and location of the Windows Installer package (.msi). If a Windows Installer
package has not yet been built from this Repackager project, (not built) is listed.
Create a Windows Installer If this option is selected, after creating the InstallShield project file (.ism), a Windows
package after creating Installer (.msi) file will be built based on that project file.
the Editor project
Option Description
Windows Installer Package If you have selected the Create a Windows Installer package after creating the
Options Editor project option, you need to also select one of the following options:
• Create single, compressed .msi file—Select this option if you want to
compress all necessary files inside the .msi package, as opposed to storing them
outside of the .msi database.
• Create single, compressed setup.exe file—Select this option if you want to
compress all files inside a setup.exe file, including the .msi file and all other
necessary files.
• Create .msi file + external compressed .cab file—Select this option if you
want to create an .msi file and want to compress the rest of the necessary files in
an external .cab file.
• Create .msi file + external compressed .cab file + setup.exe—Select this
option if you want to create an .msi file and a setup.exe file, and want to compress
all the rest of the necessary files in an external .cab file.
• Create uncompressed .msi file—Select this option if you want to create an
uncompressed .msi file. All of the rest of the necessary files, in uncompressed
format, would be shipped with the .msi file.
• Create uncompressed .msi file + setup.exe—Select this option if you want to
create an uncompressed .msi file along with a setup.exe file. All of the rest of the
necessary files, in uncompressed format, would be shipped with the .msi and
setup.exe files.
Create an isolated version Select this option to create a second, isolated version of the Windows Installer package
of the Windows Installer when the Windows Installer package is built.
package
Isolation reduces versioning conflicts by modifying an application so it always loads the
versions of components—such as DLLs—with which it was originally developed and
tested.
If this option is selected, an additional Windows Installer package will be created in the
same directory as the .ism file and the other .msi file, with the naming convention of:
appname.isolated.msi
For more information on how Repackager isolates applications and the available
isolation options, see Isolating Windows Installer Packages.
Run automated tests Select this option to automatically run PackageExpert tests against the newly built
against the Windows Windows Installer package to determine if it is built according to Windows Installer
Installer package standards, and if it is in compliance with the installation requirements of the Windows
Vista operating system.
All of the tests that are currently selected on the PackageExpert Configuration View
are run, and those selected tests that are automatically resolvable, will be resolved.
Option Description
Use the default Editor When building an InstallShield Editor project, select this option to use the default
template InstallShield Editor template.
A project template contains all of the default settings and design elements that you want
to use as a starting point when you create an installation project.
Use a customized When building an InstallShield Editor project, select this option to specify a customized
template InstallShield Editor Project Template to use.
For example, if you wanted all of your InstallShield Editor projects to have a special
custom dialog, a set of required redistributables, and a particular SQL script, you could
create a project template that has all of those settings. Then, any time that you wanted
to create a new project, you could base it off of your custom template. This enables you
to avoid re-creating the custom dialog, re-adding the redistributables, and re-adding the
SQL script every time that you create a new InstallShield Editor Project.
Build Click to initiate the build process to build a Windows Installer package.
Repackaged Output Tasks After an InstallShield Editor project and a Windows Installer package has been built, you
can use these links to perform the following tasks:
• Modify the Editor Project—Open this Repackager project’s associated
InstallShield project in InstallShield Editor.
• Modify the Windows Installer package with Editor—Open this Repackager
project’s associated Windows Installer package in InstallShield Editor.
Once you have built the Windows Installer package and/or InstallShield Editor file, you can launch
InstallShield Editor from the Repackaged Output area of the view.
Option Description
Company Name The name of the company that developed the product you are repackaging.
Product URL The URL for product information. This appears in Add/Remove Programs in the Control
Panel.
Support URL A URL for support information. This also appears in Add/Remove Programs in the Control
Panel, and is often changed during repackaging to provide an internal support URL.
Option Description
Use Editor path variables instead When storing files in the InstallShield Editor project (.ism), the Wizard uses path
of physical source paths variable locations whenever possible.
Display only the Welcome dialog Only the Welcome dialog box is displayed when the Windows Installer package is
box during installation run on a target machine. If this option is unchecked, the default UI sequence is
displayed when the setup is installed.
Replace files with merge modules Following best practice rules, Repackager replaces components with
wherever possible comparable merge modules whenever possible.
Use the language captured by the When selected, the target package's language will be the language detected by
Repackager as the language of Repackager (as displayed in the Captured Installation view).
the setup
Option Description
Include files from Setup Intent Any files identified when running the Setup Intent Wizard will be included in the
scan package (unless you have manually excluded them from the project).
Option Description
Mark components destined for Executable files installed to the system folder (System32Folder) are marked as
the System folder as permanent Permanent files and will not be uninstalled when the package is uninstalled. This
eliminates ICE09 validation errors.
Mark components destined for Executable files installed to the CommonFilesFolder (or a subfolder of
the CommonFiles folder as CommonFilesFolder) are marked as shared files. This ensures that these
shared components can coexist with DLLs installed by previous setups.
Map registry data to the Setting this option reduces the number of ICE33 warnings that can occur during
appropriate COM tables package validation, resulting from data not being mapped to the appropriate MSI
tables.
Map registry data to the If selected, ODBC-related registry data is mapped to ODBC tables instead of the
appropriate ODBC tables Registry table. This data will only function correctly if Windows Installer supports
the ODBC resource being mapped; InstallShield recommends you do not enable
this option if you are unsure whether the ODBC resources are supported
correctly by Windows Installer.
Map NT Service events to the If selected, NT Service–related registry data is mapped to ServiceControl table
ServiceControl table instead of the Registry table.
Option Description
Include files from InstallShield Files identified in the Media Scan Wizard will be included in the package (unless
legacy media scan you have manually excluded them from the project).
Exactly match legacy setup’s For SmartScan projects or projects using the Professional Logging Method:
Operating System requirements
• Selected—if this option is selected, component conditions will store
specific operating system information: if the filter was NT4, the condition
will be (VersionNT=4).
• Unselected—If this option is not selected, component conditions will store
a grouping of the operating system: if the filter was NT4, the condition will
be (VersionNT).
• Default—By default, this option is not selected.
Repackaging Wizard
Repackager provides the Repackaging Wizard to convert a legacy setup into a Repackager project. Using
this Wizard, you can select the repackaging method (either Snapshot or Installation Monitoring), specify
the setup(s) you want to repackage, and run the setup(s). When the Repackaging Wizard has finished its
analysis, Repackager automatically creates a Repackager project (.irp) file, which can be modified in
Repackager. You can then convert this file to an InstallShield Editor project (.ism) for further editing, or
convert it directly to a Windows Installer package (.msi).
The Repackaging Wizard includes the following panels:
• Welcome Panel
• Repackaging Panel
• Summary Panel
Welcome Panel
The Welcome panel appears when you first launch the Repackaging Wizard, providing some
introductory information about the use of the Wizard, including that it is for use with traditional (non-
Windows Installer-based) installations.
Options Description
Snapshot The Snapshot method involves taking system snapshots before and after an installation,
and then creating the Windows Installer package from the difference between them. Any
configurations you make between snapshots is also included in the generated Windows
Installer package.
Installation Monitoring Installation Monitoring watches all activities generated by an installation, and then
determines the files, .ini files, registry entries and shortcuts that should be included in
the generated Windows Installer package.
Installation Monitoring is significantly faster than the Snapshot repackaging method.
If there are services running on the machine that have nothing to do with the installation
being repackaged, click the Advanced Settings link to open the Excluded Processes
Dialog Box, where you can choose to exclude those processes.
Tip: If you know that the installation that you are capturing is from a self-extracting .exe
file and if you want to use the Installation Monitoring method, you should click
Advanced Settings and add the name of that .exe file to the excluded processes list.
• Environment Variables
• Files
• INI Files
• NT Services
• ODBC Drivers
• Printer Drivers
• Registry Entries
• Shortcuts
If you are using the InstallShield Professional Logging Method to repackage an InstallShield Editor or
DevStudio 9.x InstallScript installation, the following additional information is also collected:
• Path Variables
• Feature/Component Tree
On the Snapshot Method Panel, you have the following two options:
Option Description
Single Step Repackaging in a single step requires you specify at least one setup program to repackage.
The Repackager first takes an initial system snapshot, then runs the setup program(s) you
specify, and then takes a second snapshot to create the script file that can be converted into a
Windows Installer package.
You also have the option of requiring the Repackager to prompt you before running the setup
program(s), allowing you the opportunity to make changes to your system that you want
included in the final package.
Note: If you are repackaging an InstallShield Editor or DevStudio 9.x InstallScript installation
and want to use the InstallShield Professional Logging Method, select Single Step.
Multiple Steps Repackaging in multiple steps allows you to run the Repackager to obtain an initial system
snapshot, after which the Repackager exits. You can then perform any modifications to the
system, such as changing configurations, running installations, and so forth. After making the
necessary modifications, run the Repackager again to analyze system status changes. The
difference between the second Repackager execution and the first results in the script file that
ultimately can be converted into a Windows Installer package.
The single step method is very straightforward if you are repackaging applications and not performing
many system changes. The multiple step method allows greater flexibility because a setup is not
required. This allows you to capture system configurations within the Repackager output, and ultimately
within a Windows Installer package. For example, you could modify the screen color depth and create an
MSI package for just that configuration.
If Single Step is selected, the Collect Product Information Panel is displayed when you click Next.
If Multiple Steps is selected and you are performing the initial snapshot, the Collect Product Information
panel is displayed, but the Setup Programs area is disabled. If you are performing a system status change
analysis, the Repackaging Panel appears when you click Next.
The information on the Collect Product Information Panel is divided into two sections: Setup
Programs and Product Information.
Properties Description
Program File The name and location of the setup executable. Click the Browse button to locate this
file. This is a required field.
Properties Description
Edit Setup List Click to display the Additional Setup Programs dialog box, from which you can enter
additional installations to repackage together with this installation. Additional setups share
the same product name, version number, and company name in the repackaged
installation. However, as you locate each additional setup to repackage, you can specify
command-line parameters pertaining only to that setup. You can also specify the order in
which the installations are run, should it be necessary.
Field Description
Product Name Enter the name for final repackaged installation. This could be the name of the original
installation (for example, Tuner), the name of a collective group of products (for example,
InstallShield Applications), or another name of your selection (for example, My Apps). This is a
required field.
InstallScript MSI installations use a Windows Installer database for storage of all file/registry
information, but the actual user interface, and much of the installation logic is driven by the InstallScript
engine via a setup.exe file. This type of installation architecture can cause difficulties during
deployment, such as:
• inability to customize or transform the application
• You selected the Installation Monitoring method on the Method Selection Panel, or
• You selected the Snapshot method on the Method Selection Panel and then selected Single Step
on the Snapshot Method Panel.
If you want to use the InstallShield Professional Logging Method, select the Use InstallShield
Professional Logging instead of repackaging check box.
Using the InstallShield Professional Logging Method, Repackager can read logged output of
InstallShield Editor and DevStudio 9.x InstallScript installations. This method replaces the other
repackaging methods (Installation Monitoring and Snapshot) for InstallShield Editor or DevStudio 9.x
InstallScript installations. By using this method, you will be able to get additional information that
would not be captured by repackaging, including path variables and a feature tree. For more
information, see InstallShield Professional Logging Method.
Figure 3-24: Repackaging Wizard Set Target Project Information and Capture Settings
It is recommended that this location not be located on your clean machine, but rather on the same
machine as the Repackager executable (most likely on your administrator machine).
You can also review or edit current capture settings by clicking Edit, which displays the Analysis
Options dialog box.
Click Start to begin repackaging and display the Repackaging Panel.
It is recommended that this location not be located on your clean machine, but rather on the same
machine as the Repackager executable (most likely on your administrator machine).
You can also review or edit current settings by clicking Edit to open the Analysis Options dialog box.
On the Analysis Options dialog box, you can specify capture types for the repackaging session, and,
for snapshot-mode captures, you can restrict directory analysis to specific directories.
Click Start to begin repackaging and display the Repackaging Panel.
Repackaging Panel
The Repackaging panel appears while Repackager analyzes your system.
Depending on settings configured before starting repackaging, the analysis may stop following the initial
phase, and again after setup has been run.
After the setups have been completed, you are prompted to click the Process button to complete the
repackaging process.
When you click Process, the repackaging is performed and its progress is displayed.
Summary Panel
The final panel displayed by Repackager is the Summary panel.
This panel provides confirmation that repackaging was successful, and provides the location of the
source setup program(s), the Windows Installer package, and the InstallShield Editor project.
Essentially, this is a list of the other executables to run, in the order they are to be run, prior to final
analysis. The following buttons are available:
Button Description
New Brings up the Setup Information dialog box to enter information about the setup programs.
Edit Displays the Setup Information dialog box to edit information about the currently selected setup.
Accessible from the Additional Setup Programs dialog box, you can provide the name and location
of an additional setup program, and any command-line arguments for the setup.
You can open the Excluded Processes dialog box by clicking the Advanced Settings link on the
Repackaging Wizard Method Selection Panel. The Excluded Processes dialog box initially lists a default
set of processes.
• To add a process to this list, click the New ( ) button to add a new blank line to this list, and enter
the name of the process that you want to exclude.
• To delete a process from this list, select the process and click the Delete ( ) button.
• Deleted files
• .ini files
• Shortcuts
• Registry data
Option Description
-app <setup program list> Allows you to provide a pipe (|) delimited list of setups to run during repackaging.
You can also pass command-line arguments to the setup by separating them from
the setup name with a semicolon:
-app exe1; cmdline1|exe2; cmdline2|...exeN; cmdlineN
-b [<project file path and Specifies the build/release destination folder. If <project file path and name> is not
name>.ism] specified, Repackager uses the folder where the .inc file is stored. The project
name must end in .ism.
-cf <config.ini> This option allows you to select your own configuration template containing
exclusions. A sample of this type of file (named Default.ini) can be found in the
following directory:
-cs <configuration type> This option allows you to select the configuration file type for exclusions. Possible
values are:
• Shared—Use shared settings from those stored in the AdminStudio Shared
directory.
• Custom—Use a custom configuration file (in conjunction with -cf).
Option Description
-is Regarding the Repackaging an InstallScript MSI Setup to a Basic MSI Setup
procedure, use this parameter in the command line using the following syntax:
Repack.exe -app "c:\setup.exe" -o C:\apps\output -mm -is
In the above example, the user wants to repackage c:\setup.exe using the
Installation Monitoring repackaging method (as specified by -mm) and InstallScript
conversion (as specified by -is). Repackager would perform the InstallScript
conversion process and produce a Basic MSI package with InstallScript support as
output. Without the -is parameter, Repackager would perform repackaging without
performing InstallScript conversion, and would only create a Repackager .inc file
as the output.
Note: The command line parameter -is will be considered only if the setup to be
repackaged is a InstallScript MSI setup. If user specified any other legacy setup that
is not a InstallScript MSI setup then -is will be ignored.
Note: If user chooses to use the Multiple Step Snapshot repackaging method, then
the -is parameter will be ignored. Even if the setup is an InstallScript MSI setup, -is
will still be ignored when using the Multiple Step Snapshot repackaging method.
-mode <snapshot mode> Repackager supports the following repackaging modes for snapshots:
• single—Single step repackaging that creates an INC file as its output.
• pre—Pre-scanning only scans the local drive for a baseline snapshot of the
system.
• post—Post-scanning only scans the local drive and compares the result with
the pre-scan. The differences are written to the INC file as output.
-mp Instructs Repackager to use the InstallShield Professional Logging Method as the
repackaging technology.
-o <.inc path name> Specifies a folder path not including the filename. The file name is derived from the
Product Name unless overridden with the -of switch.
-of <inc file name> Specifies the .inc file name that should be used instead of the product name. Use -o
to specify the path.
-pp <product name> Allows you to set the product name. This will be the same name as the generated
Repackager output file (.inc).
Option Description
-sb This option allows you to run Repackager silently, with no user interaction. A
progress dialog box is displayed. If no .ini file is specified using the -i parameter,
Repackager uses Repack.ini as the default input file. If an output folder is not
specified using -o, the default output folder is C:\Packages.
-sn This option allows you to run Repackager silently, with no user interaction and no
progress dialog box. If no .ini file is specified using the -i parameter, Repackager
uses Repack.ini as the default input file. If an output folder is not specified using -
o, the default output folder is C:\Packages.
-version This option displays standard version information for Repackager, including the full
version and copyright information.
Note: In addition to the - sign for command-line arguments, you can also use the / symbol.
SmartScan Wizard
The SmartScan Wizard is designed to scan original, InstallShield Professional 5.x and later media for
setup information that may not have been captured during repackaging, such as possible additional files,
.ini files, shortcuts, or registry data (such as for language-specific setups or platform-specific setups).
This primarily involves OS-dependent and language-dependent files that may be included in header
files. Ultimately, this makes the installation more portable.
Tip: Any files found will be displayed in Repackager in a different color (as specified in the Color tab of the Options dialog
box).
The SmartScan Wizard is also able to group files, shortcuts and registry entries into features
corresponding to InstallShield Professional components. Any items (files, folders, shortcuts, or registry
entries) that are attached to a component directly or indirectly (through File Groups), are attached to
their corresponding features.
• the file has not already been repackaged using the InstallShield Professional Logging Method
(available for InstallShield Editor and DevStudio 9.x InstallScript installations only), and
• the SmartScan Wizard has not already been run on this project
• Scanning Panel
When you click Next, you advance to the Original InstallShield Professional Setup Panel, where
you specify the InstallShield Professional setup you want to scan.
Note: For your convenience, if a Repackaging project is opened (either by using Open on the File menu or by using the
Repackaging Wizard), and the project meets certain conditions, the SmartScan Wizard is automatically launched. The
SmartScan Wizard is launched:
• if the original setup was an InstallShield Professional 5.5 or later installation, AND
• the file has not already been repackaged using the InstallShield Professional Logging Method (available for
InstallShield Editor and DevStudio 9.x InstallScript installations only), AND
• the SmartScan Wizard has not already been run on this project
Option Description
Specify the path of the original This field is filled in by default if that information exists. Click Browse to specify the
setup executable InstallShield Professional setup executable that you want to scan. If you enter an
invalid path name, the Next button will be disabled.
Specify password if required Specify a password of the path of the original setup executable, if required.
Original target folder By default, this field is populated with information found in the original setup
package. Enter the directory where the product was installed during the
repackaging process. In most cases, this will be a subdirectory of
[ProgramFilesFolder]. Alternatively, you can enter any target where the product was
installed during the repackaging process. For example, if you installed this product
to C:\Program Files\MyCompany\MyProduct Folder, you would enter the following in
this field:
[ProgramFilesFolder]MyCompany\MyProduct
Click Next to proceed to the Scanning Panel, which shows the output and progress of the scan.
Scanning Panel
This panel displays the progress that SmartScan Wizard is making as it scans an InstallShield
Professional setup.
Click Next to proceed to the Scanning Media Panel, which first scans the original media, then
displays the results.
Click Finish to add these to the project. Any default exclusions based on the exclusions file will be
applied.
Tip: Any files found will be displayed in Repackager in a different color (as specified in the Color tab of the Options dialog
box).
• Results Panel
Welcome Panel
The first panel in the Setup Intent Wizard informs you the purpose of the Wizard, and warns you the
source files for your project must be present for successful scanning.
Click Next to start the scan and display the Scanning Project Panel.
Results Panel
The final panel in the Setup Intent Wizard allows you to view and select new files detected by the
Wizard, but not already included in your Repackaging project.
Select the files you want to include in your project which were not identified during repackaging.
Click Finish to exit the Setup Intent Wizard and return to the Repackaging project (with selected files
automatically added to the project), or click Back to return to the Scanning Project Panel.
Note: The VMware Repackaging Wizard menu item on the Tools menu is enabled if Repackager finds VMWare 3.0 and
later installed on the workstation, and if a VMware image exists on that machine. If no VMware images are found, the
VMware Repackaging Wizard menu item will be disabled. Repackager reads the information about VMware images from:
<Application Folder>\VMware\Virtual Machines.vmls
Virtual Machines.vmls is a text file that contains information about individual VMWare images and where the
configuration file for each image is located. This file should contain information for at least one VMWare image for the
VMWare Repackaging Wizard menu item to be enabled.
Using the VMware Repackaging Wizard, you select an available VMware operating system, and then
Repackager automatically launches the selected operating system within a VMware session.
The VMWare Repackaging Wizard includes two panels:
• Welcome Panel
Welcome Panel
The first panel displayed in the VMware Repackaging Wizard is the Welcome panel. It explains the
purpose of this Wizard: to display available VMware images on the current workstation, allowing you to
select and launch the one you need.
Click Back to return to the Welcome Panel; click Launch to launch the selected VMware image.
• Files Tab
• Registry Tab
Menus
Menus are not available when running the Exclusions Editor from within Repackager. They are only
available when you launch the Exclusions Editor by opening the following file:
AdminStudio Installation Directory\Repackager\AnalysisOptions.exe
Keyboard
Menu Command Shortcut Description
File Open | Shared Opens the settings file (isrepackager.ini) from the AdminStudio
Exclusions Shared directory. Open this settings file when working in a team
environment where the exclusion list needs to be stored in a
centralized location.
Open | Custom Allows you to browse to an Exclusions Editor settings file and open it.
Exclusions You would create a custom exclusion file based upon your company's
requirements.
File Save Ctrl+S Saves the current Exclusions Editor settings file.
File Save As Saves the current Exclusions Editor settings file to the name and
location specified.
Files Tab
File exclusions for Repackager indicate which files are automatically marked as excluded in the
Repackager project. File exclusions in the OS Snapshot Wizard indicate files that will be excluded from
the captured OS snapshot.
This Files tab contains a list of paths and files currently excluded from the capture process. Specific
files, file extensions, and the entire contents of specified directories can be excluded.
The following three buttons allow you to add, edit, and remove files and directories from the exclusion
list:
Button Description
New Displays the File Exclusion Information dialog box from which you can specify additional file
exclusions.
Edit Brings up a dialog box from which you can change settings for the currently selected path in the
exclusion list.
Delete Deletes the currently selected path from the exclusion list.
Note: It is highly recommended that you do not edit the default exclusions for the OS Snapshot Wizard.
The INI Files tab contains a list of the .ini files and sections within .ini files excluded during analysis.
If all sections are excluded, an asterisk (*) is used in the Excluded Sections column.
The following three buttons allow you to add, edit, and remove .ini files from the exclusion list:
Button Description
New Displays the INI File Exclusion Information dialog box from which you can specify additional .ini file
exclusions.
Edit Brings up a dialog box from which you can edit currently excluded .ini files.
Delete Deletes the selected .ini file from the exclusion list.
Note: It is highly recommended that you do not edit the default exclusions for the OS Snapshot Wizard.
Registry Tab
Registry exclusions for Repackager indicate which registry keys are automatically marked as excluded in
the Repackager project. Registry exclusions in the OS Snapshot Wizard indicate registry keys that will be
excluded from the captured OS snapshot.
The Registry tab contains a listing of keys and values to be excluded during registry analysis. For keys
that have specific values excluded, the value name appears in the Value column. For keys that have all
values excluded, an asterisk (*) represents the entire key in the Value column.
There are three buttons available from this dialog box that are used to add, edit, or remove keys from the
exclusion list:
Button Description
New Displays the Choose Registry Key dialog box, from which you can select registry keys and values for
exclusion during analysis.
Edit Brings up a dialog box from which you can modify the selected key's exclusion settings.
Note: It is highly recommended that you do not edit the default exclusions for the OS Snapshot Wizard.
Enter or browse to the path you want to exclude, and provide the file(s) to be excluded. In addition to
specifying individual files, you can also exclude all files with a certain extension by entering an asterisk
(*) plus the extension (for example, *.txt) in the Excluded Files field. You can also exclude all files in a
directory by only entering an asterisk in the Excluded Files field.
Click OK to return to the Files Tab.
Enter or browse to the .ini file you want to exclude, and provide the section(s) to be excluded. Sections
must be enclosed in square brackets ([]), and separated by vertical bars (|) if more than one section in an
.ini file is to be excluded (for example, [Groups],[Settings]). You can also exclude all .ini file sections
by only entering an asterisk in the Excluded Sections field.
Click OK to return to the .ini Files Tab.
Navigate through the tree until you find the key you want to exclude and click OK to return to the
Registry Tab.
By default, all values in that key are excluded. To modify this, select the key from the Registry Tab and
click Edit to display the Edit Registry Key dialog box.
Tip: You can also select a registry hive to exclude. As with individual registry keys, all values (and keys) contained in the
hive are excluded by default.
You can modify the Key Name and/or Value Name excluded during analysis.
Click OK to return to the Registry Tab.
Options.ini File
The Options.ini file is created by Repackager and is used during the conversion of Repackager output
into an InstallShield Developer project (.ism). It includes basic project settings which are required by
Repackager.
Note: Although many of these settings have a one-to-one correspondence with settings available in the Repackager
interface, some can only be accessed by editing this .ini file directly.
[General]
UseSrcFolder=Y
EnablePathVariables=Y
UseHKCUProxy=N
LimitedUI=Y
SISAuthor=Repackager
OtherFilesNewComponents=N
UseMergeModules=Y
SharedCommonFiles=Y
PermanentSystemFiles=Y
PermanentSystemFilesSubfolders=N
ExtraHKCRPermanent=Y
COMMapping=Y
ServiceControlEvents=N
ALLUSERS=Y
ProjectTemplate=
BuildCompressed=Y
CreateSetupExe=N
MultiUserShortcuts=Y
[IgnoreShortcuts]
TargetExe1=isuninst.exe
TargetExe2=uninst.exe
TargetExe3=setup.exe
TargetExe4=uninst.dll
MMExclusions Section
This section lists the merge module GUIDs that should not be included in your package. This section
only applies if you have selected to replace files with merge modules during conversion.
General Section
Following are descriptions of properties that can be set in the [General] section of the Options.ini file.
Properties Description
AddlMMSearchPath Use to specify additional directories containing custom merge modules to use
during repackaging.
ALLUSERS If this option is set to Y and if the template file (specified using the
ProjectTemplate option) does not contain ALLUSERS in its Property table,
then a property named ALLUSERS with a value of 2 will be added to the
Property table. This will cause silent installs to behave as non-silent installs do
(non-silent installs rely on a custom action to set this property).
This option is set to Y by default.
ARPPublisher This populates the Publisher field in Add/Remove Programs in the Control
Panel.
ARPPublisherURL This populates the Publisher URL field in Add/Remove Programs in the
Control Panel.
ARPSupportURL This populates the Support URL field in Add/Remove Programs in the
Control Panel.
AutoUpgrade Upgrades the InstallShield Editor template project file (if used) if needed.
This option is set to Y by default.
BuildCompressed This option, set to Y by default, compresses all necessary files inside the MSI
package, as opposed to storing them outside of the MSI database.
BuildMSI Specifies whether or not to build the MSI package after building ISM.
This option is set to Y by default.
BuildProScannedFiles Files identified in the Media Scan Wizard will be included in the package
(unless you have manually excluded them from the project).
This option is set to Y by default.
BuildStaticScannedFiles Any files identified when running the Setup Intent Wizard will be included in the
package (unless you have manually excluded them from the project).
This option is set to Y by default.
Properties Description
COMMapping When this option is set to Y, registry data pertaining to COM information will
be mapped to the appropriate MSI tables whenever possible. This reduces the
number of ICE33 warnings that can occur during package validation.
This option is set to Y by default.
CreateSetupExe This option, which is set to N by default, allows you to automatically create a
Setup.exe file to begin the installation.
EnablePathVariables Set this option to Y to use path variables. If enabled, the repackaged setup is
significantly more portable between computers (with dependencies to the
system where the setup was repackaged removed).
This option is set to Y by default.
ExtraHKCRPermanent When this option is set to Y, any changes made to existing registry data
during repackaging which cannot be identified as belonging to a file installed
by the setup are placed in permanent components, which are not removed by
default when the repackaged setup is uninstalled. This prevents inadvertently
removing registry entries required by other applications that were not
originally made by the repackaged setup.
By default, this option is set to Y, and InstallShield strongly recommends
retaining this setting to prevent unexpected results when the package is
uninstalled.
INSTALLDIR This value will be used for INSTALLDIR (the installation directory) and can use
a Windows Installer property such as
[ProgramFilesFolder]\MyProgram
ISProSetup If one of the original setups that was repackaged was created by InstallShield
Professional 5.5 or later, this option will be set to Y.
This option is set to N by default.
LimitedUI Set this option to Y display only the InstallWelcome dialog box when the MSI
package is run.
This option is set to Y by default.
MultiUserShortcuts When this option is set to Y, non-advertised shortcuts will work for all users on
the target system. This will generate ICE43 warnings when validation is run. If
you know the installation is for a single-user environment, change this option
to N to avoid these warnings.
This option is set to Y by default.
MMPathVersion When including merge modules, if this option is set to Y, compare path and
version information.
This option is set to Y by default.
Properties Description
OtherComponentFileExtensions Specify additional extensions to use when defining components. MSI has rules
governing component creation for file types. For example, PE files must have
separate components. Therefore, certain extensions have been defined (EXE,
DLL, etc.). Additional extensions can be defined in the options.ini file in the
format of:
Type1:Extension1|Type2:Extension2
where Type is one of the following numbers:
0 = other
1 = PE
2 = help
3 = font
4 = INI
This option is set to 1:QTX|1:AX by default.
OtherFilesNewComponents When this option is set to Y, one component will be created for every file in
your setup. Otherwise, new components will only be created for each portable
executable file.
This option is set to N by default.
PermanentSystemFiles Set this option to Y to mark portable executable files installed to a system
folder (System32Folder) as Permanent files (will not be uninstalled).
This option is set to Y by default.
PermanentSystemFilesSubfolders Set this option to Y to mark files installed to a subfolder of a system folder as
Permanent files (will not be uninstalled).
This option is set to N by default.
ProductName The name of the product. You must provide a value for this option either in this
file or in Repackager.
ProductVersion The version of the product. You must provide a value for this option either in
this file or in Repackager.
Properties Description
ProjectTemplate The name and location of the default InstallShield Editor project template
(.ism) used in the conversion process.
ServiceControlEvents When this option is set to Y, the ServiceControl table will be populated for NT
Services.
This option is set to N by default.
SharedCommonFiles Set this option to Y to mark portable executable files installed to the
CommonFilesFolder (or subfolder) as Shared files.
This option is set to Y by default.
SISAuthor This option populates the Author field of the Summary Information Stream
(accessible from the package's properties).
This option is set to Repackager by default.
SISSubject This option populates the Subject field of the Summary Information Stream
(accessible from the package's properties).
SkipMMIfShortcut Merge Modules that have files pointed to by shortcuts should be skipped even
if they are not in the exclusion list.
This option is set to Y by default.
SmartScannedOnce Specifies whether or not the SmartScan Wizard was run for this project.
This option is set to N by default.
UseLanguage When selected, the target package's language will be the language detected
by Repackager (as displayed in the Captured Installation view).
This option is set to N by default.
UseMergeModules Set this option to Y to replace files with merge modules whenever possible
during conversion. Exceptions are listed under the [MMExclusions] section.
This option is set to Y by default.
UseSrcFolder Set this option to Y to make the InstallShield Editor project (.ism) folder
default to the Repackager output project (.inc) folder.
This option is set to Y by default.
IgnoreShortcuts Section
Shortcuts that refer to executables listed in this section will be ignored during conversion.
Options.ini Repackager output directory (specified in This is an output file from the Repackaging
the Set Target Project Information and Wizard. It contains configuration information
Capture Settings Panel). about the repackaged setup, including whether to
use path variables, whether to display a limited
The Repackaging Wizard makes a copy
user interface during installation of the
of the default options.ini that is
repackaged setup and whether every file will go
present in the following directory:
into its own component.
AdminStudio Installation
Directory\Repackager
productname.inc Created in the Repackager output This is an output file from the Repackaging
directory (specified in the Set Target Wizard. It contains the locations of files, .ini
Project Information and Capture Settings files, and shortcuts detected by Repackager as
Panel). having been created, modified, or removed
during repackaging. Also, it contains a link to the
standard.nir and deleted.isr files for
registry information.
updated.isr Created in the Repackager output This is an output file from the Repackaging
directory (specified in the Set Target Wizard when the Install Monitoring method is
Project Information and Capture Settings used. It contains registry additions and
Panel) modifications detected during repackaging using
installation monitoring only.
deleted.isr Created in the Repackaging output This is an output file from the Repackaging
directory (specified in the Set Target Wizard. It contains registry deletions detected
Project Information and Capture Settings during repackaging using Installation Monitoring
Panel) and Snapshot.
standard.nir Created in the Repackager output This is an output file from the Repackaging
directory (specified in the Set Target Wizard when the Snapshot method is used. It
Project Information and Capture Settings contains registry additions and modifications
Panel). detected during repackaging using the Snapshot
method.
*.spy Created in the following folder: This is an output file from the Repackaging
Wizard when the Install Monitoring method is
WindowsDrive\InstallHook used. It contains API call logs for installation
monitoring.
*.irp Saved in the same location as This is a Repackager project file. It is the main file for
the .inc file. each repackaged or converted setup. It contains
information about the .inc files referred to and also
stores the file, folder, .ini files and registry exclusions
made in the Repackager Interface.
<Exclusion List>.ini varies This is an input file for the conversion of the .inc file to
an MSI package. It contains the list of files, folder, .ini
files and registry entries exclusions. Users can choose
a different exclusion file from the Repackager Interface
and the exclusions will be reflected in the Interface.
Options.ini Saved in the same location as This is an input file for the conversion of the .inc file to
the .inc file. an MSI package. It contains configuration information
about the repackaged setup, including whether to use
path variables, whether to display a limited user
interface during installation of the repackaged setup,
and whether every file will go into its own component.
Additionally, the UseSrcFolder flag can be used to
store the created InstallShield Editor file in the same
directory as the .inc file.
Repack.ini File
The Repack.ini file is the default capture exclusion file for the Repackaging Wizard. It contains
exclusions to be applied during repackaging, and mainly focuses on specific items that should not be
included in applications, such as InstallShield Professional-specific COM settings, OS settings, and
Internet Explorer settings. Any item excluded during capture will not be available for exclusion/
inclusion in the Repackager project file.
The file is located in the Windows folder, and can be edited using the Exclusions Editor, or using a text
editor.
Note: InstallShield strongly recommends you not modify this file, as it increases the likelihood of either inadvertently
omitting necessary pieces of applications you are repackaging, or including registry entries or files that should not be part
of the repackaged application. In the first scenario, you may need to recapture your application; in the second, you may
need to exclude more from the Repackager project.
Instead, capture your application using the default exclusions in the Repackaging Wizard, and then selectively exclude
captured data using the Repackager Interface. This way, if you inadvertently exclude a necessary piece, you need only
reinclude it in Repackager—not recapture the application entirely.
Troubleshooting
Repackager Troubleshooting information is presented in the following topics:
• Troubleshooting Guidelines for WinINSTALL Conversion
• WinINSTALL environment variable assignments are not converted—To re-add environment variable
assignments in a Windows Installer installation, open the converted project in InstallShield Editor
and use the Environment Variable view.
• WinINSTALL variables are converted to a Windows Installer variable—If the target path of a file contains
a WinINSTALL variable, then the WinINSTALL variable is converted to a Windows Installer
variable.
• Specify @ variables at conversion time—If the source path of a file in WinINSTALL contains either the
@Server or @Wininstall variable, you can specify the values of these two variables at conversion
time in the Repackager.
• The WinINSTALL Preinstall and Postinstall scripts are not converted.
your first step is to go to the Repackager Interface and check whether the number of files installed by
this setup is greater than 32,767. If it is, this error occurs because Windows Installer supports 32,767
files in the File table but the package being built exceeds this limit. See Authoring a Large Package in
Windows Installer Help for more information.
If you want to fix this error using Repackager, perform the steps listed below.
• If you are using the standalone Repackager, browse to the Repackager folder.
• If you are using the Repackager on a machine where AdminStudio is fully installed, browse to
the following directory:
<AdminStudio INSTALLDIR>\Editor\Support\0409
Note: Transforms and patches cannot be created between two packages with different column types.
Note: For more information, see the Authoring a Large Package and File Table topics in the Windows Installer Help.
A
About Exclusions Editor dialog box 188
D OS Snapshot Wizard 93
OS Snapshot Wizard global 93
project 93
data type appearance 26
registry 185
changing Repackager 26
registry data 104
Default.ini 194
registry keys 89
Deleted Files view 146
registry values 89
Deleted Registry Entries view 147
removing existing file 99
Deleted.isr 194
removing existing INI file 103
deleting added setups 47
dependencies 116 removing registry 106
Repackager 93
L O
legacy setups 19, 41, 80 -o 170
converting 80 -of 170
repackaging 19, 41 Online Communities
LimitedUI 189 help 14
Options dialog 135
Options.ini file 189, 194
M options.ini file
OtherComponentFileExtensions 189
Macrovision 11
support for user-defined extensions 189
Consulting Services 13