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
4c49cf85
Commit
4c49cf85
authored
May 30, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
May 30, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Set the SystemComponent installation property if necessary.
parent
1d6540bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
action.c
dlls/msi/action.c
+8
-1
No files found.
dlls/msi/action.c
View file @
4c49cf85
...
...
@@ -4815,6 +4815,10 @@ static UINT msi_publish_install_properties(MSIPACKAGE *package, HKEY hkey)
{
'A'
,
'R'
,
'P'
,
'U'
,
'R'
,
'L'
,
'U'
,
'P'
,
'D'
,
'A'
,
'T'
,
'E'
,
'I'
,
'N'
,
'F'
,
'O'
,
0
};
static
const
WCHAR
szURLUpdateInfo
[]
=
{
'U'
,
'R'
,
'L'
,
'U'
,
'p'
,
'd'
,
'a'
,
't'
,
'e'
,
'I'
,
'n'
,
'f'
,
'o'
,
0
};
static
const
WCHAR
szARPSYSTEMCOMPONENT
[]
=
{
'A'
,
'R'
,
'P'
,
'S'
,
'Y'
,
'S'
,
'T'
,
'E'
,
'M'
,
'C'
,
'O'
,
'M'
,
'P'
,
'O'
,
'N'
,
'E'
,
'N'
,
'T'
,
0
};
static
const
WCHAR
szSystemComponent
[]
=
{
'S'
,
'y'
,
's'
,
't'
,
'e'
,
'm'
,
'C'
,
'o'
,
'm'
,
'p'
,
'o'
,
'n'
,
'e'
,
'n'
,
't'
,
0
};
static
const
WCHAR
*
propval
[]
=
{
szARPAUTHORIZEDCDFPREFIX
,
szAuthorizedCDFPrefix
,
...
...
@@ -4844,7 +4848,10 @@ static UINT msi_publish_install_properties(MSIPACKAGE *package, HKEY hkey)
}
msi_reg_set_val_dword
(
hkey
,
szWindowsInstaller
,
1
);
if
(
msi_get_property_int
(
package
->
db
,
szARPSYSTEMCOMPONENT
,
0
))
{
msi_reg_set_val_dword
(
hkey
,
szSystemComponent
,
1
);
}
size
=
deformat_string
(
package
,
modpath_fmt
,
&
buffer
);
RegSetValueExW
(
hkey
,
szModifyPath
,
0
,
REG_EXPAND_SZ
,
(
LPBYTE
)
buffer
,
size
);
RegSetValueExW
(
hkey
,
szUninstallString
,
0
,
REG_EXPAND_SZ
,
(
LPBYTE
)
buffer
,
size
);
...
...
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