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
e95136b7
Commit
e95136b7
authored
Jun 29, 2004
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 29, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement MsiGetTargetPathA/W.
parent
0eecfdef
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
18 deletions
+10
-18
action.c
dlls/msi/action.c
+0
-0
cond.y
dlls/msi/cond.y
+5
-2
msi.spec
dlls/msi/msi.spec
+2
-2
msipriv.h
dlls/msi/msipriv.h
+2
-0
msiquery.c
dlls/msi/msiquery.c
+1
-14
No files found.
dlls/msi/action.c
View file @
e95136b7
This diff is collapsed.
Click to expand it.
dlls/msi/cond.y
View file @
e95136b7
...
...
@@ -56,7 +56,8 @@ struct cond_str {
static LPWSTR COND_GetString( struct cond_str *str );
static int COND_lex( void *COND_lval, COND_input *info);
UINT get_property(MSIHANDLE hPackage, const WCHAR* prop, WCHAR* value);
UINT get_property(MSIHANDLE hPackage, const WCHAR* prop, WCHAR* value,
DWORD* size);
typedef INT (*comp_int)(INT a, INT b);
typedef INT (*comp_str)(LPWSTR a, LPWSTR b, BOOL caseless);
...
...
@@ -443,6 +444,7 @@ symbol_i:
symbol_s:
identifier
{
DWORD sz;
COND_input* cond = (COND_input*) info;
$$ = HeapAlloc( GetProcessHeap(), 0, 0x100*sizeof (WCHAR) );
...
...
@@ -450,7 +452,8 @@ symbol_s:
/* This will not really work until we have write access to the table*/
/* HACK ALERT HACK ALERT... */
if (get_property(cond->hInstall,$1,$$) != ERROR_SUCCESS)
sz=0x100;
if (get_property(cond->hInstall,$1,$$,&sz) != ERROR_SUCCESS)
{
$$[0]=0;
}
...
...
dlls/msi/msi.spec
View file @
e95136b7
...
...
@@ -76,8 +76,8 @@
76 stub MsiGetSourcePathW
77 stdcall MsiGetSummaryInformationA(long str long ptr)
78 stdcall MsiGetSummaryInformationW(long wstr long ptr)
79 st
ub MsiGetTargetPathA
80 st
ub MsiGetTargetPathW
79 st
dcall MsiGetTargetPathA(long str ptr ptr)
80 st
dcall MsiGetTargetPathW(long wstr ptr ptr)
81 stub MsiGetUserInfoA
82 stub MsiGetUserInfoW
83 stub MsiInstallMissingComponentA
...
...
dlls/msi/msipriv.h
View file @
e95136b7
...
...
@@ -35,6 +35,8 @@
#define MSITYPE_NULLABLE 0x1000
#define MSITYPE_KEY 0x2000
#define MSITYPE_BINARY 0x8900
struct
tagMSITABLE
;
typedef
struct
tagMSITABLE
MSITABLE
;
...
...
dlls/msi/msiquery.c
View file @
e95136b7
...
...
@@ -211,7 +211,7 @@ UINT WINAPI MsiViewFetch(MSIHANDLE hView, MSIHANDLE *record)
{
LPWSTR
sval
;
if
(
type
&
MSI_DATASIZEMASK
)
if
(
type
!=
MSITYPE_BINARY
)
{
sval
=
MSI_makestring
(
query
->
db
,
ival
);
MsiRecordSetStringW
(
handle
,
i
,
sval
);
...
...
@@ -344,19 +344,6 @@ UINT WINAPI MsiViewGetColumnInfo(MSIHANDLE hView, MSICOLINFO info, MSIHANDLE *hR
return
ERROR_SUCCESS
;
}
UINT
WINAPI
MsiDoActionA
(
MSIHANDLE
hInstall
,
LPCSTR
szAction
)
{
FIXME
(
"%ld %s
\n
"
,
hInstall
,
debugstr_a
(
szAction
)
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
UINT
WINAPI
MsiDoActionW
(
MSIHANDLE
hInstall
,
LPCWSTR
szAction
)
{
FIXME
(
"%ld %s
\n
"
,
hInstall
,
debugstr_w
(
szAction
)
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
UINT
WINAPI
MsiDatabaseApplyTransformA
(
MSIHANDLE
hdb
,
LPCSTR
szTransformFile
,
int
iErrorCond
)
{
...
...
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