1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
|
==================
Pack Updater 0.1.0
==================
Miranda IM plugin that do automatic or manual Miranda packs update.
Plugin maybe interesting for packs author, which wants do update of their pack automatically.
0. Changelog
1. How to use?
2. How it works?
3. Copyrights and other
-----------------
0. Changelog
-----------------
0.1.0
+ now not installed files are not updated
+ added an additional parameter "Force" in the description of the file. With it you an update not installed files
* Changed FileType parameter type
0.0.9
* Fixed order in update list
0.0.8
+ Added Icolib support
0.0.7
+ disabled or not existed plugins not updated and not downloaded
+ added FileType 5. It ia as type 4 but without restart
0.0.6
* All updates shows in one list
* Fixed bug with no updating files
* Changeg version comparing algorithm
0.0.5
+ Added x64 version
+ Added Netlib support
+ Added ability to update plugins, icons and other miranda files
+ Added ability to clear folder with downloaded updates
+ Added hotkeys support (Customize-Hotkeys-Pack Updater) as default set Ctrl+F10
+ Added Popup plus actions support
! Fixed frizing when downloaded files
* If extension of downloaded file is ".html" it will be opened in browser
* Fixed activation Apply button even you not change anything
* Changed name of plugin. now it us PackUpdater
* Plugin is Unicode now
* Changed storing format on server - all information about all files stored in one file
* In Pack for all files - one url for chexking
* Fixed logic in popups
- ZeroUpdate.ini not needed anymore, all settings storing in profile
0.0.4
+ Added partly support of popups
0.0.3
+ Added support of Folders plugin
+ Added ability to translate description of update from langpack
* Changed new version detection
0.0.2
+ Added support of path for dowloaded updates
+ Added ability don't start update automatically
0.0.1
+ Pre-release
--------------------
1. How to use?
--------------------
Import settings from Autoexec_PackUpdater.ini to profile and for server (file1.ini) are in Tamplates folder. Probably full langpack in this folder too.
1. Add in your langpack_*.txt strings needed for plugin.
Variables in Autoexec_PackUpdater.ini:
FileCount - number of files for witch needs to check updates. Plugin supports checking for several files, but most time is only one (Pack setup file)
AutoUpdate - Check updates automatically with Miranda startup. configured in Events->Pack updates
File_VersionURL - URL where saved file with infirmation about versions of all files (file1.ini)
[File_x_] (where x - serial number file, begining from 1)
CurrentVersion - sets 1.0.0 (or another what you wants) and don't change any more
LastVersion - the same
3. Create file with infirmation about versions (file1.ini). One for all checked files
Options of file1.ini:
Handle [FileInfo_х], where х - serial number file, begining from 1 (must be equal with number in profile)
FileVersion - Current file version (Version of new pack file)
Message - Description that user see when plugin found new version
DownloadURL - URL of Update file
DiskFileName - Name of file saved on user computer.
FileType - type of file. Defines final destination of file. (1 - pack, 2 - plugin (will be installed into Plugins), 3 - icon (will be installed into Icons), 4 - files in miranda root (e.g. langpack, dbtool))
Descr - description witch shows in update list.
InfoURL - Optional. If it writed, message box that user see have button "See information", click on it open this URL.
AdvFolder - Optional. If it writed, set subfolder in folder defined FileType.
Force - Optional. If it writed, the file will be offered for renewal, even if you do not installed.
4. Download file with infirmation and updates on server.
--------------------
2. How it works?
--------------------
Plugin has two modes: silent and normal. silent is used when checking for updates on startup, normal - click menu item.
First, plugin downloads file version information and compares the "local" (File_x_CurrentVersion from profile) version with the "remote"
(FileVersion). If they differ, that:
a). When you work in silent mode plugin checks the value LastVersion and if it differs from the FileVersion, shows the message about the update.
if not - there are no messages.
b). When working in normal mode plugin displays a message in any case.
If a user downloaded the update, but decided it just did not install, update is still considered to be established.
---------------------
3. Copyrights and other
---------------------
Plugin written by ZERO_BiT, continued development by Mataes.
The author is not liable for any damages, the explicit or implied, caused by this plugin. Also wanted to ask not to delete the original copyright.
For questions contacts:
e-mail: mataes2007@gmail.com
icq: 4618898
|