Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Getting a "Could not find required file 'setup.bin'" error
 

Getting a "Could not find required file 'setup.bin'" error

OK, this is not a ClickOnce problem (that I know of, at least), nor is it a Windows Forms problem. But there wasn't any other forum I could find here which was for my question, and this forum seemed to be the only one close enough to matter.

I'm working my way through the MSDN walkthrough, "Walkthrough: Creating a Windows Service Application in the Component Designer". And I've run into a problem I can't get past. (I had another problem with the documentation not renaming the class, but I worked around that.) In the walkthrough where it instructs you to add a custom action to the setup project, on step #4 it says, "In Solution Explorer, right-click the MyServiceSetup project and click Build." When I do that I get the following error message:

"Could not find required file 'setup.bin' in 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Engine'."

I checked, and sure enough, the setup.bin file isn't there. Nor is it anywhere at all under my C:\Program Files\Microsoft SDKs\Windows\v6.0\* directory structure. So, where is it or how do I get it?


Rod at Work  Wednesday, August 20, 2008 5:18 PM
This might be the fake virus issue. Some AV programs report that setup.bin is a virus and quarantine it. Check your AV scanner and see if it's quarantined somewhere.

PhilWilson  Wednesday, August 20, 2008 7:58 PM
This might be the fake virus issue. Some AV programs report that setup.bin is a virus and quarantine it. Check your AV scanner and see if it's quarantined somewhere.

PhilWilson  Wednesday, August 20, 2008 7:58 PM

That was it!! Thank you, Phil, for suggesting that. I remember, now, that while I was installing SP1 for VS 2008, my AVG 8.0 did identify that file as a "virus" and quarentined it.

Thank you, thank you, thank you!!!

Rod at Work  Wednesday, August 20, 2008 8:05 PM
Hi there,
I have exactly the same problem, so thanks for solving that. However, I too am using AVG 8.0 but it will not restore the file. Any ideas?
thanks
Paul
Paulbacca  Thursday, September 11, 2008 5:08 PM

I could not find the missing file in the location it requested, and also could not find it in my virus vault.

I ended up reinstalling Visual Studio 2008 to resolve the issue, and then applying service pack 1.

PeacError  Thursday, September 11, 2008 5:43 PM
Exellent !! Many thanks!!!!
In order to help Spanish Speaking community:
Could not find required file 'setup.bin' in 'C:\Archivos de programa\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Engine'.
Rorro  Wednesday, September 24, 2008 1:43 PM
Thank you VERY much. Sure enough, AVG Free had said that setup.bin was a Backdoor Trojan. I was able to restore it from my Virus Vault and immediately rebuild my solution.

Again, thanks for this.
da7rutrak  Saturday, October 04, 2008 6:34 PM
i am getting the same error and i have check there is the file located..but it fails to read and show me the error

error ::
could not find the required file setup.bin at c:\Program files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Engine
Dmehra  Tuesday, September 01, 2009 11:51 AM
I see the file, don't have an antivirus installed, the file is there, the error doesn't say C:\Program Files\... it just reades \Bootstrapper\Engine. Is there anywhere else that would be located?

I was running this on an x86 box and it worked fine, I tried it on a new x64 box and it's giving me ____. Any ideas?

Thanks
blacktone  Thursday, September 03, 2009 4:25 PM
@Blacktone ::
thanx..i am trying it on x86 box.(vista installed) using Visual studio 2008.i scan this file(setup.bin) with my anti virus..it is not showing and infection
but when i tried to build the solution using command

MSBuild test.wixproj

it show me the error.and not build a setup.exe file.. i think it is not the problem of wix,because i tried it without wix also as given in link below :

http://www.wixwiki.com/index.php?title=Deploying_Additional_Components

i added a path variable into it.which is the location i mentioned ..it still show me the same error.i couldnt find where is the problem..
i just want a bootstrapper for my application which check and install my prerequisites..if u have any other option please suggest me.
Dmehra  Friday, September 04, 2009 5:14 AM

You can use google to search for other answers

Custom Search

More Threads

• Force Restart after successful installation ...
• Changing the Add/Remove Program Dialog Box Icons
• Clickonce deployment for web client side dll.
• ClickOnce App doesn't uninstall if the App is running!?
• ClickOnce no longer recognize the certificate file used to sign the assemblies
• Adding an image that displays when ALT+TAB is pressed
• ClickOnce Caching Isuue with apache server
• HTTP Redirect error during clickonce
• Scripting a setup project
• Problem with ShowDialog in Installer Class in Windows Vista.