I get "annoying" error 1306 when I try to uninstall a MSI pacakge I've created!
"Error 1306.Another application has exclusive access to the file C:\Documents and Settings\All Users\Application Data\Microsoft\Network\Downloader\qmgr0.dat. Please shut down all other applications, then click Retry."

I've rebooted and tried again, but it's the same problem.

Is it possible to apply [Process.Close()] in that part of uninstall? How can I find which process is holding the file?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
ORIGINAL: mehappy
I get "annoying" error 1306 when I try to uninstall a MSI pacakge I've created!
"Error 1306.Another application has exclusive access to the file C:\Documents and Settings\All Users\Application Data\Microsoft\Network\Downloader\qmgr0.dat. Please shut down all other applications, then click Retry."
I've rebooted and tried again, but it's the same problem.
Is it possible to apply [Process.Close()] in that part of uninstall? How can I find which process is holding the file?

You could do that, but the better solution is probably to remove that file from the installation. Sounds like it does not belong there.
Answered 04/08/2008 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
0
These files are connected with the Background Intelligent Transfer Software and/or Windows Update. They're held open by one of the processes, I forget which. So, before trying to delete them, stop the WU and BITS services. Don't forget to re-start them afterwards (and check that they started, too)
Answered 04/09/2008 by: VBScab
Red Belt

Please log in to comment
0
Yes guys! You were right, both of you!
First of all that file (qmgr0.dat and qmgr1.dat) shouldn't be part of package. As VBScab wrote I stopped both BITS and WU services and ran uninstall, so it worked perfectly.

PS! I've now removed these files from installation.

Thank you!
Answered 04/10/2008 by: mehappy
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity