When working toward install on demand support we need to reset all the

constant values so that multiple install process do not get confused
by leftover values from the previous install.
This commit is contained in:
Aric Stewart 2005-07-12 17:56:03 +00:00 committed by Alexandre Julliard
parent 1f72ebad5b
commit 2d8cb29516
1 changed files with 5 additions and 0 deletions

View File

@ -462,6 +462,11 @@ static UINT ready_media_for_file(MSIPACKAGE *package, int fileindex,
{
HeapFree(GetProcessHeap(),0,last_path);
HeapFree(GetProcessHeap(),0,last_volume);
last_sequence = 0;
last_path = NULL;
last_volume = NULL;
count = 0;
memset(source,0,sizeof(source));
return ERROR_SUCCESS;
}