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
ed4ce217
Commit
ed4ce217
authored
Nov 19, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 19, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Don't set the REINSTALL property if the product will be patched.
parent
65e480d7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
action.c
dlls/msi/action.c
+4
-2
No files found.
dlls/msi/action.c
View file @
ed4ce217
...
...
@@ -7727,7 +7727,7 @@ UINT MSI_InstallPackage( MSIPACKAGE *package, LPCWSTR szPackagePath,
static
const
WCHAR
szDisableRollback
[]
=
{
'D'
,
'I'
,
'S'
,
'A'
,
'B'
,
'L'
,
'E'
,
'R'
,
'O'
,
'L'
,
'L'
,
'B'
,
'A'
,
'C'
,
'K'
,
0
};
static
const
WCHAR
szAction
[]
=
{
'A'
,
'C'
,
'T'
,
'I'
,
'O'
,
'N'
,
0
};
static
const
WCHAR
szInstall
[]
=
{
'I'
,
'N'
,
'S'
,
'T'
,
'A'
,
'L'
,
'L'
,
0
};
WCHAR
*
reinstall
,
*
remove
;
WCHAR
*
reinstall
,
*
remove
,
*
patch
;
BOOL
ui_exists
;
UINT
rc
;
...
...
@@ -7778,9 +7778,10 @@ UINT MSI_InstallPackage( MSIPACKAGE *package, LPCWSTR szPackagePath,
msi_apply_transforms
(
package
);
msi_apply_patches
(
package
);
patch
=
msi_dup_property
(
package
->
db
,
szPatch
);
remove
=
msi_dup_property
(
package
->
db
,
szRemove
);
reinstall
=
msi_dup_property
(
package
->
db
,
szReinstall
);
if
(
msi_get_property_int
(
package
->
db
,
szInstalled
,
0
)
&&
!
remove
&&
!
reinstall
)
if
(
msi_get_property_int
(
package
->
db
,
szInstalled
,
0
)
&&
!
remove
&&
!
reinstall
&&
!
patch
)
{
TRACE
(
"setting REINSTALL property to ALL
\n
"
);
msi_set_property
(
package
->
db
,
szReinstall
,
szAll
,
-
1
);
...
...
@@ -7841,6 +7842,7 @@ UINT MSI_InstallPackage( MSIPACKAGE *package, LPCWSTR szPackagePath,
}
msi_free
(
reinstall
);
msi_free
(
remove
);
msi_free
(
patch
);
if
(
rc
==
ERROR_SUCCESS
&&
package
->
need_reboot_at_end
)
return
ERROR_SUCCESS_REBOOT_REQUIRED
;
...
...
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