I've recently begun distributing my installer .exe file to many others and about 25% of the time the install hangs at some point and requires a kill from task manager (the install takes about 20-30 seconds when it is successful). I do not yet know exactly where it hangs, but I'm told it gets 50-75% done (whatever that means).
The common denominator is that in every failed case, an antivirus program was running at the time of the install. Disabling it made the install run smoothly. No, I know know which antivirus programs were running (I'm working on that) but I'm wondering what types of issues you all may be aware of that could cause the installer to hang. Without posting my installer database, here, these are the types of things I'm doing in my setup.exe file:
1) Copying files to Program Files
2) Creating shortcuts on the desktop and Start menu
3) Copying files to Windows\System32, Windows\inf and Windows\System32\drivers
4) Adding a couple registry keys in HKLM
Any thoughts of where I might look to try and debug this situation? Yes, disabling antivirus programs fixes it, but this is a little inconvenient as many of the users of my installer probably have no idea how to do so!
Assuming I get more information from the field, I'll post it, but I'm hoping to start thinking about this before I get more data.
Thanks for your insights,
Dave
FOLLOW US
Get the latest news in Application Packaging