Skip to content

Commit 138e903

Browse files
author
delphidabbler
committed
Rewrite database update help topic
Rewritten for new way of updating database from local download rather than directly from internet
1 parent e313322 commit 138e903

File tree

1 file changed

+71
-32
lines changed

1 file changed

+71
-32
lines changed

Src/Help/HTML/dlg_update.htm

Lines changed: 71 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<html>
1212
<head>
1313
<title>
14-
Update From Web Dialogue Box
14+
Install or Update DelphiDabbler Snippets Database Wizard
1515
</title>
1616
<meta http-equiv="Content-Type" content="text-html; charset=Windows-1252">
1717
<link rel="stylesheet" href="../css/codesnip.css" type="text/css">
@@ -24,57 +24,96 @@
2424
<param name="ALink Name" value="DBUpdateDlg">
2525
</object>
2626
<h1>
27-
<a name="dlg_update"></a>Update From Web Dialogue Box
27+
<a name="dlg_update"></a>Install or Update DelphiDabbler Snippets Database
28+
Wizard
2829
</h1>
2930
<p>
30-
This dialogue box is used to update the <em>CodeSnip</em> database from
31-
the internet. It is displayed using the <em>Database | Update From
32-
Web</em> menu option.
31+
This wizard dialogue box is used to install or update <em>CodeSnip</em>'s
32+
main snippets database. It is displayed using the <em>Database | Install
33+
or Update DelphiDabbler Snippets Database</em> menu option.
3334
</p>
3435
<p>
35-
The <em>Update from Web</em> button should be clicked to initiate the
36-
update. <strong>Note:</strong> you must ensure you are connected to the
37-
internet before clicking this button otherwise a &quot;Connection
38-
Error&quot; message will be displayed.
36+
The wizard navigates you through the installation process, with each page
37+
appearing in a fixed sequence.
3938
</p>
4039
<p>
41-
Once the <em>Update from Web</em> button has been clicked it will be
42-
replaced by a progress report pane. The update will then begin.
40+
<strong class="warning">Warning:</strong> if you are using the standard
41+
version of <em>CodeSnip</em> updating this database will affect all users
42+
of this computer because each user shares the same copy of the database.
4343
</p>
44+
<h2>
45+
Page 1: <em>Download the database</em>
46+
</h2>
47+
<p>
48+
Before the database can be installed it must first be downloaded from the
49+
internet and stored in a folder on your local computer. This page explains
50+
how.
51+
</p>
52+
<p>
53+
Follow the instructions on how to download and unpack the database into a
54+
folder then come back to the wizard and press the <em>Next</em> button to
55+
go to the next page.
56+
</p>
57+
<h2>
58+
Page 2: <em>Select database download folder</em>
59+
</h2>
60+
<p>
61+
On this page you need to provide the full path to the folder where you
62+
downloaded the DelphiDabbler Code Snippets Database. Enter the path in the
63+
edit box. You can click the ellipsis button to the right of the edit box
64+
to display a standard browse for folder dialogue box and choose the folder
65+
from there. The chosen folder will be entered into the edit box for you.
66+
</p>
67+
<p>
68+
Once you have entered the path click <em>Next</em>. The data in the folder
69+
will then be checked and, if valid, the next page of the wizard will be
70+
displayed. If the data is invalid an error message will be displayed and
71+
the page will not change.
72+
</p>
73+
<h2>
74+
Page 3: <em>Install the database</em>
75+
</h2>
4476
<p>
45-
<em>CodeSnip</em> first logs on to the web server and then determines if
46-
your copy of the database is out of date. If so the latest version is
47-
downloaded. A progress bar is displayed while the database is being
48-
downloaded. A confirmatory message is displayed once the process is
49-
complete.
77+
You are now ready to install the latest version of the database.
5078
</p>
5179
<p>
52-
<strong>Note:</strong> The database will be updated for all users, since
53-
each user accesses the same copy of the database.
80+
Simply click the <em>Load</em> button when you are ready to proceed.
81+
<strong>Note:</strong> this is the last chance to change your mind &ndash;
82+
you can't go back once the <em>Load</em> button has been pressed.
83+
</p>
84+
<p>
85+
On pressing <em>Load</em> a progress bar will be displayed while the
86+
database is installed.
87+
</p>
88+
<p>
89+
Once the installation is complete the final page of the wizard will be
90+
displayed.
5491
</p>
5592
<h2>
56-
Cancelling the update
93+
Page 4: <em>Database installed</em>
5794
</h2>
5895
<p>
59-
The <em>Close</em> button is replaced by a larger <em>Cancel Update</em>
60-
button while the update is in progress. This button can be clicked at any
61-
time to cancel the update. <em>CodeSnip</em> will restore the previous
62-
database. <strong>Note:</strong> database downloads can't be
63-
interupted.
96+
This page confirms that the installation is complete.
97+
</p>
98+
<p>
99+
If you were updating an older version of the database it will have been
100+
overwritten.
101+
</p>
102+
<p>
103+
Click the <em>Finish</em> button to close the wizard.
64104
</p>
65105
<h2>
66-
Update errors
106+
Finishing up
67107
</h2>
68108
<p>
69-
If <em>CodeSnip</em> detects an error while updating it aborts the
70-
update, restores the old database and displays a brief error message at
71-
the top of the the dialogue box. More details of the error are displayed
72-
in the progress report pane.
109+
Once the wizard has closed <em>CodeSnip</em> will close all open tabs and
110+
then reload the database with the changes made by the wizard. If you have
111+
unsaved changes in your user database <em>CodeSnip</em> will offer to save
112+
them before reloading the database.
73113
</p>
74114
<p>
75-
If you see a &quot;Connection Error&quot; check your internet connection
76-
and try again. If you receive web server or time out errors this may be
77-
due to the server being down or busy so it is worth trying later.
115+
Once the database has been reloaded a single tab will be opened that
116+
confirms the database was updated.
78117
</p>
79118
</body>
80119
</html>

0 commit comments

Comments
 (0)