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
347bb13f
Commit
347bb13f
authored
May 11, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
May 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Set install properties just once.
parent
4d2fb55e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
19 deletions
+0
-19
action.c
dlls/msi/action.c
+0
-19
No files found.
dlls/msi/action.c
View file @
347bb13f
...
...
@@ -4559,21 +4559,14 @@ static UINT msi_publish_install_properties(MSIPACKAGE *package, HKEY hkey)
{
'P'
,
'r'
,
'o'
,
'd'
,
'u'
,
'c'
,
't'
,
'L'
,
'a'
,
'n'
,
'g'
,
'u'
,
'a'
,
'g'
,
'e'
,
0
};
static
const
WCHAR
szProductVersion
[]
=
{
'P'
,
'r'
,
'o'
,
'd'
,
'u'
,
'c'
,
't'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
szProductName
[]
=
{
'P'
,
'r'
,
'o'
,
'd'
,
'u'
,
'c'
,
't'
,
'N'
,
'a'
,
'm'
,
'e'
,
0
};
static
const
WCHAR
szDisplayName
[]
=
{
'D'
,
'i'
,
's'
,
'p'
,
'l'
,
'a'
,
'y'
,
'N'
,
'a'
,
'm'
,
'e'
,
0
};
static
const
WCHAR
szDisplayVersion
[]
=
{
'D'
,
'i'
,
's'
,
'p'
,
'l'
,
'a'
,
'y'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
szManufacturer
[]
=
{
'M'
,
'a'
,
'n'
,
'u'
,
'f'
,
'a'
,
'c'
,
't'
,
'u'
,
'r'
,
'e'
,
'r'
,
0
};
static
const
LPCSTR
propval
[]
=
{
"ARPAUTHORIZEDCDFPREFIX"
,
"AuthorizedCDFPrefix"
,
"ARPCONTACT"
,
"Contact"
,
"ARPCOMMENTS"
,
"Comments"
,
"ProductName"
,
"DisplayName"
,
"ProductVersion"
,
"DisplayVersion"
,
"ARPHELPLINK"
,
"HelpLink"
,
"ARPHELPTELEPHONE"
,
"HelpTelephone"
,
"ARPINSTALLLOCATION"
,
"InstallLocation"
,
...
...
@@ -4608,18 +4601,6 @@ static UINT msi_publish_install_properties(MSIPACKAGE *package, HKEY hkey)
/* FIXME: Write real Estimated Size when we have it */
msi_reg_set_val_dword
(
hkey
,
szEstimatedSize
,
0
);
buffer
=
msi_dup_property
(
package
->
db
,
szProductName
);
msi_reg_set_val_str
(
hkey
,
szDisplayName
,
buffer
);
msi_free
(
buffer
);
buffer
=
msi_dup_property
(
package
->
db
,
cszSourceDir
);
msi_reg_set_val_str
(
hkey
,
INSTALLPROPERTY_INSTALLSOURCEW
,
buffer
);
msi_free
(
buffer
);
buffer
=
msi_dup_property
(
package
->
db
,
szManufacturer
);
msi_reg_set_val_str
(
hkey
,
INSTALLPROPERTY_PUBLISHERW
,
buffer
);
msi_free
(
buffer
);
GetLocalTime
(
&
systime
);
sprintfW
(
date
,
date_fmt
,
systime
.
wYear
,
systime
.
wMonth
,
systime
.
wDay
);
msi_reg_set_val_str
(
hkey
,
INSTALLPROPERTY_INSTALLDATEW
,
date
);
...
...
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