EasyManua.ls Logo

Symantec WISESCRIPT PACKAGE EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0 - Checking for Duplicate Files in Include Scripts; About User-Defined Actions

Symantec WISESCRIPT PACKAGE EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0
268 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
WiseScript Package Editor Reference 101
Using Script Editor
Checking for Duplicate Files in Include Scripts
¾ WiseScript Package Editor only
In Script Editor, you can check WiseScripts for the existence of duplicate files. Files are
considered duplicates if their source paths are identical. You might have duplicate files if
your main script contains Install File(s) script lines, and the same file is referenced in
both the main script and the include script.
1. Select Edit menu > Duplicate Files Report.
If duplicate files are found, the Save As dialog box appears.
2. If the Save As dialog box appears, specify a name and location for the duplicate files
report.
Notepad opens displaying the duplicate files report. It looks something like this:
C:\Export.txt
Line: 1 File: c:\Include2.wse
Line: 49 File: c:\MyInstaller\MainInstall.wse
The duplicate file is C:\Export.txt. It is found in line 1 of the file Include2.wse and
line 49 of the file MainInstall.wse. The file Include2.wse is an include script inside
the MainInstall.wse script.
See also:
Include Script on page 172
The Script Editor Window on page 95
About Script Editor on page 94
About User-Defined Actions
You can streamline your development process by creating your own script actions for
tasks that you perform frequently.
Example: You have written a section of script that opens a Web page on your company’s
Web site. Some of the script lines search the registry to determine the default browser
on the destination computer, and other lines open the browser to the specified URL. To
avoid having to copy and paste this section of script into new WiseScripts that you
create, you can make it a user-defined action that will be available in all new WiseScripts
that you develop.
User-defined actions appear in the Actions list in Script Editor along with the predefined
script actions.
You create a user-defined action by creating a separate WiseScript and saving it in the
Actions subdirectory of this product’s installation directory, or in the shared directory
that is specified in Preferences.
See Creating a User-Defined Action on page 102.
When you create a user-defined action, specify the following in the script:
Action Name
The file name of the script.

Table of Contents

Related product manuals