You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wixtracts.ExtractFiles keeps some msi Record handles open.
I ran into this issue when I was directly calling Wixtracts.ExtractFiles and then when it was finished, immediately trying to open the msi file for writing.
In my case, for reference, I received the following exception: System.IO.FileLoadException: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
I debugged the issue and it's because the Record objects are not being closed until they are garbage collected which may be some time in the future.
I will create a pull request.
Thank you.
The text was updated successfully, but these errors were encountered:
Wixtracts.ExtractFiles
keeps some msiRecord
handles open.I ran into this issue when I was directly calling Wixtracts.ExtractFiles and then when it was finished, immediately trying to open the msi file for writing.
In my case, for reference, I received the following exception:
System.IO.FileLoadException: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
I debugged the issue and it's because the
Record
objects are not being closed until they are garbage collected which may be some time in the future.I will create a pull request.
Thank you.
The text was updated successfully, but these errors were encountered: