MSFN Forum: any one tells me how to make portables using Delphi? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

any one tells me how to make portables using Delphi? Rate Topic: -----

#1 User is offline   ashraf21c 

  • Junior
  • Pip
  • Group: Members
  • Posts: 77
  • Joined: 02-October 07

Posted 20 January 2008 - 09:00 AM

any one tells me how to make portables using Delphi??
and do I have to use Delphi8 not7?


#2 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,118
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 20 January 2008 - 09:46 AM

This type of generic question will not be answered here, please revise the question with specifics or I'll remove this topic.

#3 User is offline   ashraf21c 

  • Junior
  • Pip
  • Group: Members
  • Posts: 77
  • Joined: 02-October 07

Posted 21 January 2008 - 10:04 AM

I want to make a portable program..and it is said that Delphi and C# are the best for this...how to turn a program into a portable one using one of these??

This post has been edited by ashraf21c: 21 January 2008 - 10:06 AM


#4 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 8,792
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 21 January 2008 - 10:43 AM

ashraf,
maybe there are some problems (language barrier) while communicating.

You can use (at your choice) C, C++, C# Delphi or whatever other compiler to create a portable app.

ANY compiled app is "portable" UNLESS it writes info on hardcoded places OR uses the Registry without being "self-registering" AND as long as it is distributed with (if needed) "peculiar" or "custom written" .DLL's.

Of course using only "base" .DLL's or however ony those included by default in the intended target OS avoids harassing the final user (that needs to get the runtimes) and reduces size of the setup, a typical (negative in my opinion) example are these nifty small apps that need .NET installed.

The big question is then:
Can you write a program?
If the answer is yes, than you already know how to write your app in such a manner that it can be "portable".
If the answer is no, then you need to learn how to write a program, and by the time you will be able to do that you will also get to know how to make it portable.

If, on the other hand, you need to make portable an existing app, simply check the portableapps site, you will find that a large number of the "converted" apps simply use the NSIS installer to install the app and uninstall it "on the fly":
http://portableapps.com/

jaclaz

#5 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,118
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 21 January 2008 - 10:54 AM

Please read the reply given by jaclaz and treat it as a birthday present, it is an extremely helpful piece of information which from your posts thus far is not warranted.

Topic closed!

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy