ClickOnce bootstrapper files without installing Visual Studio?Hello,<br><br>I also asked this question here: http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4065767&amp;SiteID=1<br><br>On a build server I want to deploy and publish a ClickOnce application. On the build server I want to prevent having Visual Studio installed.<br><br>I installed the<span id="_ctl0_MainContent_PostFlatView"><span> 6.1 SDK on the server, but there exists no bootstrapper files in C:\Program Files\Microsoft SDKs\Windows\v6.1.</span></span> This causes my ClickOnce build to fail.<br><br>Thanks in advance.<br> © 2009 Microsoft Corporation. All rights reserved.Thu, 14 May 2009 21:14:25 Z7672078f-f2bd-4142-b8a9-740c2a8a5ae7http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/7672078f-f2bd-4142-b8a9-740c2a8a5ae7#7672078f-f2bd-4142-b8a9-740c2a8a5ae7http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/7672078f-f2bd-4142-b8a9-740c2a8a5ae7#7672078f-f2bd-4142-b8a9-740c2a8a5ae7kaffekophttp://social.msdn.microsoft.com/Profile/en-US/?user=kaffekopClickOnce bootstrapper files without installing Visual Studio?Hello,<br><br>I also asked this question here: http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4065767&amp;SiteID=1<br><br>On a build server I want to deploy and publish a ClickOnce application. On the build server I want to prevent having Visual Studio installed.<br><br>I installed the<span id="_ctl0_MainContent_PostFlatView"><span> 6.1 SDK on the server, but there exists no bootstrapper files in C:\Program Files\Microsoft SDKs\Windows\v6.1.</span></span> This causes my ClickOnce build to fail.<br><br>Thanks in advance.<br> Fri, 31 Oct 2008 16:40:47 Z2008-10-31T16:40:47Zhttp://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/7672078f-f2bd-4142-b8a9-740c2a8a5ae7#13a62623-d979-40e3-bd8e-a505ac46b0cbhttp://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/7672078f-f2bd-4142-b8a9-740c2a8a5ae7#13a62623-d979-40e3-bd8e-a505ac46b0cbmarc_gsihttp://social.msdn.microsoft.com/Profile/en-US/?user=marc_gsiClickOnce bootstrapper files without installing Visual Studio?Windows SDK? I think you'll need the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=fe6f2099-b7b4-4f47-a244-c96d69c35dec&amp;displaylang=en">.net SDK</a>, at least version 2.0. Or is it included in the Windows SDK? <hr size="1" align="left" width="25%">http://blogoscoped.com/archive/2005-08-24-n14.htmlMon, 03 Nov 2008 07:49:20 Z2008-11-03T07:49:20Zhttp://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/7672078f-f2bd-4142-b8a9-740c2a8a5ae7#b07fc599-236e-4c06-90ff-2f0212c0788chttp://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/7672078f-f2bd-4142-b8a9-740c2a8a5ae7#b07fc599-236e-4c06-90ff-2f0212c0788ckaffekophttp://social.msdn.microsoft.com/Profile/en-US/?user=kaffekopClickOnce bootstrapper files without installing Visual Studio?I have both .NET SDK and Windows SDK installed.  Mon, 03 Nov 2008 07:51:50 Z2008-11-03T07:51:50Zhttp://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/7672078f-f2bd-4142-b8a9-740c2a8a5ae7#81e90bc9-8d9c-41a5-ae66-e18cbd090ae2http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/7672078f-f2bd-4142-b8a9-740c2a8a5ae7#81e90bc9-8d9c-41a5-ae66-e18cbd090ae2Rong-Chun Zhanghttp://social.msdn.microsoft.com/Profile/en-US/?user=Rong-Chun%20ZhangClickOnce bootstrapper files without installing Visual Studio?<br> Hi,<br> <br> For Visual Studio 2008, the prerequisites package is stored in the following location:<br><br> <pre id="ctl00_rs1_mainContentContainer_ctl10other" class=libCScode> \Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages</pre> <br> You can try to copy these file from the another computer which has Visual Studio 2008 installed, and put them to the same location on build server. More information, please check:<br><br><a href="http://msdn.microsoft.com/en-us/library/ms165429.aspx">http://msdn.microsoft.com/en-us/library/ms165429.aspx</a><br><br>Let me know if this works.<br><br>Thanks,<br>Rong-Chun Zhang<br><br> <hr size="1" align="left" width="25%">Please mark the replies as answers if they help and unmark if they don't.Wed, 05 Nov 2008 10:07:12 Z2008-11-05T10:07:12Zhttp://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/7672078f-f2bd-4142-b8a9-740c2a8a5ae7#cfe136f4-36b5-47ef-8191-8ce3fb917923http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/7672078f-f2bd-4142-b8a9-740c2a8a5ae7#cfe136f4-36b5-47ef-8191-8ce3fb917923kaffekophttp://social.msdn.microsoft.com/Profile/en-US/?user=kaffekopClickOnce bootstrapper files without installing Visual Studio?Hello,<br><br>Copying the files to the build server did not work. I am still getting (the same) errors from bootstrapping.<br><br> Tue, 11 Nov 2008 14:42:42 Z2008-11-11T14:42:42Zhttp://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/7672078f-f2bd-4142-b8a9-740c2a8a5ae7#8fbccc1a-d75c-4acf-9f17-b2ba0d73e316http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/7672078f-f2bd-4142-b8a9-740c2a8a5ae7#8fbccc1a-d75c-4acf-9f17-b2ba0d73e316Rong-Chun Zhanghttp://social.msdn.microsoft.com/Profile/en-US/?user=Rong-Chun%20ZhangClickOnce bootstrapper files without installing Visual Studio?<br>Hi,<br><br>Sorry for that doesn't work. The _DeploymentGenerateBootstrapper target use the task <a href="http://msdn.microsoft.com/en-us/library/ms164294.aspx">GenerateBootstrapper </a>to generate a custom Setup.exe that can download and install the package that you choose as the prerequisite. The path attribute of the task GenerateBootstrapper indicates that where to find the bootstrapper packages. By default, if you didn't set the value, GenerateBootstrapper task will get value from the following registry (for .NET 3.5, more information, please see <a href="http://msdn.microsoft.com/en-us/library/ms165429.aspx">this page</a>).<br><br>     HKLM\Software\Microsoft\GenericBootstrapper\3.5<br><br>Please check if you have add the following registry<br><br>     Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\GenericBootstrapper\3.5<br><br>     Value 0<br>      Name:            Path<br>      Type:            REG_SZ<br>      Data:            c:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\<br><br>Another workaround is that you can specify the Path attribute by overriding the _DeploymentGenerateBootstrapper target or write your own target to use the GenerateBootstrapper use to generator the bootstrapper. Here is a sample for overiding predefined target.<br><br><a href="http://blogs.msdn.com/msbuild/archive/2006/02/10/528822.aspx">http://blogs.msdn.com/msbuild/archive/2006/02/10/528822.aspx</a><br><br>Let me know if this helps.<br><br>Thanks,<br>Rong-Chun Zhang<br><br><hr size="1" align="left" width="25%">Please mark the replies as answers if they help and unmark if they don't.Wed, 12 Nov 2008 06:20:56 Z2008-11-12T06:20:56Zhttp://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/7672078f-f2bd-4142-b8a9-740c2a8a5ae7#3ab83d24-be99-4900-b9c7-ea906fe7f3c0http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/7672078f-f2bd-4142-b8a9-740c2a8a5ae7#3ab83d24-be99-4900-b9c7-ea906fe7f3c0kaffekophttp://social.msdn.microsoft.com/Profile/en-US/?user=kaffekopClickOnce bootstrapper files without installing Visual Studio?Thanks. Adding the registry key made it work. Fri, 14 Nov 2008 08:03:28 Z2008-11-14T08:03:28Zhttp://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/7672078f-f2bd-4142-b8a9-740c2a8a5ae7#0a00ecb2-90b3-47a8-a767-b181b653cba2http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/7672078f-f2bd-4142-b8a9-740c2a8a5ae7#0a00ecb2-90b3-47a8-a767-b181b653cba2Dan Morrishttp://social.msdn.microsoft.com/Profile/en-US/?user=Dan%20MorrisClickOnce bootstrapper files without installing Visual Studio?BTW, I had the same problem, and for me the issue was that somehow the Windows SDK had been _partially_ installed on one drive, but Visual Studio was looking on a different drive.  Re-installing the SDK didn't help, because I _did_ have the SDK installed.  So I just moved the entire contents of:<br/> <br/> C:\Program Files\Microsoft SDKs\Windows<br/> <br/> ...to:<br/> <br/> D:\Program Files\Microsoft SDKs\Windows<br/> <br/> And everything worked fine.<br/> <br/> Moral of the story: check for traces of multiple SDK installations if you're having this problem.<br/> <br/> -Dan<br/>Thu, 14 May 2009 21:14:25 Z2009-05-14T21:14:25Z