Using Self-Repair - Symantec WISESCRIPT PACKAGE EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0 Reference

Table of Contents

Advertisement

Using Self-Repair

WiseScript Package Editor Reference
Example: If the path to the .WSI is C:\Development\Application.wsi, and you add the
file C:\Program Files\Application.ini, the relative path of Application.ini is ..\Program
Files\Application.ini.
1.
Select Edit menu > Source Directories.
The Change Source Directories dialog box appears and lists all the directories
referenced in the script.
2.
From Type, select Change source paths to relative paths.
3.
Click OK. This action cannot be undone.
A one-time conversion of the paths in the script is performed. Paths to files that are not
on the same drive as the script file are not converted, because they cannot be written as
relative paths. All files you add subsequently are converted to relative paths.
If you later change Type to Do not modify source paths, the converted paths stay
converted, but new files you add do not have relative paths.
WiseScript Package Editor only
You can enable an application to repair itself. You can implement repair in either of two
ways:
Through the uninstall wizard, which is included in every installation you create.
Through automatic self-repair, which requires you to define files and registry entries
that are crucial to the application. When these files or registry entries are absent
and the application is started by means of its shortcut, a self-repair process is
started.
Self-repair can only be run under the same user account under which the application
was originally installed. During self-repair, the installation re-edits the registry, re-edits
or recreates .INI files, reinstalls all files, and re-self-registers files. Self-repair works
only if the destination computer is running a Win32 operating system.
Application Repair Run by the End User
Every installation you create contains a repair option that is available to the end user as
part of the uninstall wizard.
To run this repair option, the end user selects the application in the Add/Remove
Programs Control Panel and selects the Repair option. If files need to be reinstalled, the
end user is prompted for the media or network location of the original installation.
Configuring an Application for Automatic Self-Repair
You can configure any installation you create for automatic self-repair. The advantage of
automatic self-repair is that it does not depend on the end user to start it. Whenever the
end user starts the application by means of its shortcut, files and registry entries that
you specify are checked. If they are missing, the end user is prompted to repair the
application. If files need to be reinstalled, the end user is prompted for the media or
network location of the original installation.
1.
Determine the files and registry entries that are crucial for the application to run
properly.
Installation Management
30

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wisescript package editor 8.0

Table of Contents