Commit 2d8cb295 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

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.
parent 1f72ebad
......@@ -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;
}
......
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