Wise Virtual Package Editor Reference
39
Capturing Applications
Part of this process includes searching for the computer name and currently logged-
on user name. To make the search for computer and user names as accurate as
possible, make sure the computer name and user name on the capture computer
are set to unique names four or more characters in length. Avoid having the user
name or computer name set to any common file or folder names. An example of a
unique user name is: repackage-1-user.
To create a portable Virtual Software Package (VSP), we recommend that you save
the output as virtual software project (.WVP) file. This removes security identifiers
(SIDs) that are created under HKEY_USERS.
z
During a capture, changes to an .INI file are recorded as a file change.
To make an .INI file dynamic, use the WiseScript Edit INI File Settings script action
on the Events page.
z
You must be able to run the original installation to repackage it with SetupCapture.
Example: If the installation requires a serial number, you must have the serial
number.
z
When the layer is activated, the Windows API ExpandEventVariable converts a
registry key\value from an environment variable to the actual Windows value.
z
After you capture an application, if any uninstall registry keys appear on the
Registry page in Virtual Package Editor, delete them. Uninstall registry keys can
cause problems if you use the Releases page to create a release for the VSP. These
keys can cause the Change/Remove button to not appear for the application in the
Add/Remove Programs list. Without the Change/Remove button, the end user
cannot repair or uninstall the application.
See
About User Maintenance of Virtual Software Packages
on page 13.
Setting Up a Clean Machine
A clean machine is a computer containing only the operating system and its service
packs. Run all SetupCaptures on a clean machine. This makes repackaged installations
more resilient by making them less dependent on the existence of other applications. To
replicate the clean machine quickly and easily, use a drive imaging tool.
How to Set Up a Clean Machine
1. Perform a clean installation of an operating system on the computer you use for
capturing applications.
2. Install any service packs.
3. Install Windows Installer if it is not included with the operating system.
Starting SetupCapture
To start SetupCapture from Virtual Package Editor
1. Start Virtual Package Editor.
See
Starting Virtual Package Editor
on page 17.
2. Select File menu > New.
The New Virtual Package dialog box appears.