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
8cc5561f
Commit
8cc5561f
authored
Dec 13, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 13, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Don't run the rollback script in reinstall mode.
parent
8a5c700d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
action.c
dlls/msi/action.c
+5
-3
No files found.
dlls/msi/action.c
View file @
8cc5561f
...
...
@@ -7408,11 +7408,12 @@ static UINT ACTION_PerformActionSequence(MSIPACKAGE *package, UINT seq)
UINT
MSI_InstallPackage
(
MSIPACKAGE
*
package
,
LPCWSTR
szPackagePath
,
LPCWSTR
szCommandLine
)
{
UINT
rc
;
BOOL
ui_exists
;
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
=
NULL
;
BOOL
ui_exists
;
UINT
rc
;
msi_set_property
(
package
->
db
,
szAction
,
szInstall
);
...
...
@@ -7515,11 +7516,12 @@ UINT MSI_InstallPackage( MSIPACKAGE *package, LPCWSTR szPackagePath,
/* finish up running custom actions */
ACTION_FinishCustomActions
(
package
);
if
(
package
->
need_rollback
)
if
(
package
->
need_rollback
&&
!
(
reinstall
=
msi_dup_property
(
package
->
db
,
szReinstall
))
)
{
WARN
(
"installation failed, running rollback script
\n
"
);
execute_script
(
package
,
ROLLBACK_SCRIPT
);
}
msi_free
(
reinstall
);
if
(
rc
==
ERROR_SUCCESS
&&
package
->
need_reboot
)
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