This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
jreupd [2014/11/03 10:58] tschulz created |
jreupd [2014/11/04 10:12] (current) tschulz [update dir structure] |
||
---|---|---|---|
Line 11: | Line 11: | ||
* jre8/jre7 plugin runtime (copied to Program Files\Java Plugin) | * jre8/jre7 plugin runtime (copied to Program Files\Java Plugin) | ||
* version.txt -> contains version info | * version.txt -> contains version info | ||
+ | * destpath.txt -> intended install location | ||
===== Web Service ===== | ===== Web Service ===== | ||
* check_update.jsp client sends OS version replies with "NULL" or update version e.g. "1.8.25a" | * check_update.jsp client sends OS version replies with "NULL" or update version e.g. "1.8.25a" | ||
* get_update.jsp client sends requested version either gets "NULL" or download URL. | * get_update.jsp client sends requested version either gets "NULL" or download URL. | ||
+ | |||
+ | |||
+ | ===== Update Client ===== | ||
+ | * c# based | ||
+ | * client knows the current plugin version | ||
+ | * client performs a GET with a PLATFORM arg of "Windows 7" to check_update.jsp | ||
+ | * if client gets a version that is not equal to current version it performs a GET with arg of VERSION and PLATFORM to get_update.jsp | ||
+ | * if client gets a url client downloads update and installs it to Program Files\Java Plugin, merges install.reg, and stores version.txt in Program Files\Java Plugin | ||
===== Database schema ===== | ===== Database schema ===== | ||
==== Updates Table ==== | ==== Updates Table ==== | ||
- | * pk (int) | + | * update_id (int) |
* version(str) e.g. (1.8.25a) | * version(str) e.g. (1.8.25a) | ||
- | * supported platforms(str) e.g. (Windows 7;Windows 8;Windows XP) | + | * supported_platforms(str) e.g. (Windows 7;Windows 8;Windows XP) |
- | * URL (str) | + | * url (str) |
- | * post date (timestamp) | + | * post_date (timestamp) |
* seq (int) | * seq (int) | ||
+ | * enabled (boolean) | ||
==== Users ==== | ==== Users ==== | ||
- | * pk (int) | + | * user_id (int) |
- | * Username (str) | + | * username (str) |
- | * Password (str) | + | * password (str) |
* level (int) | * level (int) | ||
- | |||
- | |||
- | |||