How to Make Portable programs
I think All BartPE ,Live XP and other projects users and even Basic users Need to have portable
version of their favorite programs.
When you have portable programs ,you do not need to install it to work.
When you want to make scripts , you will need to have this kind of applications.
When you want to make live xp projects(for example winbuilder livexp and other projects,Reatogo,and
some boot projects),you will need them.
Any way ,Not all programs can be portable.But we can make a lot of applications to be portable.
In this little program,i am going to make an portable program step by step ,hope will be helpful.
What happens when installing an application ?
When we install any software in our system ,Software Does as :
1. Makes folder or folders in our system.
2. Places some files in one or several directories.
3. Adds some entries in our registry,And may changes some of our registry settings.
So,If we make directories needed and place files needed in appertain places (witout installing) and
then apply needed changes to our registry,The program will work and we will not need installing that.
This means that for making portable programs we should know and have:
1.Directories and files needed for program.
How to understand witch files an directories made and what are Registry changes
1.Note that applicatins (when installing them) ,Does not make directory (and files) just in your
"Program Files" directory , most of them make directories in your "windows" directory and sub
directories, and some of them make directories (and fies) in your "Documents and Settings" directory
and sub directories.
2.I think there is not easy way to know all informations needed without using special programs.there
are several programs that can check changes in your system during setup process,and can give you all
3.In this small tutor i am going to use "Total Uninstall" and show you how to do it.Just note that:
*** I prefer "Total Uninstall version 4.11" and used that in my tutor.If you use older or newer
*** version ,the process is a little bit different.
*** I will make Portable version for "AusLogics Disk Defrag 1.4" and i suppose that you have placed
*** that in D:\defrag\setup.exe
*** I suppose that you have installed "Total Uninstall version 4.11".
Process of getting needed informations:
1.Run Total Uninstall ,in comming widow click on "Install" .
2."Install new" window will be seen ,In "Application name" section type "AusLogics Disk Defrag 1.4"
and in "Application setup path" give the address "D:\defrag\setup.exe" (see Picture_1) Click on "Next"
3.Program will save settings of your system befor installing process and after a few minutes will show
"Install new" window again ,Make sure "Launch setup..." is selected (see Picture_2) then click on "next"
4.At this time ,AusLogics Disk Defrag 1.4 will begin to install.Install it as usual.
5.When setup finished ,"Install new" window will be appeiered Make sure "Application is installed ..."
is selected (See picture_03),click on "next"
6.The Totall uninstall will check the "after install settings of your system" then will show
another window click on "Close",The main window of Total Uninstall will be shown.
7. Go to Files menu,select "Export" then click on changes (see picture_04),in comming window
click on save button.the program will save all chanes information as:
D:\defrag\AusLogics Disk Defrag 1.4 - Changes.txt
8.Do the same as step 7 just click on "registry changes" in end,and in comming window click on "OK"
then click on save. the program will save reg changes made in your system in:
D:\defrag\AusLogics Disk Defrag 1.4.Install.reg
Process of Making portable program
At this time if you open D:\defrag\AusLogics Disk Defrag 1.4 - Changes.txt ,you will see all information
needed and you have reg file neede too.
I have placed two files above created for "AusLogics Disk Defrag 1.4" by "Totall uninstall" in needs.zip
Now you can copy all needed files and place them some where.Note that you should copy needed files
and directories by their assosiated addresses.for example if the program has placed file xxx.yyy
in system32\000 directory, you should save it as:
and when you want to use that on other system you should place that file in windows\system32\000\xxx.yyy
of that system.
Then you should run Reg file made by Totall uninstall.
after that you can run program without installing.
have good times