ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Using Wise Package Studio's Application Watch


Article ID: 179883


Updated On:


Symantec Products





How do I create an installation based on an installed application in Wise Package Studio with the ApplicationWatch tool?


ApplicationWatch helps you determine what files are accessed by an installed application while it is running, or what files are accessed during an installation. It monitors your system as you execute that application or run the installation, automatically determining which .DLL, .OCX, and .EXE files are accessed.

Note: The procedure below shows how ApplicationWatch runs when launched from the Tools tab. If launched from the Projects tab, the tool may display different dialogs because some options are already defined using command line options. (See the topic Wise Package Studio Command Line Options in the Wise Package Studio Reference Manual.) To ensure execution of this feature, use this to watch locally installed applications.

To use ApplicationWatch:

1. Exit all other applications so files accessed by other applications are not added to the installation file.

2. Click the ApplicationWatch button on the toolbar or choose ApplicationWatch from the Tool menu.

The Specify Target Installation File dialog appears or, if this task or tool contains a command line option to save to a default file, the Run Application dialog appears.

In the Specify Target dialog, specify the following before clicking Next:

3. In the Target Installation field enter the full pathname of a new or existing .MSI or .WSI file. The ApplicationWatch results will be stored in this file. (In the Professional and Enterprise editions, you also can specify a .WSE file.)

4. In the Add/Update Resources in Existing Installation field, mark this checkbox to append or update the resources from the .EXE being watched to the existing installation instead of overwriting the pre-existing installation. (This checkbox is only active if an existing installation was specified in the Target Installation field)

The Run Application dialog appears.

5. In the Application Path, specify the full path name of the application executable that is to be watched.

6. To add command line options to the executable, enter them in the Command Options field. Refer to the target application's documentation for applicable command line options.

7. Click the Execute button, which launches the target application.

8. In the target application, use all possible features offered by the application (except printing). When watching an installation, simply allow the installation to complete.

As you use various features of the application, the ApplicationWatch monitors the system to see which .DLL files, .OCX files, and other files are accessed. Use as many of the application's features as possible to ensure that files accessed by rarely-used features are recorded. The exception is printing. Do not use the application to print, because printing accesses Windows OS and printer-specific files.

9. After using all the features of the watched application, exit the application, return to Wise Package Studio, and click the Next button in the Run Application dialog box.
What happens next depends on the edition of Wise Package Studio being used.

- In the Standard Edition, the Finish dialog appears. Skip the next steps, which describe the Inclusions and Exclusions dialogs, and click Finish on the Finish dialog.

- In the Professional or Enterprise Edition, the ApplicationWatch Inclusions dialog appears.

The ApplicationWatch Inclusions dialog displays all files that were used during execution of the watched application. These files will be added to the new package file that is created. Any files from the new package that need to be removed are removed using this dialog.

10. To exclude a file from the package, click the file and click the Exclude button. Use Ctrl-click and Shift-click to select multiple files.

11. Click Next on the ApplicationWatch Inclusions dialog.

The ApplicationWatch Exclusions dialog appears. It displays all the files that are excluded from the new package based on the exclusion list.

12. On the ApplicationWatch Exclusions dialog, a file that is currently excluded can be added to the new installation. Click the file name then click the Include button. Use Ctrl-click and Shift-click to select multiple files.

13. Click Finish in the ApplicationWatch Exclusions dialog.

If this tool added any file that is part of a merge module, a dialog appears prompting to download and add the merge module to the installation instead of the file. If necessary, use the Download Redistributables wizard from the Help menu to obtain the merge module, which is then added to the installation automatically.

Based on the files that were accessed by the target application, items on the Files, Shortcuts, and Setup Information pages are completed. Use this information as a starting point for developing a complete installation. As with any installation, compile and test the installation thoroughly to make sure it operates correctly.

Some of the files that are listed on the Files page might be platform-specific or non-distributable Windows system files. To be sure whether it is safe to deploy a file, check with Microsoft developer documentation before deploying these files to users.