Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > could not find required file setup.bin at c:\..\bootstrapper\engine error
 

could not find required file setup.bin at c:\..\bootstrapper\engine error

hii
m getting this error even i have checked,this file is present at this location but still it showing this error.

.wixproj file snippet i write is below :

<ItemGroup>
<BootstrapperFile Include="Microsoft.Net.Framework.3.5">
<ProductName>Microsoft .NET Framework 3.5</ProductName>
</BootstrapperFile>

<BootstrapperFile Include="Microsoft.Windows.Installer.3.1">
<ProductName>Windows Installer 3.1</ProductName>
</BootstrapperFile>
</ItemGroup>

<Target
Name="Bootstrapper"
Inputs="$(OutDir)$(TargetFileName)"
Outputs="$(OutDir)\Setup.exe" >

<GenerateBootstrapper
ApplicationName="HelloWorld sample"
ApplicationFile="$(TargetFileName)"
BootstrapperItems="@(BootstrapperFile)"
ComponentsLocation="HomeSite"
OutputPath="$(OutputPath)"
CopyComponents="true"
Path="C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper"
Culture="en"
/>
</Target>
<Import Project="$(WixTargetsPath)" />

<ItemGroup>

</ItemGroup>

<PropertyGroup>
<BuildDependsOn>$(BuildDependsOn);Bootstrapper</BuildDependsOn>
</PropertyGroup>


where is the problem??please help me..
Dmehra  Wednesday, September 02, 2009 6:43 AM
thanx aland,
now it reinstall the VS 2008 and it starts working..and yes i already checked the file setup.bin at its location..and it was present there.
i coudn't get where was the problem..but reinstalling the visual studio helps me out from this problem..

Thanx all..
  • Marked As Answer byDmehra Friday, September 04, 2009 9:31 AM
  •  
Dmehra  Friday, September 04, 2009 9:31 AM
hii
m getting this error even i have checked,this file is present at this location but still it showing this error.

.wixproj file snippet i write is below :

<ItemGroup>
<BootstrapperFile Include="Microsoft.Net.Framework.3.5">
<ProductName>Microsoft .NET Framework 3.5</ProductName>
</BootstrapperFile>

<BootstrapperFile Include="Microsoft.Windows.Installer.3.1">
<ProductName>Windows Installer 3.1</ProductName>
</BootstrapperFile>
</ItemGroup>

<Target
Name="Bootstrapper"
Inputs="$(OutDir)$(TargetFileName)"
Outputs="$(OutDir)\Setup.exe" >

<GenerateBootstrapper
ApplicationName="HelloWorld sample"
ApplicationFile="$(TargetFileName)"
BootstrapperItems="@(BootstrapperFile)"
ComponentsLocation="HomeSite"
OutputPath="$(OutputPath)"
CopyComponents="true"
Path="C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper"
Culture="en"
/>
</Target>
<Import Project="$(WixTargetsPath)" />

<ItemGroup>

</ItemGroup>

<PropertyGroup>
<BuildDependsOn>$(BuildDependsOn);Bootstrapper</BuildDependsOn>
</PropertyGroup>


where is the problem??please help me..
Dmehra  Wednesday, September 02, 2009 7:49 AM
well i am trying to make a bootstrapper setup.exe file which check and install my prerequisites like .Net Framework SP1

i enter this following snippet in my .wixproj file. but it showing me the error MSB3147 :could not find the required file setup.bin at c:\..\bootstrapper\engine
..but i checked and the file is present there..may be it could not read that file???...where is the problem???please help me out..

<ItemGroup>
<BootstrapperFile Include="Microsoft.Net.Framework.3.5.SP1">
<ProductName>.Net Framework 3.5 SP1</ProductName>
</BootstrapperFile>
<BootstrapperFile Include="Microsoft.Windows.Installer.3.1">
<ProductName>Windows Installer 3.1</ProductName>
</BootstrapperFile>
</ItemGroup>


<Target
Name="Bootstrapper"
Inputs="$(OutDir)$(TargetFileName)"
Outputs="$(OutDir)\Setup.exe" >

<GenerateBootstrapper
ApplicationName="HelloWorld sample"
ApplicationFile="$(TargetFileName)"
BootstrapperItems="@(BootstrapperFile)"
ComponentsLocation="HomeSite"
OutputPath="$(OutputPath)"
CopyComponents="true"
Path="C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper"
Culture="en-US"
/>
</Target>
<Import Project="$(WixTargetsPath)" />

<PropertyGroup>
<BuildDependsOn>$(BuildDependsOn);Bootstrapper</BuildDependsOn>
</PropertyGroup>




One more thing if i ll remove this following lines of code from the above snippet then it ll successfully build but it ll not make a setup.exe file at bin\Debug folder.
i have checked the output..it only run the candle.exe and light.exe which are note result me any setup.exe file
where am i lacking????..please help me out ..

<PropertyGroup>
<BuildDependsOn>$(BuildDependsOn);Bootstrapper</BuildDependsOn>
</PropertyGroup>


Dmehra  Thursday, September 03, 2009 10:17 AM
If this is specifically a WiX issue then you should try the WiX mailing list. However this may be the antivirus issue described in this thread:

http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/34f41417-89b2-48a1-af64-4904c5710e30
Phil Wilson
PhilWilson  Thursday, September 03, 2009 7:05 PM
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:15 AM
Hi Dmehra,

Have you checked whether file setup.bin exists in the directory? If not, please follow the link below which shows a solution:
http://social.msdn.microsoft.com/Forums/en/winformssetup/thread/40477756-909f-46b1-b1d5-50f73be20050.

This is an article talking about setup.bin:
http://blogs.msdn.com/heaths/archive/2008/08/15/setup-bin-is-probably-not-a-trojan-horse.aspx.

Regards,
Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Friday, September 04, 2009 8:22 AM
Hi Dmehra,

These are some articles about the same error in ClickOnce:
http://blogs.msdn.com/emmamou/archive/2009/04/08/team-build-for-clickonce-application-with-bootstrapper.aspx
http://blogs.microsoft.co.il/blogs/maordavid/archive/2008/09/12/team-build-and-clickonce.aspx

Regards,
Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Friday, September 04, 2009 8:40 AM
thanx aland,
now it reinstall the VS 2008 and it starts working..and yes i already checked the file setup.bin at its location..and it was present there.
i coudn't get where was the problem..but reinstalling the visual studio helps me out from this problem..

Thanx all..
  • Marked As Answer byDmehra Friday, September 04, 2009 9:31 AM
  •  
Dmehra  Friday, September 04, 2009 9:31 AM

You can use google to search for other answers

Custom Search

More Threads

• MSI not creating GAC trace references
• copyright
• URGENT: Install from CD and update from Internet
• Cannot Create a Top-level child window - Component Sql Server 2005 express has failed - Clickonce deployment
• Conditional property in Windows Installer
• Internet zone
• Setup and Deployment project visuals in 2005.
• Install MSI on Non-Admin Cleint computers?
• ClickOnce Sqlserver express prerequisite failure, even though I have file
• Error during installation