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
6957e4a0
Commit
6957e4a0
authored
Jun 08, 2005
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 08, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Write out Product Language and Product Icon to the registry.
parent
e51dd364
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
action.c
dlls/msi/action.c
+24
-0
No files found.
dlls/msi/action.c
View file @
6957e4a0
...
@@ -5916,6 +5916,15 @@ static UINT ACTION_PublishProduct(MSIPACKAGE *package)
...
@@ -5916,6 +5916,15 @@ static UINT ACTION_PublishProduct(MSIPACKAGE *package)
{
'P'
,
'r'
,
'o'
,
'd'
,
'u'
,
'c'
,
't'
,
'N'
,
'a'
,
'm'
,
'e'
,
0
};
{
'P'
,
'r'
,
'o'
,
'd'
,
'u'
,
'c'
,
't'
,
'N'
,
'a'
,
'm'
,
'e'
,
0
};
static
const
WCHAR
szPackageCode
[]
=
static
const
WCHAR
szPackageCode
[]
=
{
'P'
,
'a'
,
'c'
,
'k'
,
'a'
,
'g'
,
'e'
,
'C'
,
'o'
,
'd'
,
'e'
,
0
};
{
'P'
,
'a'
,
'c'
,
'k'
,
'a'
,
'g'
,
'e'
,
'C'
,
'o'
,
'd'
,
'e'
,
0
};
static
const
WCHAR
szLanguage
[]
=
{
'L'
,
'a'
,
'n'
,
'g'
,
'u'
,
'a'
,
'g'
,
'e'
,
0
};
static
const
WCHAR
szProductLanguage
[]
=
{
'P'
,
'r'
,
'o'
,
'd'
,
'u'
,
'c'
,
't'
,
'L'
,
'a'
,
'n'
,
'g'
,
'u'
,
'a'
,
'g'
,
'e'
,
0
};
static
const
WCHAR
szProductIcon
[]
=
{
'P'
,
'r'
,
'o'
,
'd'
,
'u'
,
'c'
,
't'
,
'I'
,
'c'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
szARPProductIcon
[]
=
{
'A'
,
'R'
,
'P'
,
'P'
,
'R'
,
'O'
,
'D'
,
'U'
,
'C'
,
'T'
,
'I'
,
'C'
,
'O'
,
'N'
,
0
};
DWORD
langid
;
LPWSTR
buffer
;
LPWSTR
buffer
;
DWORD
size
;
DWORD
size
;
MSIHANDLE
hDb
,
hSumInfo
;
MSIHANDLE
hDb
,
hSumInfo
;
...
@@ -6016,6 +6025,21 @@ next:
...
@@ -6016,6 +6025,21 @@ next:
size
=
strlenW
(
buffer
)
*
sizeof
(
WCHAR
);
size
=
strlenW
(
buffer
)
*
sizeof
(
WCHAR
);
RegSetValueExW
(
hukey
,
szProductName
,
0
,
REG_SZ
,
(
LPSTR
)
buffer
,
size
);
RegSetValueExW
(
hukey
,
szProductName
,
0
,
REG_SZ
,
(
LPSTR
)
buffer
,
size
);
HeapFree
(
GetProcessHeap
(),
0
,
buffer
);
HeapFree
(
GetProcessHeap
(),
0
,
buffer
);
buffer
=
load_dynamic_property
(
package
,
szProductLanguage
,
NULL
);
size
=
sizeof
(
DWORD
);
langid
=
atoiW
(
buffer
);
RegSetValueExW
(
hukey
,
szLanguage
,
0
,
REG_DWORD
,
(
BYTE
*
)
&
langid
,
size
);
buffer
=
load_dynamic_property
(
package
,
szARPProductIcon
,
NULL
);
if
(
buffer
)
{
LPWSTR
path
;
build_icon_path
(
package
,
buffer
,
&
path
);
size
=
strlenW
(
path
)
*
sizeof
(
WCHAR
);
RegSetValueExW
(
hukey
,
szProductIcon
,
0
,
REG_SZ
,
(
BYTE
*
)
path
,
size
);
}
FIXME
(
"Need to write more keys to the user registry
\n
"
);
FIXME
(
"Need to write more keys to the user registry
\n
"
);
hDb
=
alloc_msihandle
(
&
package
->
db
->
hdr
);
hDb
=
alloc_msihandle
(
&
package
->
db
->
hdr
);
...
...
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