Author: arielch
Date: Wed Sep 14 05:08:36 2016
New Revision: 1760628

URL: http://svn.apache.org/viewvc?rev=1760628&view=rev
Log:
Quote module name in CreateProcess call

Modified:
    
openoffice/branches/AOO413/main/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx

Modified: 
openoffice/branches/AOO413/main/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/branches/AOO413/main/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx?rev=1760628&r1=1760627&r2=1760628&view=diff
==============================================================================
--- 
openoffice/branches/AOO413/main/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx
 (original)
+++ 
openoffice/branches/AOO413/main/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx
 Wed Sep 14 05:08:36 2016
@@ -327,7 +327,7 @@ extern "C" UINT __stdcall RegisterExtens
     if ( hFindUnopkg != INVALID_HANDLE_VALUE )
     {
         // unopkg.exe exists in program directory
-        std::_tstring sCommand = sUnoPkgFile + " sync";
+        std::_tstring sCommand = "\"" + sUnoPkgFile + "\" sync";
         
         DWORD exitCode = 0;
         bool fSuccess = ExecuteCommand( sCommand.c_str(), & exitCode);


Reply via email to