I was trying to deploy a .NET 2.0 application using ClickOnce Deployment the other day.
I had all the IIS settings configured and folder paths entered correctly.
When I clicked ‘Publish Now’, I got an error message that made me wonder if I needed to reinstall Visual Studio.

Cannot publish because a project failed to build.
Could not find required file ‘setup.bin’ in ‘C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Engine’.

Publishing ClickOnce Deployment

My first reaction was oh damn, I don’t want to reinstall whatever it is that’s broken.
My second smarter reaction was to google the error :)
Found this post on MSDN forums.

Basically, it was AVG Antivirus 8.0 that incorrectly identified and quarantined a required file as a Trojan.
AVG Free marked the file C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Engine\setup.bin as a Trojan horse BackDoor.VB.DIY

AVG Free Virus Vault

Simply select the file and click the ‘Restore’ button from AVG’s Virus Vault. (So glad I havn’t been emptying my vault!)

Once that little error was corrected, it was a simple matter to click ‘Publish Now’ again and I was happily on my way to my first ever ClickOnce Deployment!
I’m glad it wasn’t a serious problem requiring reinstalls.

Some days, I wonder if I want to keep an antivirus program running on my computer.
I don’t need much protection as I am careful in my mail box and I rarely visit websites out of google’s domain.
Google Reader gets me everything I want to read anyway.
Scratch that thought I lend my flash drive out to other people sometimes so it wouldn’t be a good idea to have no protection.
I trust myself but you just can’t trust people’s machines.

No related posts.