Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
33ec7eb5
Commit
33ec7eb5
authored
Jul 17, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Jul 17, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Tidy up MsiCreateAndVerifyInstallerDirectory a bit.
parent
f6170beb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
11 deletions
+17
-11
msi.c
dlls/msi/msi.c
+17
-11
No files found.
dlls/msi/msi.c
View file @
33ec7eb5
...
...
@@ -1810,26 +1810,32 @@ UINT WINAPI MsiConfigureFeatureW(LPCWSTR szProduct, LPCWSTR szFeature, INSTALLST
return
ERROR_SUCCESS
;
}
/***********************************************************************
* MsiCreateAndVerifyInstallerDirectory [MSI.@]
*
* Notes: undocumented
*/
UINT
WINAPI
MsiCreateAndVerifyInstallerDirectory
(
DWORD
dwReserved
)
{
WCHAR
path
[
MAX_PATH
];
if
(
dwReserved
)
{
FIXME
(
"Don't know how to handle argument %ld
\n
"
,
dwReserved
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
TRACE
(
"%ld
\n
"
,
dwReserved
);
if
(
dwReserved
)
{
FIXME
(
"dwReserved=%ld
\n
"
,
dwReserved
);
return
ERROR_INVALID_PARAMETER
;
}
if
(
!
GetWindowsDirectoryW
(
path
,
MAX_PATH
))
{
FIXME
(
"GetWindowsDirectory failed unexpected! Error %ld
\n
"
,
GetLastError
());
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
if
(
!
GetWindowsDirectoryW
(
path
,
MAX_PATH
))
return
ERROR_FUNCTION_FAILED
;
strcatW
(
path
,
installerW
);
l
strcatW
(
path
,
installerW
);
CreateDirectoryW
(
path
,
NULL
);
if
(
!
CreateDirectoryW
(
path
,
NULL
))
return
ERROR_FUNCTION_FAILED
;
return
0
;
return
ERROR_SUCCESS
;
}
/***********************************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment