msi: Remove the unused CurrentlyScripting field from MSISCRIPT.
This commit is contained in:
parent
fcb924c144
commit
48908c130c
|
@ -3178,8 +3178,6 @@ static UINT ACTION_RemoveRegistryValues( MSIPACKAGE *package )
|
|||
|
||||
static UINT ACTION_InstallInitialize(MSIPACKAGE *package)
|
||||
{
|
||||
package->script->CurrentlyScripting = TRUE;
|
||||
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
|
@ -5291,9 +5289,6 @@ static UINT ACTION_InstallFinalize(MSIPACKAGE *package)
|
|||
UINT rc;
|
||||
WCHAR *remove;
|
||||
|
||||
/* turn off scheduling */
|
||||
package->script->CurrentlyScripting= FALSE;
|
||||
|
||||
/* first do the same as an InstallExecute */
|
||||
rc = ACTION_InstallExecute(package);
|
||||
if (rc != ERROR_SUCCESS)
|
||||
|
@ -7820,8 +7815,6 @@ UINT MSI_InstallPackage( MSIPACKAGE *package, LPCWSTR szPackagePath,
|
|||
else
|
||||
rc = ACTION_ProcessExecSequence(package, FALSE);
|
||||
|
||||
package->script->CurrentlyScripting = FALSE;
|
||||
|
||||
/* process the ending type action */
|
||||
if (rc == ERROR_SUCCESS)
|
||||
ACTION_PerformActionSequence(package, -1);
|
||||
|
|
|
@ -686,7 +686,6 @@ typedef struct tagMSISCRIPT
|
|||
LPWSTR *Actions[SCRIPT_MAX];
|
||||
UINT ActionCount[SCRIPT_MAX];
|
||||
BOOL ExecuteSequenceRun;
|
||||
BOOL CurrentlyScripting;
|
||||
UINT InWhatSequence;
|
||||
LPWSTR *UniqueActions;
|
||||
UINT UniqueActionsCount;
|
||||
|
|
Loading…
Reference in New Issue