If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: Including the .NET Framework on the Applications CD

Use the Visual Studio installer, which adds a bootstrapper to it.
So if someone wants to install your .NET application, the framework will be installed before, if not available.

In the VS setup you can either choose to install from the internet, or to add the approx. 20 MB redist to your installation.

If you cannot use the Visual Studio Setup for any reason, your only chance is to have a native setup.exe, which checks
for the installed frameworks before (Google for sources) and then either install the files directly, or by starting another .net Setup.

Re: Including the .NET Framework on the Applications CD

MNovy, I did not realise that the Installer gave you the option of including the redist. I'll check it out. Ideally, I do NOT want to install my App (just run of CD), but the goal posts are moving at the moment, so most likely I'll be installing my App and incorporating the redist (now I know that is an option).
Thank you.

Re: Including the .NET Framework on the Applications CD

I would throw in my $0.02 here and just mention that, unless there is some important reason to not have an installer for you program, you should just make one. I say that because, as you know, .NET applications have major dependencies. It is going to be very difficult to ensure that you are in a proper environment when your program is run should you go the stand alone executable route.

remeber to give feedback you think my response deserves recognition? perhaps you may want to click the Rate this post link/button and add to my reputation

private lessons are not an option so please don't ask for help in private, I won't replay

if you use Opera and you'd like to have the tab-button functionality for the texteditor take a look at my Opera Tab-UserScirpt; and if you know how to stop firefox from jumping to the next control when you hit tab let me know

Re: Including the .NET Framework on the Applications CD

Originally Posted by memeloo

installers are evil

please don't do it. people will thank you for that

portable apps are cool.

Can you expand on that a bit? Is it still "cool" when the application fails to initialize and provides the user with some cryptic error message? An installer can detect the version of .NET installed on the computer and upgrade it if needed. This is an accepted practice, it is not "evil". You cannot do that with a stand alone executable. It would be great, I agree, but we have to live in reality.

Re: Including the .NET Framework on the Applications CD

if this is an accepted practice, why are there still more and more portable apps, without installers? if it's possible I always download the portable version. just extract and use it and most of the time there is no problem with programm settings unlike in the "normal" version. I hope one day there will be no installers. and if so, then only simple setups but all apps will be portable. ms office, visual studio, maya etc. one folder one app, no crazy wxs multigigabyte folders. it's so annoying having to install all this ****** after format c:

remeber to give feedback you think my response deserves recognition? perhaps you may want to click the Rate this post link/button and add to my reputation

private lessons are not an option so please don't ask for help in private, I won't replay

if you use Opera and you'd like to have the tab-button functionality for the texteditor take a look at my Opera Tab-UserScirpt; and if you know how to stop firefox from jumping to the next control when you hit tab let me know

Re: Including the .NET Framework on the Applications CD

I sort of look at things the other way and think, if anything, apps without installers are evil.

As time passes, and the need for security becomes even more important, the days where you can copy a couple of files onto your computer to 'install' an app will be less likely. My opinion is that in the future OS's will force all apps to go through installer before allowing them to run.

Re: Including the .NET Framework on the Applications CD

I've been investigating the option of including .NET Framework 3.5SP1 on the CD with my application.

On VS2010Beta2 (but don't think it matters), there is an option it "Download prerequisites from the same location as my application". I assume I need that option. But then, what do I include in the same location as my application? If I download .net 3.5SP1 it downloads a 2.82MB dotnetfx35setup.exe file. I'm pretty sure that exe is not enough, infact I believe that exe just initiates the main download which is the bit I want to avoid.

Has anyone done this before and could point me in the right direction?

Re: Including the .NET Framework on the Applications CD

Originally Posted by rliq

On VS2010Beta2 (but don't think it matters), there is an option it "Download prerequisites from the same location as my application". I assume I need that option. But then, what do I include in the same location as my application?

I'd guess that this option is for downloading the app and dependencies from a remote location. Why not try a few settings yourself and see what works? I'd pick the option that includes the exe, its dependencies and the .net framework on the cd.

Re: Including the .NET Framework on the Applications CD

As my App only requires .NET 2.0, I have included the .NET 2.0 runtime with my App.

It seems if you download the .NET 2.0 runtime, you get the whole thing, not just a stub that does the download (like in the case of .NET 3.5).

So now, I install my App. If it prompts me to download .NET 2.0, I say NO. I then install .NET 2.0 (previously downloaded and packaged with my App), then install my App. All of this without being connected to the Internet.

This all works fine. Not sure how this would be done for a .NET 3.5 App though as the install of .NET 3.5 runtime 'seems' to need Internet access.

* The Perfect Platform for Game Developers: Android
Developing rich, high performance Android games from the ground up is a daunting task. Intel has provided Android developers with a number of tools that can be leveraged by Android game developers.

* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.