Hello dear guest!

Boot Land is a community driven pc software site established since 2006 and focused on recovery/backup boot disks, research of Microsoft Windows 2000/XP/2003/Vista/7 install/deployment/lease/antivirus/antispam tools, customizing Microsoft Windows PE administration systems and even learning how to recover computer data from disaster situations!

How about joining our boot disk community? So do it. Life's short!

  - You get free access to our newsletter with all the interesting buzz about boot disks
  - We share publicity revenue with everyone who wishes to participate at the forums
  - Publicity is never, never, never displayed to members (along with many other cool things)
http://boot-land.net/register


 [PortableApps] How to Make Portable programs
Rating 4 V
post Aug 8 2008, 10:05 AM
Post #1
Shirin Zaban
Frequent Member   ***
Group: Tutorial Writer

  Joined: 15-February 08 From: Tehran

Posts: 361
Thank(s): 369


Iran


=============================================================================
How to Make Portable programs
=============================================================================
Hi

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.
2.Registry changes.

================================================================================
==
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
changes informations.

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
(in attachment.)

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:
...windows\system32\000\xxx.yyy

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

shirin zaban
Attached thumbnail(s)
Attached Image
 

Attached File(s)
Attached File  Needs.zip ( 3.1K ) Number of downloads: 461
 


--------------------
من به ایرانی بودن خود افتخار میکنم


5 user(s) said "Thank you!" to Shirin Zaban for this fantastic post:
benxhi, Cadac, maryam, Mega_num, Nuno Brito
+Quote Post

Posts in this topic
- Shirin Zaban   [PortableApps] How to Make Portable programs   Aug 8 2008, 10:05 AM
- - MedEvil   Portable programs are opposite to common belief no...   Aug 8 2008, 11:37 AM
- - paraglider   Exactly. Who cares if a program writes to the pe r...   Aug 8 2008, 11:46 AM
- - Nuno Brito   The Total Uninstall tip is fabulous! Thank ...   Aug 8 2008, 02:26 PM
- - Shirin Zaban   QUOTE (Nuno Brito @ Aug 8 2008, 02:26 PM)...   Aug 8 2008, 02:32 PM
- - MedEvil   Shirin, you've seem to forgot part two of how ...   Aug 8 2008, 05:04 PM
- - sanbarrow   Why not use a capture-installation-program directl...   Aug 8 2008, 06:23 PM
|- - Nuno Brito   QUOTE (sanbarrow @ Aug 8 2008, 06:23 PM) ...   Aug 8 2008, 07:29 PM
- - Shirin Zaban   QUOTE (MedEvil @ Aug 8 2008, 05:04 PM) Sh...   Aug 8 2008, 06:29 PM
- - MedEvil   QUOTE (Shirin Zaban @ Aug 8 2008, 08:29 P...   Aug 8 2008, 07:12 PM
2 Pages V   1 2 >


Reply to this topic
1 User(s) are reading this topic ()



Collapse

  Topic Replies Topic Starter Views Last Action
No New Posts How to create Bootable media to Restore Ghost image Automatically
10 Shirin Zaban 448 Yesterday, 09:34 PM
Last post by: jamal
No New Posts How to distinguish a DLL file?
8 Nuno Brito 208 24th June 2010 - 12:01 AM
Last post by: MedEvil
No New Posts How to load SATA drivers to offline Windows xp system
injecting sata driver into windows
13 link0808987654 631 23rd June 2010 - 10:04 PM
Last post by: cdob
No New Posts how to install freebsd9current...
5 beastie 223 23rd June 2010 - 09:14 PM
Last post by: beastie
No New Posts Goto first unread how can i do hirens boot in sardu
5 kobeumut 194 22nd June 2010 - 07:45 PM
Last post by: Wonko the Sane







  
Display Mode: Switch to: Standard · Switch to: Linear+ · Outline