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
c66b78a8
Commit
c66b78a8
authored
Dec 11, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 11, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Don't set the Preselected property for a full reinstall.
parent
fbd7f881
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
action.c
dlls/msi/action.c
+2
-1
msipriv.h
dlls/msi/msipriv.h
+1
-0
No files found.
dlls/msi/action.c
View file @
c66b78a8
...
...
@@ -1784,7 +1784,7 @@ static BOOL process_overrides( MSIPACKAGE *package, int level )
ret
|=
process_state_property
(
package
,
level
,
szReinstall
,
INSTALLSTATE_UNKNOWN
);
ret
|=
process_state_property
(
package
,
level
,
szAdvertise
,
INSTALLSTATE_ADVERTISED
);
if
(
ret
)
if
(
ret
&&
!
package
->
full_reinstall
)
msi_set_property
(
package
->
db
,
szPreselected
,
szOne
,
-
1
);
return
ret
;
...
...
@@ -7785,6 +7785,7 @@ UINT MSI_InstallPackage( MSIPACKAGE *package, LPCWSTR szPackagePath,
{
TRACE
(
"setting REINSTALL property to ALL
\n
"
);
msi_set_property
(
package
->
db
,
szReinstall
,
szAll
,
-
1
);
package
->
full_reinstall
=
1
;
}
/* properties may have been added by a transform */
...
...
dlls/msi/msipriv.h
View file @
c66b78a8
...
...
@@ -414,6 +414,7 @@ typedef struct tagMSIPACKAGE
unsigned
char
need_reboot_at_end
:
1
;
unsigned
char
need_reboot_now
:
1
;
unsigned
char
need_rollback
:
1
;
unsigned
char
full_reinstall
:
1
;
}
MSIPACKAGE
;
typedef
struct
tagMSIPREVIEW
...
...
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