You are here

Create an .NET portable application

12 posts / 0 new
Last post
orobin
Offline
Last seen: 16 years 3 months ago
Joined: 2008-03-26 11:46
Create an .NET portable application

Hello,

I am curently looking in this forum some information, on how I can do to make my .net winform application in portable format :

I need to embbed the framework an my application.
I have studied the legal problem, and because the .net framework is free distribution, I can embbed it with my application.

now, I need some help.

How can I do it, how can I start.
is there any tool which help to create portable app ?
I have tested App creator, but it doesn't work on my omputer.

is there any tutorial, or what else ?

many thank you for any help, link, idea.

best regards,
Olivier

John Bentley
John Bentley's picture
Offline
Last seen: 14 years 11 months ago
Developer
Joined: 2006-01-24 13:26
Buy Remotesoft's "Salamander

Buy Remotesoft's "Salamander .NET Native Compiler." That is pretty much the cheapest way to do that. (about $1000) Not very practical.

cowsay Moo
cowthink 'Dude, why are you staring at me.'

digitxp
digitxp's picture
Offline
Last seen: 12 years 10 months ago
Joined: 2007-11-03 18:33
Wrong Idea

.NET is free redistribution, but modifying is not allowed. I mean modifiying as putting it in your installation, putting it in a zip file instead of an installer, and so on. .NET is just impossible to portableize. Sorry :(.

Insert original signature here with Greasemonkey Script.

BrianAll
Offline
Last seen: 6 years 3 weeks ago
Joined: 2008-02-13 13:44
yeah...

there is no way to make .Net portable. However, it is becoming less of a problem, as more and more windows computers have it nowadays (though most .NET apps I have seen are not open source... no wonder).

OliverK
OliverK's picture
Offline
Last seen: 3 years 3 weeks ago
Developer
Joined: 2007-03-27 15:21
I was under the assumption

I was under the assumption their was a .net portable. But I never got a link, so I guess it wasn't legal.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

m2
Offline
Last seen: 13 years 5 months ago
Joined: 2006-12-12 12:00
It's becoming more of a

It's becoming more of a problem, because writing .NET apps gets more and more popular.

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

LOGAN-Portable
LOGAN-Portable's picture
Offline
Last seen: 11 years 5 months ago
Developer
Joined: 2007-09-11 12:24
Becomes a bigger problem as

Becomes a bigger problem as already there is a .NET that is not supported by all Windows. Seems to me a trick to have random developers who use .NET to (unknowingly) help Microsoft to force all end users to upgrade to the latest version of Windows.

BrianAll
Offline
Last seen: 6 years 3 weeks ago
Joined: 2008-02-13 13:44
yeah

You're right about Microsoft trying to force people to upgrade windows. I myself plan to bypass Vista completely and stick with XP. Yeah, .NET has a crapload of restrictions on it. What I meant by saying that it is becoming less of a problem is that it's easier to make an .NET app portable and be able to know it will run on a PC you may use, because most windows PCs have .NET installed.

LOGAN-Portable
LOGAN-Portable's picture
Offline
Last seen: 11 years 5 months ago
Developer
Joined: 2007-09-11 12:24
You miss my point My

You miss my point Smile
My windows is not able to run the latest /NET because its just not available for it!

So it becomes more of a problem as time goes on.

orobin
Offline
Last seen: 16 years 3 months ago
Joined: 2008-03-26 11:46
Hello, I know it is

Hello,

I know it is possible, thinstall do it, but it cost 5000 dollard, and I don't know about the royalties.
but I have tested it, it works, and it is easy to use.

I have try to follow a tutorial explaining how to do a portable application.
I used Totla unintall, in order to list all the file which are added to my system, and all modifications made in the registry.

it works well.
I obtain a list with all my files, all the files installed by the framework installer, and all the registry modification.

now, I don't know where to put theses information in the Application template file, for nsis.
I didn't found any complete tutorial exaplining how nsis works.

I am blocked.

if anyone have any idea to help me, I would be so happy.

best regards,
Olivier

saber
Offline
Last seen: 16 years 3 months ago
Joined: 2007-11-01 07:12
Portable .NET framework

I don't know if this project is legal but there is a portable .net project on sourceforge: http://sourceforge.net/projects/portabledotnet .

m2
Offline
Last seen: 13 years 5 months ago
Joined: 2006-12-12 12:00
Virus

Don't execute it.
It's said to be a virus: http://sourceforge.net/forum/forum.php?thread_id=1887370&forum_id=756041
The report is newer than the latest release.
I didn't check it myself (yet).
EDIT:
They don't provide any sources.
EDIT2:
I scanned the file with AVZ and ClamWin, neither found a virus. But it's no wonder since the program is Thinstalled and no AV I know finds Thinstalled viruses Pardon

I tried to do some behavioural analysis, but there aren't too many tools that work on NT4 on my VM. I found nothing, but I still would avoid it. The author didn't deny that there's a virus...

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

Log in or register to post comments