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
614cb7ea
Commit
614cb7ea
authored
Sep 01, 2014
by
Hans Leidekker
Committed by
Alexandre Julliard
Sep 01, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Update the cached product code when the property has changed.
parent
57092499
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
action.c
dlls/msi/action.c
+10
-1
No files found.
dlls/msi/action.c
View file @
614cb7ea
...
...
@@ -7754,7 +7754,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
,
*
patch
;
WCHAR
*
reinstall
,
*
remove
,
*
patch
,
*
productcode
;
BOOL
ui_exists
;
UINT
rc
;
...
...
@@ -7823,6 +7823,15 @@ UINT MSI_InstallPackage( MSIPACKAGE *package, LPCWSTR szPackagePath,
msi_adjust_privilege_properties
(
package
);
msi_set_context
(
package
);
productcode
=
msi_dup_property
(
package
->
db
,
szProductCode
);
if
(
strcmpiW
(
productcode
,
package
->
ProductCode
))
{
TRACE
(
"product code changed %s -> %s
\n
"
,
debugstr_w
(
package
->
ProductCode
),
debugstr_w
(
productcode
)
);
msi_free
(
package
->
ProductCode
);
package
->
ProductCode
=
productcode
;
}
else
msi_free
(
productcode
);
if
(
msi_get_property_int
(
package
->
db
,
szDisableRollback
,
0
))
{
TRACE
(
"disabling rollback
\n
"
);
...
...
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