Author: arielch
Date: Fri Oct 21 14:15:10 2016
New Revision: 1766029

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

Modified:
    openoffice/trunk/   (props changed)
    
openoffice/trunk/main/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx

Propchange: openoffice/trunk/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Oct 21 14:15:10 2016
@@ -1,6 +1,7 @@
 /incubator/ooo/branches/gbuild:1409313-1413470
 /openoffice/branches/AOO400:1503684
 /openoffice/branches/AOO410:1572480,1573601,1583349,1583635,1583666
+/openoffice/branches/AOO413:1760628
 /openoffice/branches/alg_writerframes:1556289-1579189
 /openoffice/branches/gbuild:1413471
 /openoffice/branches/gbuild-reintegration:1731503-1755453

Modified: 
openoffice/trunk/main/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx?rev=1766029&r1=1766028&r2=1766029&view=diff
==============================================================================
--- 
openoffice/trunk/main/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx
 (original)
+++ 
openoffice/trunk/main/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx
 Fri Oct 21 14:15:10 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