<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" media="screen" href="/App_Themes/default/rss.xslt"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:evnet="http://www.mscommunities.com/rssmodule/"><channel><title>Comment Feed for .NET Stubs (TechOff on Channel 9)</title><atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/forums/techoff/476073-net-stubs/rss/default.aspx" /><image><url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url><title>Comment Feed for .NET Stubs (TechOff on Channel 9)</title><link>http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/</link></image><description>.NET Stubs</description><link>http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/</link><language>en-us</language><pubDate>Wed, 01 Jul 2009 19:11:48 GMT</pubDate><lastBuildDate>Wed, 01 Jul 2009 19:11:48 GMT</lastBuildDate><generator>EvNet (EvNet, Version=1.0.3608.3122, Culture=neutral, PublicKeyToken=null)</generator><item><title>Re: Re: .NET Stubs</title><description>&lt;p&gt;"interesting, so the loader will have to check for a .NET installation then if one exists&amp;nbsp;load the&amp;nbsp;CLR, if not show a custom warning or do something else, interesting idea, aren't there some limitations to the stub size or something? Or you can just create a whole native app and just embed somehow the managed code/il"&lt;/p&gt;
&lt;p&gt;In VS, you create a setup project that installs your managed app.&amp;nbsp; Basically, you are creating an .msi that windows installer can install and will check for and install the framework.&amp;nbsp; So that part is done for you already for the most part.&amp;nbsp; You could create your own loader, but not sure why unless the Setup project did not cover all your bases.&amp;nbsp; IIRC, if you create your project as a ClickOnce app, then you get framework dependency installed also.&amp;nbsp; Another reason you always will have to worry about this (and should create a setup package)&amp;nbsp;is because many times you are targeting newer versions of the framework (i.e. 3.5, 4.0, etc) so older versions already on the system will not help anyway, so you should probably always assume your fx is not installed.&amp;nbsp; Then you always have a nice unit of deployment.&lt;/p&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/?CommentID=476565</link><pubDate>Wed, 01 Jul 2009 19:11:48 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/?CommentID=476565</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/476565/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>"interesting, so the loader will have to check for a .NET installation then if one exists&amp;nbsp;load the&amp;nbsp;CLR, if not show a custom warning or do something else, interesting idea, aren't there some limitations to the stub size or something? Or you can just create a whole native app and just embed&amp;#8230;</evnet:previewtext><dc:creator>William Stacey</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/476565/Trackback.aspx</trackback:ping></item><item><title>Re: Re: Re: Re: Re: .NET Stubs</title><description>&lt;p&gt;that would be rather silly....&lt;/p&gt;
&lt;p&gt;then the installer would need an installer to install the pre-req for the installer.....&lt;/p&gt;
&lt;p&gt;DUH what?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;any commercial installers i have seen are native apps with zero or very few deps for that very reason.&lt;/p&gt;
&lt;p&gt;so they can update almost anything on the target system, and can run on a bare target pc.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/?CommentID=476538</link><pubDate>Wed, 01 Jul 2009 16:42:12 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/?CommentID=476538</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/476538/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>that would be rather silly....
then the installer would need an installer to install the pre-req for the installer.....
DUH what?&amp;nbsp;
any commercial installers i have seen are native apps with zero or very few deps for that very reason.
so they can update almost anything on the target system, and&amp;#8230;</evnet:previewtext><dc:creator>figuerres</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/476538/Trackback.aspx</trackback:ping></item><item><title>Re: Re: Re: Re: Re: .NET Stubs</title><description>&lt;p&gt;True, but all the cool kids use Windows Installer and everyone who doesn't deserves to suffer.&lt;/p&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/?CommentID=476528</link><pubDate>Wed, 01 Jul 2009 14:49:07 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/?CommentID=476528</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/476528/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>True, but all the cool kids use Windows Installer and everyone who doesn't deserves to suffer.</evnet:previewtext><dc:creator>AndyC</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/476528/Trackback.aspx</trackback:ping></item><item><title>Re: Re: Re: Re: .NET Stubs</title><description>&lt;p&gt;You forgot the scenario where the installer program itself is managed code ;)&lt;/p&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/?CommentID=476500</link><pubDate>Wed, 01 Jul 2009 12:51:29 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/?CommentID=476500</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/476500/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>You forgot the scenario where the installer program itself is managed code ;)</evnet:previewtext><dc:creator>W3bbo</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/476500/Trackback.aspx</trackback:ping></item><item><title>Re: Re: Re: .NET Stubs</title><description>&lt;p&gt;why?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the thing called an install program perhaps?&lt;/p&gt;
&lt;p&gt;all retail / large apps have an installer that checks the pre-req's and install them if missing.&lt;/p&gt;
&lt;p&gt;and if each .net app had to have more stubb code then a lot of folks would complain and look for a way to remove it...&lt;/p&gt;
&lt;p&gt;the "xcopy deployment" of .net apps was always "once .net is installed then you can just xcopy files and run them"&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/?CommentID=476488</link><pubDate>Wed, 01 Jul 2009 12:17:14 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/?CommentID=476488</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/476488/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>why?&amp;nbsp;
the thing called an install program perhaps?
all retail / large apps have an installer that checks the pre-req's and install them if missing.
and if each .net app had to have more stubb code then a lot of folks would complain and look for a way to remove it...
the "xcopy deployment" of&amp;#8230;</evnet:previewtext><dc:creator>figuerres</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/476488/Trackback.aspx</trackback:ping></item><item><title>Re: Re: .NET Stubs</title><description>&lt;p&gt;I'm not too bothered about how it works, I'm just surprised Microsoft let the CLR specification go by in such a way that if the .NET Framework isn't installed the users just get a nondescript error message about the program failing to initialise.&lt;/p&gt;
&lt;p&gt;Of course with the CLR now included in Windows since Vista it is kind of moot, but it would have been of great use from 2002 through 2007.&lt;/p&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/?CommentID=476467</link><pubDate>Wed, 01 Jul 2009 11:07:02 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/?CommentID=476467</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/476467/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I'm not too bothered about how it works, I'm just surprised Microsoft let the CLR specification go by in such a way that if the .NET Framework isn't installed the users just get a nondescript error message about the program failing to initialise.
Of course with the CLR now included in Windows since&amp;#8230;</evnet:previewtext><dc:creator>W3bbo</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/476467/Trackback.aspx</trackback:ping></item><item><title>Re: .NET Stubs</title><description>&lt;p&gt;interesting, so the loader will have to check for a .NET installation then if one exists&amp;nbsp;load the&amp;nbsp;CLR, if not show a custom warning or do something else, interesting idea, aren't there some limitations to the stub size or something? Or you can just create a whole native app and just embed somehow the managed code/il&lt;/p&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/?CommentID=476443</link><pubDate>Wed, 01 Jul 2009 06:42:08 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/?CommentID=476443</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/476443/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>interesting, so the loader will have to check for a .NET installation then if one exists&amp;nbsp;load the&amp;nbsp;CLR, if not show a custom warning or do something else, interesting idea, aren't there some limitations to the stub size or something? Or you can just create a whole native app and just embed somehow the managed code/il</evnet:previewtext><dc:creator>Ion Todirel</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/476443/Trackback.aspx</trackback:ping></item><item><title>Re: .NET Stubs</title><description>&lt;p&gt;why not just have 2 .exe files&lt;/p&gt;
&lt;p&gt;1 pure native - does a splash dialog and the checking&lt;/p&gt;
&lt;p&gt;1 .net that is the app.&lt;/p&gt;
&lt;p&gt;native app has the name users see , .net has other name like main.exe&lt;/p&gt;
&lt;p&gt;that also allows loading updaters and other stuff based on startup conditions.&lt;/p&gt;
&lt;p&gt;and leaves the standard .net exe in a default format.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/?CommentID=476110</link><pubDate>Mon, 29 Jun 2009 21:23:34 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/?CommentID=476110</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/476110/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>why not just have 2 .exe files
1 pure native - does a splash dialog and the checking
1 .net that is the app.
native app has the name users see , .net has other name like main.exe
that also allows loading updaters and other stuff based on startup conditions.
and leaves the standard .net exe in a default format.
&amp;nbsp;</evnet:previewtext><dc:creator>figuerres</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/476110/Trackback.aspx</trackback:ping></item><item><title>Re: .NET Stubs</title><description>&lt;p&gt;Not sure I understand.&amp;nbsp; A Setup package will do this as a dependency.&amp;nbsp; Also a Click-Once app will do this for you (as well as other dependencies such as sql express, 3.5sp1, etc).&amp;nbsp; You could also write something like NetCheck pretty easy as a native wrapper that starts your .net exe or opens URI to the framework if not installed (maybe about 10 lines of code I think).&lt;/p&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/?CommentID=476089</link><pubDate>Mon, 29 Jun 2009 20:13:31 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/476073-NET-Stubs/?CommentID=476089</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/476089/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Not sure I understand.&amp;nbsp; A Setup package will do this as a dependency.&amp;nbsp; Also a Click-Once app will do this for you (as well as other dependencies such as sql express, 3.5sp1, etc).&amp;nbsp; You could also write something like NetCheck pretty easy as a native wrapper that starts your .net exe&amp;#8230;</evnet:previewtext><dc:creator>William Stacey</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/476089/Trackback.aspx</trackback:ping></item></channel></rss>