WiseScript Package Editor Reference
91
Using WiseUpdate
To test how WiseUpdate works when an update is needed
1. To make the application on the server appear to be a later version:
a. On your development computer, on the WiseUpdate page, enter a later product
version. (Example: If the original version was 1.0.0, enter 1.0.2)
b. Compile the installation to create a new update file.
c.
Upload the new update file to the Web server.
2. On the testing computer, open your application’s installation directory and double-
click the file WiseUpdt.exe. Then click Next.
Because the version on the Web server is now later than the version on the testing
computer, WiseUpdate Client displays the Readme file and then displays an option
to download and run the installation.
3. You can download and run the installation, but installation will fail unless the version
on the server is an upgrade or patch that updates the currently installed version. In
a real-life scenario, when you put updates on the server, they must be configured as
upgrades or patches.
4. To restore the correct version information to the server, repeat step 1, except enter
the original product version.
If this test is not successful, try to determine the problem.
See
WiseUpdate Tips
on page 92 and
Troubleshooting WiseUpdate
on page 93.
If you see the Web page you entered in the Alternate Web Page field on the
WiseUpdate page, then there was a problem connecting to the host through HTTP, or
the necessary files were not found on the host.
Options for Running WiseUpdate Client
¾
WiseScript Package Editor only
Options on the WiseUpdate page determine how WiseUpdate Client (WiseUpdt.exe) is
run on the destination computer.
Run Silently From a Shortcut on the Destination Computer
z
On the WiseUpdate page, mark the Add client to Startup group check box and
enter a value in the Check Interval (days) field.
z
The installation adds a shortcut for WiseUpdate Client to the Startup group of the
Windows Start menu on the destination computer.
z
When the destination computer is started or the end user logs on to Windows,
WiseUpdate Client silently checks the time elapsed since it last ran. If the number of
days elapsed is greater than the check interval value, WiseUpdate Client prompts
the end user to check for updates.
Run From Your Application
z
On the WiseUpdate page, clear the Add client to Startup group check box.
Entering a value in the Check Interval (days) field is optional.
z
Code your application to open the file WiseUpdt.exe from the application directory,
in either of the following ways: