background image

Wise Virtual Package Editor Reference

37

Capturing Applications

 

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

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 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 11.

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.

Capturing an Installation

¾

Requires SVS Driver on the SetupCapture computer.

SetupCapture records all the changes performed by an installation and can save that 
information to a Virtual Software Package (VSP). You can save the output as a virtual 
software layer or a virtual software project file (.WVP).

Before you capture an installation, close all other applications so that changes they 
make are not captured. After you capture an installation, you can use Virtual Package 
Editor to edit it.

To capture an installation

1. In Virtual Package Editor, select File menu > New.

The New Virtual Package dialog box appears.

2. Complete the New Virtual Package dialog box:

„

In the Templates/Tools list, click SetupCapture.

„

In Output Type, specify whether to create a virtual software layer or a .WVP 
file.

Содержание WISE VIRTUAL PACKAGE EDITOR 7.0 SP2

Страница 1: ...Wise Virtual Package Editor Reference ...

Страница 2: ... AND WARRANTIES INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE OR NON INFRINGEMENT ARE DISCLAIMED EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID SYMANTEC CORPORATION SHALL NOT BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH THE FURNISHING PERFORMANCE OR USE OF THIS DOCUMENTATION THE INFORMATION CONTAINED IN THIS DO...

Страница 3: ... on a regional business hours or 24 hours a day 7 days a week basis z Premium service offerings that include Account Management Services For information about Symantec s support offerings you can visit our web site at the following URL www symantec com business support All support services will be delivered in accordance with your support agreement and the then current enterprise technical support...

Страница 4: ...st information about product updates and upgrades z Information about upgrade assurance and maintenance contracts z Information about the Symantec Buying Programs z Advice about Symantec s technical support options z Nontechnical presales questions z Issues that are related to CD ROMs or manuals Support agreement resources If you want to contact Symantec regarding an existing support agreement ple...

Страница 5: ... threats Consulting Services Symantec Consulting Services provide on site technical expertise from Symantec and its trusted partners Symantec Consulting Services offer a variety of prepackaged and customizable options that include assessment design implementation monitoring and management capabilities Each is focused on establishing and maintaining the integrity and availability of your IT resourc...

Страница 6: ... Virtual Package Editor Template 16 Creating an Application Layer 17 Opening a Virtual Software Package 19 Compiling a Virtual Software Package 20 Product Details Page 20 Files Page 21 About Installation Directories 22 Adding Files to a Virtual Software Package 23 Adding Contents of Directories to a Virtual Software Package 23 Editing File Details 24 Registry Page 25 Adding Registry Keys 26 Import...

Страница 7: ...ware management that lets you package applications and data into managed units that can be installed as virtual layers When you create a VSP for your application the end user can install it like any other application without any special license To create a VSP you normally use the various Installation Expert pages in Virtual Package Editor However to virtualize an existing application you can use ...

Страница 8: ... About the Installation of an MSI into an SVS Layer on page 219 The following are some of the benefits of creating VSPs z End users can easily and instantly repair your application if it is broken See About User Maintenance of Virtual Software Packages on page 11 z Your applications will not conflict with any other applications on the end user s computer and will not change the base Windows instal...

Страница 9: ...functionality See Events Page on page 29 z Maintain source path locations z Avoid capturing information that is specific to the computer where the layer is created example user specific SID data Specify this format as your output type when you create a VSP to distribute to other users virtual runtime archive file VRA A VRA file is generated when you compile a WVP file or when you export a virtual ...

Страница 10: ...ayer in the following ways z Use the SetupCapture tool to capture an existing application and use Installation Expert to edit the package z Use the Installation Expert pages to create the package by adding files registry keys and application settings You cannot use Virtual Package Editor to create a data layer or to add a data layer to an application layer See also About Virtual Package Editor on ...

Страница 11: ...al Software Packages An end user can use Add Remove Programs to remove or repair a Virtual Software Package VSP that you create with Virtual Package Editor The end user has the following options when they click the Change Remove button on Add Remove Programs Read only The read only sublayer contains all the files and settings that are not reset when the layer is reset When you use SetupCapture to ...

Страница 12: ...ackage Editor This downloads the SVS Driver runtime which is an unlicensed version of the driver It also downloads and installs the full version of the SVS Driver Software Virtualization Agent and some other SVS related files Wise Installation Studio uses this full version for its features that use SVS functionality The SVS Driver runtime is used whenever you create an installation that installs a...

