Commit graph

342 commits

Author SHA1 Message Date
kervala
6801bf34d4 Fixed: Special case under Windows when Installer is run from TEMP directory
--HG--
branch : develop
2016-10-18 10:26:41 +02:00
kervala
bf8d9aef12 Changed: Check written bytes at each step and at the end
--HG--
branch : develop
2016-10-18 10:25:31 +02:00
kervala
508a6723a2 Changed: Use getInstallerCurrentDirPath() instead of QApplication::applicationDirPath()
--HG--
branch : develop
2016-10-18 10:24:10 +02:00
kervala
29aa0c1722 Changed: Restart installed Installer intead of current one
--HG--
branch : develop
2016-10-18 10:23:49 +02:00
kervala
a57a0eb0ce Fixed: Support QFile write in smaller parts
--HG--
branch : develop
2016-10-17 20:45:14 +02:00
kervala
e43551908e Fixed: Missing variable
--HG--
branch : develop
2016-10-17 15:43:05 +02:00
kervala
0e0ae0fde4 Fixed: Typo...
--HG--
branch : develop
2016-10-17 13:52:20 +02:00
kervala
273d5ab80d Fixed: getInstallerCurrentFilePath instead of getInstallerCurrentDirPath
--HG--
branch : develop
2016-10-17 13:08:14 +02:00
kervala
8f2fc49d7d Changed: Don't need arguments
--HG--
branch : develop
2016-10-17 13:07:32 +02:00
kervala
3476eeb5e9 Changed: Don't copy twice the same file under other platforms than Windows
--HG--
branch : develop
2016-10-17 11:23:49 +02:00
kervala
45c326a733 Changed: Keep other servers when upgrading ryzom_installer.ini
--HG--
branch : develop
2016-10-17 11:20:20 +02:00
kervala
ab1fb50ab5 Changed: Relaunch installed Ryzom Installer if exists
--HG--
branch : develop
2016-10-17 11:19:50 +02:00
kervala
d1e078aea5 Fixed: getInstallerCurrentDirPath() returns bundle parent directory under OS X
--HG--
branch : develop
2016-10-17 11:19:11 +02:00
kervala
f40e6deb7a Changed: Display also destination in error
--HG--
branch : develop
2016-10-17 11:17:35 +02:00
kervala
48f013a86e Changed: Use getInstallerCurrentFilePath() instead of QApplication::applicationFilePath()
--HG--
branch : develop
2016-10-17 11:16:34 +02:00
kervala
0101cdfacf Fixed: Recursive copy
--HG--
branch : develop
2016-10-17 11:13:49 +02:00
kervala
bf39b96792 Fixed: Compilation
--HG--
branch : develop
2016-10-16 17:38:00 +02:00
kervala
b78444490c Fixed: Infinite loop when HTTP error occurs
--HG--
branch : develop
2016-10-16 17:29:10 +02:00
kervala
a5a488da3e Changed: Always launch the more recent version of Installer
--HG--
branch : develop
2016-10-16 17:28:17 +02:00
kervala
f65883296b Changed: Use getInstallerInstalledFilePath() to get installed Installer full path
--HG--
branch : develop
2016-10-16 17:26:05 +02:00
kervala
34734e4fbe Fixed: Display all executables under OS X and Linux
--HG--
branch : develop
2016-10-16 17:22:51 +02:00
kervala
999fd9d3aa Changed: Install shorcuts in Applications instead of /Applications
--HG--
branch : develop
2016-10-15 17:13:51 +02:00
kervala
43736cf523 Fixed: Wrong filename (because unallocated)
--HG--
branch : develop
2016-10-15 17:12:51 +02:00
kervala
016e075fa5 Changed: Only install same client arch as Installer under Linux
--HG--
branch : develop
2016-10-13 19:50:11 +02:00
kervala
ed7586656b Fixed: Wrong check for OS X
--HG--
branch : develop
2016-10-11 18:42:39 +02:00
kervala
9744b44b6e Changed: Specify server to use (the one of default profile)
--HG--
branch : develop
2016-10-11 18:04:01 +02:00
kervala
cc8a200156 Changed: Better error message
--HG--
branch : develop
2016-10-11 18:03:26 +02:00
kervala
bc45604e46 Changed: Only return if downloading data
--HG--
branch : develop
2016-10-11 18:02:55 +02:00
kervala
d2edc7d418 Changed: Remove unused code
--HG--
branch : develop
2016-10-11 18:02:34 +02:00
kervala
0087f4aec9 Changed: Abort if operation failed
--HG--
branch : develop
2016-10-11 18:02:20 +02:00
kervala
2460943bea Fixed: Check if profiles are correct before using them
--HG--
branch : develop
2016-10-11 17:43:53 +02:00
kervala
f8155c116d Changed: Little optimization
--HG--
branch : develop
2016-10-11 17:43:03 +02:00
kervala
44ddae76b8 Changed: Escape strings that will be in XML file
--HG--
branch : develop
2016-10-11 17:42:46 +02:00
kervala
f0d591bca7 Changed: Remove nameToId
--HG--
branch : develop
2016-10-11 17:41:49 +02:00
kervala
a1fab80cad Changed: Added more comments
--HG--
branch : develop
2016-10-11 17:28:54 +02:00
kervala
efdbedce3e Changed: Disable architecture choice under OS X (always 64 bits)
--HG--
branch : develop
2016-10-10 20:47:15 +02:00
kervala
73fd215b21 Fixed: Use exec instead of open to launch an executable under OS X
--HG--
branch : develop
2016-10-10 18:54:03 +02:00
kervala
9a402ea68c Fixed: Create directory before trying to create a client.cfg
--HG--
branch : develop
2016-10-10 18:53:39 +02:00
kervala
5e0338d622 Fixed: Wrong modification dates of files uncompressed from 7z and ZIP archives
--HG--
branch : develop
2016-10-10 16:35:29 +02:00
kervala
7b6a6945e5 Changed: Error 6 occurs when a 7z file is damaged and can't be uncompressed
--HG--
branch : develop
2016-10-09 19:50:35 +02:00
kervala
8caac6363f Changed: Support special bundle structure for OS X client
--HG--
branch : develop
2016-10-09 19:50:06 +02:00
kervala
1a3a0911e3 Changed: Write icon under Linux if not found
--HG--
branch : develop
2016-10-09 15:10:15 +02:00
kervala
cd618d4402 Changed: Remove whole directory if empty
--HG--
branch : develop
2016-10-09 15:09:54 +02:00
kervala
533e01ea5a Changed: Created and used isDirectoryWritable() function
--HG--
branch : develop
2016-10-09 15:09:30 +02:00
kervala
16ee68d3d3 Changed: Write shortcuts under OS X
--HG--
branch : develop
2016-10-09 15:08:37 +02:00
kervala
263665696a Changed: Don't propose to migrate in CInstallDialog
--HG--
branch : develop
2016-10-08 14:14:37 +02:00
kervala
c348bbb3de Changed: Delete old profiles shortcuts (in case where they are renamed)
--HG--
branch : develop
2016-10-04 19:27:29 +02:00
kervala
d1575b9f58 Fixed: Don't check if directory is empty when reinstalling in same directory
--HG--
branch : develop
2016-10-04 11:58:51 +02:00
kervala
fc6415d64b Fixed: Wrong signals
--HG--
branch : develop
2016-10-03 17:20:43 +02:00
kervala
3df8c75227 Changed: Call updateAddRemoveEntry() instead of setting details twice
--HG--
branch : develop
2016-10-03 17:20:25 +02:00
kervala
0cab55f3f9 Changed: Update product comments
--HG--
branch : develop
2016-10-03 17:19:53 +02:00
kervala
53854c88ae Fixed: EstimatedSize is in KiB
--HG--
branch : develop
2016-10-03 17:19:41 +02:00
kervala
2377b6a45d Changed: Minor changes
--HG--
branch : develop
2016-10-03 17:18:48 +02:00
kervala
983f4f81df Fixed: Create Menu directory before creating shortcuts
--HG--
branch : develop
2016-10-03 17:18:25 +02:00
kervala
72144c3131 Fixed: Wrong size for downloaded components
--HG--
branch : develop
2016-10-03 17:17:57 +02:00
kervala
7d7ce29894 Changed: Installer filename should not depend on server
--HG--
branch : develop
2016-10-03 17:17:20 +02:00
kervala
ca9ccf5fbf Changed: Variables to debug infinite loops
--HG--
branch : develop
2016-10-03 10:01:30 +02:00
kervala
c0d4013b51 Changed: New functions to remove a shortcut and check if it exists
--HG--
branch : develop
2016-10-03 09:59:19 +02:00
kervala
96378bb0b6 Fixed: Compilation under OS X
--HG--
branch : develop
2016-10-01 14:10:43 +02:00
kervala
89be376c1f Fixed: Use real data size when migrating
--HG--
branch : develop
2016-10-01 13:07:18 +02:00
kervala
1ebc739797 Fixed: msvcr140.dll is called vcrunrime140.dll
--HG--
branch : develop
2016-10-01 13:05:58 +02:00
kervala
f17f7954ac Fixed: Unable to find a shortcut
--HG--
branch : develop
2016-10-01 13:05:11 +02:00
kervala
f39e135494 Fixed: Delete ryzom_installer.ini when uninstalling Installer
--HG--
branch : develop
2016-09-29 20:47:03 +02:00
kervala
b6a88ad754 Fixed: Create Installer link under Linux
--HG--
branch : develop
2016-09-29 20:46:29 +02:00
kervala
7e32d9b928 Changed: New checks after selecting a directory (must be empty and write permissions)
--HG--
branch : develop
2016-09-29 17:05:20 +02:00
kervala
13aac03c04 Changed: Use default directory when choosing destination
--HG--
branch : develop
2016-09-29 17:03:59 +02:00
kervala
f5035aa63d Changed: New button for default location
--HG--
branch : develop
2016-09-29 16:54:50 +02:00
kervala
9c4225d74e Fixed: Desktop files need to be executable
--HG--
branch : develop
2016-09-28 23:32:24 +02:00
kervala
9af4edf07a Changed: Increase timeout delay to 30s (just to avoid to wait forever)
--HG--
branch : develop
2016-09-28 23:31:26 +02:00
kervala
9557aff2cc Fixed: Remove all directories from data excepted fonts one
--HG--
branch : develop
2016-09-28 23:29:02 +02:00
kervala
5d4bdf8f60 Fixed: Don't fix height of operation dialog
--HG--
branch : develop
2016-09-28 23:27:15 +02:00
kervala
ad11871e7a Changed: Simplify progress texts
--HG--
branch : develop
2016-09-28 12:22:27 +02:00
kervala
162e683803 Changed: New methods loadFromSettings and saveToSettings for CProfile and CServer, see #279
--HG--
branch : develop
2016-09-24 14:17:43 +02:00
kervala
f5ba2e2ff5 Changed: Implements shouldCopyInstaller() based on version from executable, see #279
--HG--
branch : develop
2016-09-22 18:11:47 +02:00
kervala
ba8673432b Changed: Use getVersionFromExecutable in CProfilesDialog, see #279
--HG--
branch : develop
2016-09-22 18:10:13 +02:00
kervala
d6b0f49db2 Changed: One second timeout to get version, see #279
--HG--
branch : develop
2016-09-22 18:09:43 +02:00
kervala
8b2d787c77 Changed: Implement --version/-v ourself and process it before loading config, see #279
--HG--
branch : develop
2016-09-22 18:09:02 +02:00
kervala
f824bf0b48 Changed: New method to get executable version, see #279
--HG--
branch : develop
2016-09-22 17:24:41 +02:00
kervala
eb219b0c2b Changed: Display an better text for status code 307, see #279
--HG--
branch : develop
2016-09-22 11:40:13 +02:00
kervala
6447e9794e Changed: Remove certificates in data (they should be in gamedev.bnp now), see #279
--HG--
branch : develop
2016-09-22 11:39:33 +02:00
kervala
cd9abbcaae Fixed: Stalling interface when an error occurs when downloading, see #279
--HG--
branch : develop
2016-09-22 11:38:32 +02:00
kervala
42021fb7b4 Fixed: Interface stalled when adding new profile, see #279
--HG--
branch : develop
2016-09-21 17:19:00 +02:00
kervala
7cf531c1a3 Changed: Delete ryzom_installer_uninstalling_old_client when old client is uninstalled, see #279
--HG--
branch : develop
2016-09-21 15:49:18 +02:00
kervala
f1a9a44028 Fixed: Use translated size units, see #279
--HG--
branch : develop
2016-09-21 15:44:02 +02:00
kervala
f17e0c2dc1 Changed: Moved CCOMHelper to utils.h/cpp, see #279
--HG--
branch : develop
2016-09-21 15:21:26 +02:00
kervala
1e474e9ebd Fixed: Unable to create shortcuts, see #279
--HG--
branch : develop
2016-09-21 15:20:56 +02:00
kervala
dc8f74ba39 Fixed: Update client.cfg after it's copied, see #279
--HG--
branch : develop
2016-09-21 09:56:16 +02:00
kervala
4acc2afd3a Changed: Move windows and dialog to foreground, see #279
--HG--
branch : develop
2016-09-21 09:55:49 +02:00
kervala
cd20d2e486 Fixed: Conflicts with member variables, see #279
--HG--
branch : develop
2016-09-21 09:54:31 +02:00
kervala
a8ca0de9f8 Changed: Fix some files not deleted, see #279
--HG--
branch : develop
2016-09-20 21:57:41 +02:00
kervala
d1a2f27414 Changed: Reenable Debug menus in Debug, see #279
--HG--
branch : develop
2016-09-20 21:41:05 +02:00
kervala
e4d3407be5 Changed: Fix the temporary directory, see #279
--HG--
branch : develop
2016-09-20 18:35:31 +02:00
kervala
271999e98f Changed: Use a temporary file to check if we're uninstalling old client, see #279
--HG--
branch : develop
2016-09-20 18:34:59 +02:00
kervala
afb07586d3 Changed: Delete previously copied Ryzom Installer from TEMP directory, see #279
--HG--
branch : develop
2016-09-20 17:43:08 +02:00
kervala
b4f1f0868c Changed: Launch upgrade script from 7z or ZIP archives if present, see #279
--HG--
branch : develop
2016-09-20 17:40:14 +02:00
kervala
d2e3a795d8 Changed: Create or update client.cfg, see #279
--HG--
branch : develop
2016-09-20 17:39:29 +02:00
kervala
122066e7ee Changed: Use default Qt translations from QRC
--HG--
branch : develop
2016-09-20 17:37:02 +02:00
kervala
7b4ab5efa7 Changed: Call setUninstallingOldClient before, see #279
--HG--
branch : develop
2016-09-19 14:35:29 +02:00
kervala
5b5925f529 Fixed: Compilation without PCH
--HG--
branch : develop
2016-09-18 16:34:28 +02:00
kervala
7422334e97 Changed: Only call CoUninitialize if CoInitialize(Ex) succeeded
--HG--
branch : develop
2016-09-16 19:24:43 +02:00