Checking For Duplicate Files In Include Scripts; About User-Defined Actions - Symantec WISESCRIPT PACKAGE EDITOR 7.0 SP2 - FOR WISE INSTALLATION STUDIO V1.0 Installation Manual

Hide thumbs Also See for WISESCRIPT PACKAGE EDITOR 7.0 SP2 - FOR WISE INSTALLATION STUDIO V1.0:
Table of Contents

Advertisement

Checking for Duplicate Files in Include Scripts

About User-Defined Actions

WiseScript Package Editor Reference
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 176
The Script Editor Window
About Script Editor
on page 96
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
When you create a user-defined action, specify the following in the script:
Action Name
The file name of the script.
on page 97
on page 29.
Using Script Editor
29

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wisescript package editor 7.0 sp2

Table of Contents