mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 05:08:30 +00:00
msi: Install global assemblies after install custom actions and before commit custom actions.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56609
This commit is contained in:
parent
a27b95511b
commit
27f5470ff4
|
@ -5139,6 +5139,11 @@ static UINT ACTION_InstallFinalize(MSIPACKAGE *package)
|
|||
MSIFILE *file;
|
||||
MSIFILEPATCH *patch;
|
||||
|
||||
/* first do the same as an InstallExecute */
|
||||
rc = execute_script(package, SCRIPT_INSTALL);
|
||||
if (rc != ERROR_SUCCESS)
|
||||
return rc;
|
||||
|
||||
/* install global assemblies */
|
||||
LIST_FOR_EACH_ENTRY( file, &package->files, MSIFILE, entry )
|
||||
{
|
||||
|
@ -5177,11 +5182,6 @@ static UINT ACTION_InstallFinalize(MSIPACKAGE *package)
|
|||
}
|
||||
}
|
||||
|
||||
/* first do the same as an InstallExecute */
|
||||
rc = execute_script(package, SCRIPT_INSTALL);
|
||||
if (rc != ERROR_SUCCESS)
|
||||
return rc;
|
||||
|
||||
/* then handle commit actions */
|
||||
rc = execute_script(package, SCRIPT_COMMIT);
|
||||
if (rc != ERROR_SUCCESS)
|
||||
|
|
Loading…
Reference in a new issue