Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ea2c96c5
Commit
ea2c96c5
authored
May 24, 2007
by
James Hawkins
Committed by
Alexandre Julliard
May 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Add the ability to deformat the component's source.
parent
f5c2806c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
format.c
dlls/msi/format.c
+3
-2
format.c
dlls/msi/tests/format.c
+0
-3
No files found.
dlls/msi/format.c
View file @
ea2c96c5
...
...
@@ -113,16 +113,17 @@ static LPWSTR deformat_component(MSIPACKAGE* package, LPCWSTR key, DWORD* sz)
{
LPWSTR
value
=
NULL
;
MSICOMPONENT
*
comp
;
BOOL
source
;
*
sz
=
0
;
if
(
!
package
)
return
NULL
;
FIXME
(
"component key %s
\n
"
,
debugstr_w
(
key
));
comp
=
get_loaded_component
(
package
,
key
);
if
(
comp
)
{
value
=
resolve_folder
(
package
,
comp
->
Directory
,
FALSE
,
FALSE
,
TRUE
,
NULL
);
source
=
(
comp
->
Action
==
INSTALLSTATE_SOURCE
)
?
TRUE
:
FALSE
;
value
=
resolve_folder
(
package
,
comp
->
Directory
,
source
,
FALSE
,
TRUE
,
NULL
);
*
sz
=
(
strlenW
(
value
))
*
sizeof
(
WCHAR
);
}
...
...
dlls/msi/tests/format.c
View file @
ea2c96c5
...
...
@@ -2236,10 +2236,7 @@ static void test_formatrecord_tables(void)
MsiRecordSetString
(
hrec
,
1
,
"[$parietal]"
);
r
=
MsiFormatRecord
(
hpkg
,
hrec
,
buf
,
&
size
);
ok
(
r
==
ERROR_SUCCESS
,
"format record failed: %d
\n
"
,
r
);
todo_wine
{
ok
(
!
lstrcmp
(
buf
,
expected
),
"Expected '%s', got %s
\n
"
,
expected
,
buf
);
}
DeleteFile
(
"C:
\\
I am a really long directory
\\
temporal.txt"
);
RemoveDirectory
(
"C:
\\
I am a really long directory"
);
...
...
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