Update-Installer/src
Robert Knight 724e91b216 Fix child updater processes receiving the wrong install directory on Windows of the path of the install directory contains spaces.
* Use the same argument quoting logic when launching both elevated
   and non-elevated processes under Windows
 * Include the executable name in the command-line when launching
   a non-elevated process.  Previously the child updater.exe process
   was receiving the '--install-dir' option name in argv[0] and ignoring
   it because it was only looking in argv[1..N-1]
 * Change the install path in the updater test to include a space.

TEST: Ran test-update.rb with space in test install directory
      under elevated/non-elevated cases.
2011-09-13 15:49:39 +01:00
..
resources Show a useful product name and description in the UAC prompt under Windows Vista/7 2011-09-02 12:53:44 +01:00
tests Fix child updater processes receiving the wrong install directory on Windows of the path of the install directory contains spaces. 2011-09-13 15:49:39 +01:00
AppInfo.cpp Write log file to correct directory on Mac 2011-08-30 12:34:37 +01:00
AppInfo.h If there is a problem installing the update, suggest that the user download a fresh copy from mendeley.com 2011-08-29 18:57:12 +01:00
CMakeLists.txt Add SIGN_UPDATER build option to automatically sign updater.exe during the build on Windows 2011-09-05 16:47:07 +01:00
DirIterator.cpp If the --script argument passed to the updater is relative, interpret it as being relative to the package dir rather than the directory that the updater is run from. 2011-09-01 20:31:51 +01:00
DirIterator.h Add additional API documentation 2011-08-27 18:31:03 +01:00
FileUtils.cpp Switch to using Unix chmod values for file permissions instead of values from Qt's QFile::Permission enum 2011-09-04 14:53:51 +01:00
FileUtils.h Switch to using Unix chmod values for file permissions instead of values from Qt's QFile::Permission enum 2011-09-04 14:53:51 +01:00
Log.cpp Add a note about the assumptions made by Log::writeToStream() with respect to multiple logging processes' clobbering each other's output. 2011-09-02 23:41:02 +01:00
Log.h Synchronize access to the log's output stream with a mutex and document the write() method as being thread-safe. 2011-09-02 23:32:45 +01:00
main.cpp Add --version flag to print out the current version of the application. 2011-09-13 10:54:58 +01:00
Platform.h Implement waiting for parent updater process to finish. 2011-08-22 18:46:03 +01:00
ProcessUtils.cpp Fix child updater processes receiving the wrong install directory on Windows of the path of the install directory contains spaces. 2011-09-13 15:49:39 +01:00
ProcessUtils.h Add additional API documentation 2011-08-27 18:31:03 +01:00
StandardDirs.cpp Add missing include for Windows builds 2011-08-31 15:52:14 +01:00
StandardDirs.h Write log file to correct directory on Mac 2011-08-30 12:34:37 +01:00
StandardDirs.mm Write log file to correct directory on Mac 2011-08-30 12:34:37 +01:00
StringUtils.h If the --script argument passed to the updater is relative, interpret it as being relative to the package dir rather than the directory that the updater is run from. 2011-09-01 20:31:51 +01:00
UpdateDialogAscii.cpp Centralize the name of the application being updated in AppInfo.h 2011-08-26 18:22:25 +01:00
UpdateDialogAscii.h Add some documentation to the xterm update 'dialog' 2011-08-30 11:21:35 +01:00
UpdateDialogCocoa.h Display an icon for the updater in the dock on Mac when the update dialog is being shown 2011-08-30 15:41:58 +01:00
UpdateDialogCocoa.mm Display an icon for the updater in the dock on Mac when the update dialog is being shown 2011-08-30 15:41:58 +01:00
UpdateDialogGtk.cpp Make the GTK update dialog wider 2011-08-29 20:20:42 +01:00
UpdateDialogGtk.h Make the GTK dependency optional at runtime on Linux 2011-08-26 16:59:03 +01:00
UpdateDialogGtkWrapper.cpp Make the GTK dependency optional at runtime on Linux 2011-08-26 16:59:03 +01:00
UpdateDialogGtkWrapper.h Make the GTK dependency optional at runtime on Linux 2011-08-26 16:59:03 +01:00
UpdateDialogWin32.cpp Fix Windows compile 2011-08-30 10:46:47 +01:00
UpdateDialogWin32.h Remove un-implemented updateRetryCancel() method from UpdateObserver 2011-08-26 15:17:59 +01:00
UpdateInstaller.cpp Switch to using Unix chmod values for file permissions instead of values from Qt's QFile::Permission enum 2011-09-04 14:53:51 +01:00
UpdateInstaller.h Touch the application's bundle directory on Mac OS X after installing updates. 2011-08-29 22:53:19 +01:00
UpdateMessage.h Mark UpdateMessage::init() as private since it exists only as a helper for the constructors 2011-08-29 21:39:17 +01:00
UpdateObserver.h Add additional API documentation 2011-08-27 18:31:03 +01:00
UpdaterOptions.cpp Add --version flag to print out the current version of the application. 2011-09-13 10:54:58 +01:00
UpdaterOptions.h Add --version flag to print out the current version of the application. 2011-09-13 10:54:58 +01:00
UpdateScript.cpp Switch to using Unix chmod values for file permissions instead of values from Qt's QFile::Permission enum 2011-09-04 14:53:51 +01:00
UpdateScript.h Switch to using Unix chmod values for file permissions instead of values from Qt's QFile::Permission enum 2011-09-04 14:53:51 +01:00