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
ef640a6c
Commit
ef640a6c
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: Publish a few more product properties.
parent
c7ab4fad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
7 deletions
+16
-7
action.c
dlls/msi/action.c
+12
-0
install.c
dlls/msi/tests/install.c
+4
-7
No files found.
dlls/msi/action.c
View file @
ef640a6c
...
...
@@ -3405,6 +3405,13 @@ static UINT msi_publish_product_properties(MSIPACKAGE *package, HKEY hkey)
{
'A'
,
'R'
,
'P'
,
'P'
,
'R'
,
'O'
,
'D'
,
'U'
,
'C'
,
'T'
,
'I'
,
'C'
,
'O'
,
'N'
,
0
};
static
const
WCHAR
szProductVersion
[]
=
{
'P'
,
'r'
,
'o'
,
'd'
,
'u'
,
'c'
,
't'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
szAssignment
[]
=
{
'A'
,
's'
,
's'
,
'i'
,
'g'
,
'n'
,
'm'
,
'e'
,
'n'
,
't'
,
0
};
static
const
WCHAR
szAdvertiseFlags
[]
=
{
'A'
,
'd'
,
'v'
,
'e'
,
'r'
,
't'
,
'i'
,
's'
,
'e'
,
'F'
,
'l'
,
'a'
,
'g'
,
's'
,
0
};
static
const
WCHAR
szClients
[]
=
{
'C'
,
'l'
,
'i'
,
'e'
,
'n'
,
't'
,
's'
,
0
};
static
const
WCHAR
szColon
[]
=
{
':'
,
0
};
buffer
=
msi_dup_property
(
package
,
INSTALLPROPERTY_PRODUCTNAMEW
);
msi_reg_set_val_str
(
hkey
,
INSTALLPROPERTY_PRODUCTNAMEW
,
buffer
);
...
...
@@ -3436,6 +3443,11 @@ static UINT msi_publish_product_properties(MSIPACKAGE *package, HKEY hkey)
msi_free
(
buffer
);
}
msi_reg_set_val_dword
(
hkey
,
szAssignment
,
0
);
msi_reg_set_val_dword
(
hkey
,
szAdvertiseFlags
,
0x184
);
msi_reg_set_val_dword
(
hkey
,
INSTALLPROPERTY_INSTANCETYPEW
,
0
);
msi_reg_set_val_str
(
hkey
,
szClients
,
szColon
);
hdb
=
alloc_msihandle
(
&
package
->
db
->
hdr
);
if
(
!
hdb
)
return
ERROR_NOT_ENOUGH_MEMORY
;
...
...
dlls/msi/tests/install.c
View file @
ef640a6c
...
...
@@ -2535,13 +2535,10 @@ static void test_publish_publishproduct(void)
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_DWORD
(
hkey
,
"Assignment"
,
0
);
CHECK_DEL_REG_DWORD
(
hkey
,
"AdvertiseFlags"
,
0x184
);
CHECK_DEL_REG_DWORD
(
hkey
,
"InstanceType"
,
0
);
CHECK_DEL_REG_STR
(
hkey
,
"Clients"
,
":"
);
}
CHECK_DEL_REG_DWORD
(
hkey
,
"Assignment"
,
0
);
CHECK_DEL_REG_DWORD
(
hkey
,
"AdvertiseFlags"
,
0x184
);
CHECK_DEL_REG_DWORD
(
hkey
,
"InstanceType"
,
0
);
CHECK_DEL_REG_STR
(
hkey
,
"Clients"
,
":"
);
res
=
RegOpenKeyA
(
hkey
,
"SourceList"
,
&
sourcelist
);
ok
(
res
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
res
);
...
...
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