Commit 89c80c41 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Rename the need_reboot flag to need_reboot_at_end.

parent 4f60ddce
......@@ -6883,7 +6883,7 @@ static UINT ACTION_ValidateProductID( MSIPACKAGE *package )
static UINT ACTION_ScheduleReboot( MSIPACKAGE *package )
{
TRACE("\n");
package->need_reboot = 1;
package->need_reboot_at_end = 1;
return ERROR_SUCCESS;
}
......@@ -7508,7 +7508,7 @@ UINT MSI_InstallPackage( MSIPACKAGE *package, LPCWSTR szPackagePath,
}
msi_free( reinstall );
if (rc == ERROR_SUCCESS && package->need_reboot)
if (rc == ERROR_SUCCESS && package->need_reboot_at_end)
return ERROR_SUCCESS_REBOOT_REQUIRED;
return rc;
......
......@@ -215,7 +215,7 @@ static UINT copy_install_file(MSIPACKAGE *package, MSIFILE *file, LPWSTR source)
MoveFileExW(tmpfileW, file->TargetPath, MOVEFILE_DELAY_UNTIL_REBOOT))
{
file->state = msifs_installed;
package->need_reboot = 1;
package->need_reboot_at_end = 1;
gle = ERROR_SUCCESS;
}
else
......
......@@ -761,7 +761,7 @@ BOOL WINAPI MsiGetMode(MSIHANDLE hInstall, MSIRUNMODE iRunMode)
break;
case MSIRUNMODE_REBOOTATEND:
r = package->need_reboot;
r = package->need_reboot_at_end;
break;
case MSIRUNMODE_LOGENABLED:
......@@ -814,7 +814,7 @@ UINT WINAPI MsiSetMode(MSIHANDLE hInstall, MSIRUNMODE iRunMode, BOOL fState)
switch (iRunMode)
{
case MSIRUNMODE_REBOOTATEND:
package->need_reboot = 1;
package->need_reboot_at_end = 1;
r = ERROR_SUCCESS;
break;
......
......@@ -477,7 +477,7 @@ static INT_PTR cabinet_copy_file(FDINOTIFICATIONTYPE fdint,
MoveFileExW(path, NULL, MOVEFILE_DELAY_UNTIL_REBOOT) &&
MoveFileExW(tmpfileW, path, MOVEFILE_DELAY_UNTIL_REBOOT))
{
data->package->need_reboot = 1;
data->package->need_reboot_at_end = 1;
}
else
{
......
......@@ -406,7 +406,7 @@ typedef struct tagMSIPACKAGE
unsigned char scheduled_action_running : 1;
unsigned char commit_action_running : 1;
unsigned char rollback_action_running : 1;
unsigned char need_reboot : 1;
unsigned char need_reboot_at_end : 1;
unsigned char need_rollback : 1;
} MSIPACKAGE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment