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
db2e8d2f
Commit
db2e8d2f
authored
Jun 23, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Jun 24, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Squash the package code property.
parent
ebeb5379
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
action.c
dlls/msi/action.c
+3
-1
install.c
dlls/msi/tests/install.c
+1
-1
No files found.
dlls/msi/action.c
View file @
db2e8d2f
...
...
@@ -3392,6 +3392,7 @@ static UINT msi_publish_product_properties(MSIPACKAGE *package, HKEY hkey)
{
MSIHANDLE
hdb
,
suminfo
;
WCHAR
guids
[
MAX_PATH
];
WCHAR
packcode
[
SQUISH_GUID_SIZE
];
LPWSTR
buffer
;
LPWSTR
ptr
;
DWORD
langid
;
...
...
@@ -3452,7 +3453,8 @@ static UINT msi_publish_product_properties(MSIPACKAGE *package, HKEY hkey)
ptr
=
strchrW
(
guids
,
';'
);
if
(
ptr
)
*
ptr
=
0
;
msi_reg_set_val_str
(
hkey
,
INSTALLPROPERTY_PACKAGECODEW
,
guids
);
squash_guid
(
guids
,
packcode
);
msi_reg_set_val_str
(
hkey
,
INSTALLPROPERTY_PACKAGECODEW
,
packcode
);
done:
MsiCloseHandle
(
suminfo
);
...
...
dlls/msi/tests/install.c
View file @
db2e8d2f
...
...
@@ -2530,12 +2530,12 @@ static void test_publish_publishproduct(void)
ok
(
res
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
res
);
CHECK_DEL_REG_STR
(
hkey
,
"ProductName"
,
"MSITEST"
);
CHECK_DEL_REG_STR
(
hkey
,
"PackageCode"
,
"AC75740029052c94DA02821EECD05F2F"
);
CHECK_DEL_REG_DWORD
(
hkey
,
"Language"
,
1033
);
CHECK_DEL_REG_DWORD
(
hkey
,
"Version"
,
0x1010001
);
CHECK_DEL_REG_DWORD
(
hkey
,
"AuthorizedLUAApp"
,
0
);
todo_wine
{
CHECK_DEL_REG_STR
(
hkey
,
"PackageCode"
,
"AC75740029052c94DA02821EECD05F2F"
);
CHECK_DEL_REG_DWORD
(
hkey
,
"Assignment"
,
0
);
CHECK_DEL_REG_DWORD
(
hkey
,
"AdvertiseFlags"
,
0x184
);
CHECK_DEL_REG_DWORD
(
hkey
,
"InstanceType"
,
0
);
...
...
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