Commit 74ad0d3a authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

Include the trailing backslash on the Windows volume.

parent d0c971a6
...@@ -338,7 +338,7 @@ Privileged ...@@ -338,7 +338,7 @@ Privileged
SHGetFolderPathW(NULL,CSIDL_WINDOWS,NULL,0,pth); SHGetFolderPathW(NULL,CSIDL_WINDOWS,NULL,0,pth);
ptr = strchrW(pth,'\\'); ptr = strchrW(pth,'\\');
if (ptr) if (ptr)
*ptr = 0; *(ptr+1) = 0;
MSI_SetPropertyW(package, WV, pth); MSI_SetPropertyW(package, WV, pth);
GetTempPathW(MAX_PATH,pth); GetTempPathW(MAX_PATH,pth);
...@@ -778,7 +778,7 @@ UINT MSI_GetPropertyW(MSIPACKAGE *package, LPCWSTR szName, ...@@ -778,7 +778,7 @@ UINT MSI_GetPropertyW(MSIPACKAGE *package, LPCWSTR szName,
TRACE("returning %s for property %s\n", debugstr_w(szValueBuf), TRACE("returning %s for property %s\n", debugstr_w(szValueBuf),
debugstr_w(szName)); debugstr_w(szName));
else if (rc == ERROR_MORE_DATA) else if (rc == ERROR_MORE_DATA)
TRACE("need %i sized buffer for %s\n", *pchValueBuf, TRACE("need %li sized buffer for %s\n", *pchValueBuf,
debugstr_w(szName)); debugstr_w(szName));
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment