/build/static/layout/Breadcrumb_cap_w.png

Uninstalling error

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

Answers (3)

Posted by: aogilmor 16 years ago
9th Degree Black Belt
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.
Posted by: anonymous_9363 16 years ago
Red Belt
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)
Posted by: mehappy 16 years ago
Orange Belt
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!
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