Archive: Intermittent Initializing Plug-Ins Error on Windows 7


Intermittent Initializing Plug-Ins Error on Windows 7
I am building an installer that downloads and runs a series of silent nsis packages based on the users selection. On one computer, a 32-bit Windows 7 Netbook, I have noticed that once in a while one of these packages will fail during the installation with the below error:

Delete: "C:\Users\xxx\AppData\Local\Temp\nsyCE48.tmp"
CreateDirectory: "C:\Users\xxx\AppData\Local\Temp\nsyCE48.tmp" (0)
CreateDirectory: can't create "C:\Users\xxx\AppData\Local\Temp\nsyCE48.tmp" (err=5)
MessageBox: 2097168,"Error! Can't initialize plug-ins directory. Please try again later."

This error never occurs on the first package that is run and the error code specifies access denied, which doesn't make sense since there have been other packages run a few seconds earlier that created the plugins directory without issue (I can see their log output). The installer runs as administrator if you want to know.

Any thoughts or workarounds?


Try monitoring the filesystem with Process Monitor ( http://technet.microsoft.com/en-us/s.../bb896645.aspx )


So, I found that if I turned off Kaspersky Anti-Virus 6.0 for Windows Workstations this issue can no longer be reproduced. I plan to write them about this issue, but I thought you guys should know.