You are here

.NET Availability and Viability With Portable Apps

18 posts / 0 new
Last post
John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 48 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
.NET Availability and Viability With Portable Apps

I've written an analysis on the viability of .NET-based software as portable apps. It analyzes the compatibility issues between different versions of the framework and which operating systems it's bundled with. It also includes a handy chart so you can easily see what .NET versions to appear where.
http://johnhaller.com/jh/useful_stuff/dotnet_portable_apps/

The short answer is: .NET apps can definitely not be considered portable in a general sense as your chance of encountering a PC in the wild with .NET installed on it is pretty low. Your experience as an individual will vary greatly, of course, but, for general users, .NET apps can simply not be considered portable apps.

UPDATE (August 23): I added in a screenshot to the article of Windows Update running from a fully patched Windows XP SP2 machine to demonstrate how .NET shows up.

Tim Clark
Tim Clark's picture
Offline
Last seen: 13 years 1 month ago
Joined: 2006-06-18 13:55
XPS2?

John,

Your page indicates that .Net does not come with WindowsXP SP2,
yet the site you link to:

http://en.wikipedia.org/wiki/.NET_Framework

indicates that it does come with XPSP2,

"It is included with Windows XP SP2, Windows Server 2003 and Windows Vista, and can be installed ..."

and

".NET Framework 1.1

This is the first major .NET Framework upgrade. It is available on its own as a redistributable package or in a software development kit, ... This is the first version of the .NET Framework to be included as part of the Windows operating system..."

I have .Net 1.1 on my home machine which came with SP2 pre-installed.
I'm pretty sure I never installed it [.Net] myself due to the size and lack of need.

My machine at work was upgraded to SP2 from SP1 and does not have .Net
Perhaps Machines that have SP2 pre-installed do have it, but not those that upgraded.

Tim
(\__/)(='.'=)(}>

Things have got to get better, they can't get worse, or can they?

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 48 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
SP2

I know that Microsoft was originally going to include it with the SP2 update but ended up not doing so (probably under pressure from enterprise users). It's actually included on the SP2 CD under a folder called DOTNETFX.

I don't think it's included with a pre-built SP2 disc, but I can check later.

Sometimes, the impossible can become possible, if you're awesome!

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 48 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not in SP2

I just did a fresh install of Windows XP SP2 (not upgraded) and it does not install .NET Framework. It does include some .NET on the DVD within: \cmpnents\netfx\i386\netfx.cab. I assume this is the .NET patch files in case it was already installed and the user was performing an upgrade with this DVD.

So, it's been verified that .NET is *NOT* included with Windows XP SP2 (upgrade or fresh install) and I've updated the Wikipedia page to that effect.

Sometimes, the impossible can become possible, if you're awesome!

m2
Offline
Last seen: 13 years 3 months ago
Joined: 2006-12-12 12:00
Confirmed.

Confirmed.

"Those people who think they know everything are a great annoyance to those of us who do." Asimov

Patrick Patience
Offline
Last seen: 4 years 4 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Just curious...

You said a while back to some "Portable Mono, that's a different story". If some .NET applications are compatible with Mono, could it ever be made portable? Have you ever looked into it?

______________________
Signature...What Signature?

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 48 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Too Early / Patent Bomb

It's way too early in Mono's cycle to even consider it (have you looked at it?). Just check out the screenshots for an idea of how early it is with things like Paint.net. So, basically, there's no reason to even consider it yet.

Besides that, there's the patent bomb (wikipedia link) that's part of the .NET framework. Microsoft has several patents on it. The ones covering the core... the only part that's a 'standard'... are made available royalty free. But the patents on Windows.Forms, ASP.NET, ADO.NET, etc are NOT available and those parts of .NET are not standardized (they're proprietary). So, sooner or later, Microsoft will drop a patent bomb on it. Novell will still be able to distribute Mono as a closed source, proprietary product, though, as they're forcing all contributors to assign copyright to them for all Mono bits.

Sometimes, the impossible can become possible, if you're awesome!

Patrick Patience
Offline
Last seen: 4 years 4 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Oh.

I see. Interesting thing there with the patents.
______________________
Signature...What Signature?

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 7 months ago
Joined: 2006-01-06 21:27
.

Cool. Great article, but the site is a bit lame Blum
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.

"If you're not part of the solution, you're part of the precipitate."

Simeon
Simeon's picture
Offline
Last seen: 9 years 7 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
I think

he already knows that Smile
“I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong.” - Richard P. Feynman

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 7 months ago
Joined: 2006-01-06 21:27
.

Note the Blum Wink
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.

"If you're not part of the solution, you're part of the precipitate."

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 48 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Added a Windows Update Screenshot

For the curious (or the disbelievers) I added in a screenshot of Windows Update for a fully-patched Windows XP SP2 machine to show how .NET is presented:
http://johnhaller.com/jh/useful_stuff/dotnet_portable_apps/dotnet_on_win...

Sometimes, the impossible can become possible, if you're awesome!

jps
Offline
Last seen: 15 years 2 months ago
Joined: 2007-06-09 13:23
Very interesting

Very interesting article.

About Mono...
http://en.wikipedia.org/wiki/Mono_(software)#Software_developed_with_Mono
I think it`s already not bad. Not worth to make portable?

@John:
"Plus, it is a closed source, commercial product, so, legally, we couldn't do it, anyway. So, we're left with just analyzing what PCs already have it and what PCs can have it added."

Well, you could work around that if you just tell the user to install different versions of .net locally. After that your program will copy the necessary files to the portable device.

On that way the only further problem would be "NET is heavily tied to the Windows operating system". It this really impossible to solve?

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 48 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Yes and No

It uses Windows components that require admin rights to add in. There's no way around that.

And mono only supports .NET 1.1. Most Windows .NET apps are now done in 2.0 and would require conversion to work with Mono. And Mono is going to fall victim to the Microsoft patent bomb in Windows Forms if it gets popular enough, so I certainly wouldn't risk developing anything important in it.

Sometimes, the impossible can become possible, if you're awesome!

hm2k
Offline
Last seen: 13 years 3 months ago
Joined: 2008-08-28 17:03
I noticed there's no place

I noticed there's no place for comments on your article itself, so I decided to post here.

I don't understand enough about this as of yet, but what about Portable.NET?

http://en.wikipedia.org/wiki/Portable.NET
http://www.gnu.org/software/dotgnu/

Surly if .NET can be made portable to other operating systems, it can be then ported back to windows thus allowing it to be portable. The logic is there.

hm2k
Offline
Last seen: 13 years 3 months ago
Joined: 2008-08-28 17:03
Also in the news today,

Also in the news today, Mono!

http://tech.slashdot.org/article.pl?sid=08/10/07/0051238
http://en.wikipedia.org/wiki/Mono_(software)
http://www.mono-project.com/Main_Page

The Mono project has many of the same goals as the Portable.NET project.

Note: Mono v2.0 was released 2 days ago, your article was written over a year ago, perhaps there's a chance it may just be crazy enough to work now...

dark_yux
Offline
Last seen: 10 years 3 months ago
Joined: 2007-10-23 11:23
The conversation has been had at the Mono Forums

self.path = path if self.path == None else self.path

hm2k
Offline
Last seen: 13 years 3 months ago
Joined: 2008-08-28 17:03
...so it can be done

Based on the link provided.

1. Mono can be shrunk down to around 18mb uncompressed, which could even be shared between applications.

2. I'm pretty sure Mono's license is GPL, meaning you have permission to distribute.

At first, I thought you were saying it is not possible, but now I seem to think you're saying it can be done.

Log in or register to post comments