Страница 13: ...r the active window or dialog box press F1 z To select a help topic from a table of contents index or search select Help menu Help Topics Reference Manual All the material in the online help is also available in a PDF format reference manual which you can access by selecting Help menu Reference Manual Getting Started Guide The Getting Started Guide contains system requirements and installation ins...

Страница 14: ...ge 21 z Registry Page on page 25 z Delete Entries Page on page 27 z Exclusions Page on page 28 z Events Page on page 29 z Releases Page on page 31 About Installation Expert Installation Expert is the Virtual Package Editor user interface It lets you create and edit Virtual Software Packages VSP and provides an easy to use task oriented interface for this process Each page of Installation Expert le...

Страница 15: ... On the Files page you define what files are included in the package Complete only the pages that are pertinent to your particular package in any order z Use on the toolbar to navigate from page to page or click the page name in the list of pages z To display help for the current page press F1 Compile Click the Compile button to compile a virtual software project file WVP into a virtual software a...

Страница 16: ...lick Yes The SVS Driver downloads and installs 3 When prompted to reboot your computer click Yes A restart of your computer is required to complete the installation of the SVS Driver 4 After your computer restarts restart Virtual Package Editor See also Creating an Application Layer on page 17 Creating a Virtual Package Editor Template You can create a template that lets you define settings for in...

Страница 17: ...ual Package Editor use the Installation Expert pages to add files registry keys and other functionality to the layer 2 On the Release page create a release for the application layer 3 Compile the installation To create an application layer with a virtual software layer output 1 In Virtual Package Editor select File menu New The New Virtual Package dialog box appears 2 Complete the New Virtual Pack...

Страница 18: ... 37 After you capture the application the captured application s package opens in Virtual Package Editor 4 Use the Installation Expert pages to edit the application layer 5 On the Release page create a release for the application layer 6 Compile the installation See also About Installation Expert on page 14 Compiling a Virtual Software Package on page 20 Releases Page on page 31 ...

Страница 19: ...d click OK 3 If the layer was created by importing a VSA file click Yes when prompted to convert the package to a VRA file format See also Creating an Application Layer on page 17 virtual software layer A layer that has been imported into the Altiris SVS applet virtual runtime archive file VRA When you open a VRA file it becomes a WVP file virtual software archive file VSA When you open a VSA file...

Страница 20: ...e Releases page This compiles the selected releases z On the Releases page in the Build column check one or more releases and click the Compile button at the bottom of the main window This compiles the marked releases Product Details Page Use the Product Details page to enter general information about the application and to specify when to activate the layer Select Product Details and complete the...

Страница 21: ...cify the directories and files to be installed on the destination computer You can add files to the read only or the writeable sublayer See About Sublayers on page 11 Files page Working with the Files Page z In the lower left list box use the right click menu to expand or collapse the directory structure to hide or show empty directories and to create delete or rename directories z Drag directorie...

Страница 22: ...ompted to verify that you want to delete the directory Delete File Remove a file from the VSP This does not delete the file from the destination computer Details View details on the VSP s files See Editing File Details on page 24 See also About Installation Directories on page 22 About Installation Expert on page 14 About Installation Directories On the Files page the following predefined director...

Страница 23: ...list boxes navigate to a file and double click it or drag it to the lower right list box You can select multiple files If you try to add files to the Destination Computer icon or the Program Files directory you are prompted to first create a folder to hold the files The file is added to the selected folder and appears in the lower right list box If you double click the file a File Details dialog b...

Страница 24: ...ctory field See also Files Page on page 21 Editing File Details When you add a file to a Virtual Software Package VSP it inherits the attributes of the original file If you edit the attributes of a file in a package the file reflects your edits when it is installed on the destination computer To edit attributes for a single file 1 On the Files page double click a file in the lower right list box T...

Страница 25: ... the Add Remove Programs list Registry page Working with the Registry Page z In the lower left list box use the right click menu to expand or collapse the directory structure to hide or show empty directories and to create delete or rename directories z Move a registry key to the other sublayer by right clicking a registry key value in the lower right pane and selecting Move to layer z Drag and dr...

Страница 26: ... delete a root folder To add a registry key 1 In Installation Expert select the Registry page 2 From Sublayer select a sublayer See About Sublayers on page 11 3 Do one of the following In the lower left list box select the location for the key Click Add and select Key Double click the registry key value in the lower right list box The Registry Details dialog box appears 4 Complete the dialog box R...

Страница 27: ... Binary Hex REG_BINARY Identifies the value as a binary in hexadecimal notation Do not use spaces commas or other characters to separate the bytes Example AD30C0A94020A8FC4C0008 Quad Word REG_QWORD Identifies the value as a 64 bit number 5 Click OK Importing Registry Entries You can import registry files REG into a Virtual Software Package VSP RegEdit 4 0 and 5 0 formats are supported for importin...

