DWk Posted March 11, 2007 Share Posted March 11, 2007 I'm trying to create a portable app. What's the procedure and tools I need for this? Any links for tutorials or guides? Thanks :) Link to comment https://www.neowin.net/forum/topic/545406-how-to-create-portable-apps/ Share on other sites More sharing options...
0 Guest Jeremy of Many Posted March 11, 2007 Share Posted March 11, 2007 Not all applications can be made portable. If they install Services or use the registry then that makes the task harder. If they are designed to run standalone and store their settings in an .XML file then you're job is done for you. PortableApps Link to comment https://www.neowin.net/forum/topic/545406-how-to-create-portable-apps/#findComment-588387587 Share on other sites More sharing options...
0 Andos Posted March 11, 2007 Share Posted March 11, 2007 I think he means portable to other platforms like Windows, Linux and Mac. Well Windows/Linux portable applications can be easy to write in C++ for example. A good way to do it is to make an abstraction layer between your application and the platform. So if your application wants to display a popup dialog then write a method that your application uses. You can then with preprocessor scripting choose which file to include when the file is compiled. If you set a flag like FORWINDOWS it will include the file that contains your method that invokes the Windows API for the dialog box or otherwise it would include the file with the method that contains the Linux stuff. That way you can compile for both platforms without touching your code. Link to comment https://www.neowin.net/forum/topic/545406-how-to-create-portable-apps/#findComment-588387598 Share on other sites More sharing options...
0 DWk Posted March 11, 2007 Author Share Posted March 11, 2007 Great info! Well, I'll be a little more specific, which is probably what I need to get the correct information. I'm trying this for the first time and my project will be Windows Live Messenger. I don't want a single exe (that's the easy part, but it would be nice for the functionality), but at least that I'm able to make it portable. Thanks Link to comment https://www.neowin.net/forum/topic/545406-how-to-create-portable-apps/#findComment-588387650 Share on other sites More sharing options...
0 Copernic Reporter Posted March 11, 2007 Reporter Share Posted March 11, 2007 PackageFactory - free to use for non-commercial purposes. http://www.eure.ca/ Link to comment https://www.neowin.net/forum/topic/545406-how-to-create-portable-apps/#findComment-588388083 Share on other sites More sharing options...
0 Rastereffects Posted March 11, 2007 Share Posted March 11, 2007 Java is portable. You can write any application and it will run as long as the platform has a JRE. If you want to use C or C++ use the Qt library from Trolltech. Link to comment https://www.neowin.net/forum/topic/545406-how-to-create-portable-apps/#findComment-588388097 Share on other sites More sharing options...
0 SacrificialSoldier Posted March 12, 2007 Share Posted March 12, 2007 Copernic said: PackageFactory - free to use for non-commercial purposes.http://www.eure.ca/ PackageFactory is only for making U3 Portable apps Link to comment https://www.neowin.net/forum/topic/545406-how-to-create-portable-apps/#findComment-588389430 Share on other sites More sharing options...
0 DigitalE Posted March 13, 2007 Share Posted March 13, 2007 Andos said: I think he means portable to other platforms like Windows, Linux and Mac.Well Windows/Linux portable applications can be easy to write in C++ for example. A good way to do it is to make an abstraction layer between your application and the platform. So if your application wants to display a popup dialog then write a method that your application uses. You can then with preprocessor scripting choose which file to include when the file is compiled. If you set a flag like FORWINDOWS it will include the file that contains your method that invokes the Windows API for the dialog box or otherwise it would include the file with the method that contains the Linux stuff. That way you can compile for both platforms without touching your code. Rastereffects said: Java is portable. You can write any application and it will run as long as the platform has a JRE. If you want to use C or C++ use the Qt library from Trolltech. He means "portable" as in being able to run it off a USB thumb drive or similar without leaving traces on the host computer. Link to comment https://www.neowin.net/forum/topic/545406-how-to-create-portable-apps/#findComment-588391365 Share on other sites More sharing options...
0 DWk Posted March 26, 2007 Author Share Posted March 26, 2007 Exactly, can someone help me out? I want to learn how to package Live Messenger Link to comment https://www.neowin.net/forum/topic/545406-how-to-create-portable-apps/#findComment-588427863 Share on other sites More sharing options...
0 primexx Posted March 27, 2007 Share Posted March 27, 2007 save all application data in the application folder. if it relys on absolute paths then you'll also need to have a path-rewriter to rewrite the paths to the proper location. Link to comment https://www.neowin.net/forum/topic/545406-how-to-create-portable-apps/#findComment-588428424 Share on other sites More sharing options...
0 dot1910 Posted March 27, 2007 Share Posted March 27, 2007 jauntePE is availabe at www.portablefreeware.com You can find info there. 2 Tutorials included in downloaded file. You should also try Thinstall @ www.thinstall.com There are 2 other tutorials on how to make application portable. If you want those link, PM me. HIH! Link to comment https://www.neowin.net/forum/topic/545406-how-to-create-portable-apps/#findComment-588429681 Share on other sites More sharing options...
0 IncidentFlux Posted March 27, 2007 Share Posted March 27, 2007 I'm still?looking?for?a?portable?(Standalone) version?of?Yahoo!?Messenger 8,?not?for?chatting?but because?of?Yahoo!?LAUNCHcast. Link to comment https://www.neowin.net/forum/topic/545406-how-to-create-portable-apps/#findComment-588430297 Share on other sites More sharing options...
0 uma_ngtaug11 Posted June 28, 2013 Share Posted June 28, 2013 Hi, Even I was searching for a Tutorial to create portable apps. I found this article which helped me to a great extent http://techwikasta.com/2013/06/how-to-create-portable-apps-tutorial/ Hope this would help you! Link to comment https://www.neowin.net/forum/topic/545406-how-to-create-portable-apps/#findComment-595788452 Share on other sites More sharing options...
Question
DWk
I'm trying to create a portable app. What's the procedure and tools I need for this?
Any links for tutorials or guides?
Thanks :)
Link to comment
https://www.neowin.net/forum/topic/545406-how-to-create-portable-apps/Share on other sites
12 answers to this question
Recommended Posts