HOWTO: create a portable application?

Any other tech-related topics
Post Reply
Message
Author
globals
Posts: 2
Joined: Sat Dec 16, 2006 2:32 am

HOWTO: create a portable application?

#1 Post by globals » Sat Dec 16, 2006 2:38 am

Hi,

I want to know how I can create a portable application such that I can carry my programs on USB .. what kind of software do that .. I need a link and toturial if possible .. thank you

User avatar
nycjv321
Posts: 181
Joined: Wed Feb 15, 2006 12:42 pm

#2 Post by nycjv321 » Sat Dec 16, 2006 7:37 am

well thats a pretty hard question ok here it goes....
first you need to find the app you want to portabilze
then if its singe exe or archive extract it using an application such as
http://7-zip.org/
now use "what changed" "read its help!"
http://www.vista-software.com/tools.htm#wc then download this tool to check application changes I usually do this manually by checking
the %appdata% and %userprofile% folder and the registry. If it is an installer then u need to bypass the installer by using Uni Extract http://legroom.net/modules.php?op=modlo ... uniextract
if the installer is not supported then install it once copy the installed files to a new folder then uninstall. for also it never helps to google if it already isnt portable or has a portabilizing command line switch or a how-to make portable guide such as here
or u can check http://portableapps.com/development here they create application that handle all the registry and other settings files through a launcher download a package such 7-zip portable
http://portableapps.com/apps/utilities/7-zip_portable source for launcher is included. view the code and experiment with it change it to ure needs chances are you will get a compiler error thats why you check the hlp NSIS has included and check examples! when done creating the launcher or program compile the code. to applications that help when coding NSIS...
http://hmne.sourceforge.net/ <--- complete IDE
http://nsis.sourceforge.net/Main_Page <--- Compiler

when compiling you will probobly get errors for missing plugings
so head to the developer center to download missing plugins
http://nsis.sourceforge.net/Developer_Center

ok *wipes sweat off face*
remember to realise ure code to help insire others
and questions post back here
and you learn from your mistakes so try try and try(like 50xs) again until you have it right after you get experience with NSIS you can try other programming launguages such as C++, AutoIt, Delphi, and much more
any comments? yes there are some typos I know o well

globals
Posts: 2
Joined: Sat Dec 16, 2006 2:32 am

#3 Post by globals » Sat Dec 16, 2006 8:44 pm

Thank you very much for your replay,I will go through all what you post and make a test :D

SB4
Posts: 2
Joined: Wed Sep 20, 2006 3:05 am

#4 Post by SB4 » Fri Jan 12, 2007 5:07 pm

ok nycjv321


i create portable program used this software :
http://www.filefactory.com/file/970ecf/

is that right or wrong ? and i want to create welcome windows that show when some one click on program like 7-Zip Portable :
http://portableapps.com/apps/utilities/7-zip_portable
.how ?

Post Reply