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
d9510f59
Commit
d9510f59
authored
Apr 27, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 28, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Only set the property in the Reinstall event.
parent
f23bf7a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
13 deletions
+1
-13
events.c
dlls/msi/events.c
+1
-13
No files found.
dlls/msi/events.c
View file @
d9510f59
...
...
@@ -386,19 +386,7 @@ static UINT ControlEvent_ReinstallMode(MSIPACKAGE *package, LPCWSTR argument,
static
UINT
ControlEvent_Reinstall
(
MSIPACKAGE
*
package
,
LPCWSTR
argument
,
msi_dialog
*
dialog
)
{
static
const
WCHAR
szReinstallEq
[]
=
{
'R'
,
'E'
,
'I'
,
'N'
,
'S'
,
'T'
,
'A'
,
'L'
,
'L'
,
'='
,
0
};
UINT
r
=
ERROR_OUTOFMEMORY
;
WCHAR
*
cmd
;
cmd
=
msi_alloc
(
(
strlenW
(
szReinstallEq
)
+
strlenW
(
argument
)
+
1
)
*
sizeof
(
WCHAR
)
);
if
(
cmd
)
{
strcpyW
(
cmd
,
szReinstallEq
);
strcatW
(
cmd
,
argument
);
r
=
MsiConfigureProductExW
(
package
->
ProductCode
,
INSTALLLEVEL_DEFAULT
,
INSTALLSTATE_DEFAULT
,
cmd
);
msi_free
(
cmd
);
}
return
r
;
return
msi_set_property
(
package
->
db
,
szReinstall
,
argument
);
}
static
UINT
ControlEvent_ValidateProductID
(
MSIPACKAGE
*
package
,
LPCWSTR
argument
,
...
...
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