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:
parent
1f72ebad5b
commit
2d8cb29516
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue