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
2ffa433f
Commit
2ffa433f
authored
Oct 27, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Oct 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Convert command line property names to uppercase.
parent
bf9538f3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
0 deletions
+35
-0
action.c
dlls/msi/action.c
+1
-0
install.c
dlls/msi/tests/install.c
+34
-0
No files found.
dlls/msi/action.c
View file @
2ffa433f
...
...
@@ -323,6 +323,7 @@ UINT msi_parse_command_line( MSIPACKAGE *package, LPCWSTR szCommandLine )
prop
=
msi_alloc
((
len
+
1
)
*
sizeof
(
WCHAR
));
memcpy
(
prop
,
ptr
,
len
*
sizeof
(
WCHAR
));
prop
[
len
]
=
0
;
struprW
(
prop
);
ptr2
++
;
len
=
0
;
...
...
dlls/msi/tests/install.c
View file @
2ffa433f
...
...
@@ -1189,6 +1189,18 @@ static const msi_table ai_tables[] =
ADD_TABLE
(
property
)
};
static
const
msi_table
pc_tables
[]
=
{
ADD_TABLE
(
ca51_component
),
ADD_TABLE
(
directory
),
ADD_TABLE
(
rof_feature
),
ADD_TABLE
(
ci2_feature_comp
),
ADD_TABLE
(
ci2_file
),
ADD_TABLE
(
install_exec_seq
),
ADD_TABLE
(
rof_media
),
ADD_TABLE
(
property
)
};
/* cabinet definitions */
/* make the max size large so there is only one cab file */
...
...
@@ -5559,6 +5571,27 @@ static void test_adminimage(void)
RemoveDirectoryA
(
"msitest"
);
}
static
void
test_propcase
(
void
)
{
UINT
r
;
CreateDirectoryA
(
"msitest"
,
NULL
);
create_file
(
"msitest
\\
augustus"
,
500
);
create_database
(
msifile
,
pc_tables
,
sizeof
(
pc_tables
)
/
sizeof
(
msi_table
));
MsiSetInternalUI
(
INSTALLUILEVEL_NONE
,
NULL
);
r
=
MsiInstallProductA
(
msifile
,
"MyProp=42"
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %u
\n
"
,
r
);
ok
(
delete_pf
(
"msitest
\\
augustus"
,
TRUE
),
"File not installed
\n
"
);
ok
(
delete_pf
(
"msitest"
,
FALSE
),
"File not installed
\n
"
);
DeleteFile
(
msifile
);
DeleteFile
(
"msitest
\\
augustus"
);
RemoveDirectory
(
"msitest"
);
}
START_TEST
(
install
)
{
DWORD
len
;
...
...
@@ -5631,6 +5664,7 @@ START_TEST(install)
test_missingcomponent
();
test_sourcedirprop
();
test_adminimage
();
test_propcase
();
DeleteFileA
(
"msitest.log"
);
...
...
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