Страница 28: ... must specify a file name because a deletion entry cannot be a directory 7 Click OK The entry appears on the Delete Entries page You can add multiple delete entries See also About Installation Expert on page 14 Exclusions Page Use the Exclusions page to specify directories or file types to exclude from a layer Files that meet the criteria specified on the Exclusions page are not saved in the layer...

Страница 29: ...ck Add The Exclude Details dialog box appears 3 To specify file extensions a Mark File extension b Enter the file extension You can specify only one extension per exclusion Do not include the period or wildcard asterisk as it will be interpreted as part of the file extension example do not use doc or doc 4 To specify a directory a Mark Directory b Select the directory c To exclude subdirectories m...

Страница 30: ...n a layer or in a package that becomes a layer See About SVS Script Actions in the WiseScript Package Editor Help You can add multiple command lines or WiseScripts to a VSP You can then use the Move Up and Move Down buttons to change the order in which the command lines or WiseScripts are executed To configure a command line 1 In Installation Expert select the Events page 2 From Event select when ...

Страница 31: ...ou should be familiar with the following z WiseScript project file WSE When you create a release for a VRA file a WiseScript project file WSE is created which when compiled creates the EXE wrapper The WSE file contains the logic needed to install the VRA file You can edit this WSE file from the Releases page See Editing an Archive File s WiseScript Wrapper on page 34 By default the WSE file includ...

Страница 32: ...zation Agent is installed If a compatible version of the SVS Driver is not found and if the logic to install the SVS Driver runtime is not included in the release the EXE wrapper displays an error message and the installation ends If a compatible version of the SVS Driver is not found and if the logic to install the SVS Driver runtime is included in the release the EXE wrapper does one of the foll...

Страница 33: ...etails dialog box appears 3 Edit the default settings of the Release Details dialog box as needed Release Name The default name of the release is the name of the WVP file with Setup appended If the name contains spaces then a space appears before Setup This name identifies this script on the Releases page If you change the default name of a new release the name of the installation script file WSE ...

Страница 34: ...ses page This compiles the selected releases In the Build column check one or more releases and click the Compile button at the bottom of the main window This compiles the marked releases Also see Releases Page on page 31 Editing an Archive File s WiseScript Wrapper on page 34 Editing an Archive File s WiseScript Wrapper When you create a release on the Releases page a WiseScript wrapper is create...

Страница 35: ...ve file VRA You can edit the template that creates the wrapper Edit the template to apply changes to every WiseScript wrapper See Creating a Virtual Software Package Release on page 33 You can also edit each archive file s WiseScript wrapper See Editing an Archive File s WiseScript Wrapper on page 34 The name of the template file is VsaWrapper wse To edit the WiseScript Wrapper Template 1 Access t...

Страница 36: ...idelines z You must have the SVS Driver Software Virtualization Agent installed and you must restart your computer after installing the driver z Run SetupCapture on a clean machine See Setting Up a Clean Machine on page 37 z Before you run SetupCapture close all other applications including background services or applications example Norton AntiVirus z During a capture SetupCapture tries to conver...

Страница 37: ...rating 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 applic...

Страница 38: ...Windows Installer command line options and msiexec exe appears in EXE Name b To run the installation with command line options enter them in Command Line c Click Execute The installation starts Run the installation installing the product as you want it to be captured and return to SetupCapture when the installation is finished d Optional If you selected Global Capture on the Welcome page open the ...

Страница 39: ... in Virtual Package Editor What happens to the package varies as follows If the output is a virtual software project file WVP it is not saved until you save it If the output is a virtual software layer it is also imported into Altiris SVS applet and activated See also About the Altiris SVS Applet on page 12 ...

Страница 40: ...changing 24 read only 24 system file designating 24 using wildcard to add 23 file name long 24 short 24 Files page about 21 adding directory 23 adding file 23 filter directories with wildcards 23 G Getting Started Guide 13 global capture 38 H help about 13 Installation Expert 15 using 13 hidden file 24 I imaging software 37 installation capturing 37 capturing see SetupCapture executing for SetupCa...

Страница 41: ...ting Started Guide T template creating 16 V version product 20 Virtual Package Editor about 7 starting 16 16 16 template creating 16 virtual runtime archive file 9 virtual software archive opening 19 virtual software archive file 9 virtual software layer about 8 compiling 20 opening 19 virtual software packages See VSP virtual software project about 9 compiling 20 opening 19 virtual software proje...

Отзывы: