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
2 Pages V   1 2 >  
Start new topic
Replies (1 - 9)
post Aug 8 2008, 11:37 AM
Post #2
MedEvil
Platinum Member   ******
Group: .script developer

  Joined: 29-December 06
Posts: 5,166
Thank(s): 145


Portable programs are opposite to common belief not the best choice for a PE.
The best choice are programs that follow M$ guidelines thoroughly.
Meaning, they never ever try to write to any place but the current user profile and the registry.

cheers.gif


--------------------
NaughtyPE - The Multimedia PE!
Requirements: WinBuilder080, XPSP2/W2k3SP1 source, Pentium CPU, 128MB RAM (256MB to use video players)
+Quote Post
post Aug 8 2008, 11:46 AM
Post #3
paraglider
Gold Member   *****
Group: .script developer

  Joined: 12-August 06 From: NC,USA

Posts: 1,070
Thank(s): 152


United States


Exactly. Who cares if a program writes to the pe ram drive or its registry. It will all disappear when you reboot.
+Quote Post
post Aug 8 2008, 02:26 PM
Post #4
Nuno Brito
Platinum Member   ******
Group: .script developer

  Joined: 13-July 06 From: Pittsburgh

Posts: 8,434
Thank(s): 422


Portugal


The Total Uninstall tip is fabulous! thumbup.gif

Thank you for another good tutorial.

It's such a simple solution that I'm amazed and can say that learned something new.

For reference, there was a similar question made yesterday about this matter that also contains some good informations about other techniques to get the install details: http://www.boot-land.net/forums/?showtopic=5394

smile.gif


--------------------


Join us at the Virus removal forums!
+Quote Post
post Aug 8 2008, 02:32 PM
Post #5
Shirin Zaban
Frequent Member   ***
Group: Tutorial Writer

  Joined: 15-February 08 From: Tehran

Posts: 361
Thank(s): 369


Iran


QUOTE (Nuno Brito @ Aug 8 2008, 02:26 PM) *
The Total Uninstall tip is fabulous! thumbup.gif

Thank you for another good tutorial.

It's such a simple solution that I'm amazed and can say that learned something new.

For reference, there was a similar question made yesterday about this matter that also contains some good informations about other techniques to get the install details: http://www.boot-land.net/forums/?showtopic=5394

smile.gif

====================================
Hi Numo

Thank you ,your notes makes me to work more and better.

have nice days

shirin zaban


--------------------
من به ایرانی بودن خود افتخار میکنم
+Quote Post
post Aug 8 2008, 05:04 PM
Post #6
MedEvil
Platinum Member   ******
Group: .script developer

  Joined: 29-December 06
Posts: 5,166
Thank(s): 145


Shirin, you've seem to forgot part two of how to make a Portable App.
One of the trademarks of a good portable program is, that it will not leave garbage behind on the host system after a run.
Thus cleaning of temp files and registry entries is a must.

cheers.gif


--------------------
NaughtyPE - The Multimedia PE!
Requirements: WinBuilder080, XPSP2/W2k3SP1 source, Pentium CPU, 128MB RAM (256MB to use video players)
+Quote Post
post Aug 8 2008, 06:23 PM
Post #7
sanbarrow
Silver Member   ****
Group: Developer

  Joined: 13-October 06 From: Germany - Sauerland

Posts: 773
Thank(s): 45


Why not use a capture-installation-program directly on the PE ? That safes you several steps
Thats what I do in MOA.
With this approach - I use installrite - dotnet2 or Java - can be "portable apps" too cool.gif
+Quote Post
post Aug 8 2008, 06:29 PM
Post #8
Shirin Zaban
Frequent Member   ***
Group: Tutorial Writer

  Joined: 15-February 08 From: Tehran

Posts: 361
Thank(s): 369


Iran


QUOTE (MedEvil @ Aug 8 2008, 05:04 PM) *
Shirin, you've seem to forgot part two of how to make a Portable App.
One of the trademarks of a good portable program is, that it will not leave garbage behind on the host system after a run.
Thus cleaning of temp files and registry entries is a must.

cheers.gif

=================================================
Hi MedEvil

Thank you for note

Hope other friends will complete in more advance.

I Tutorials,mostly i try to intoduce , i do not go to detail, may be because i am just basic user.

thanks again for your mention

have nice times

shirin zaban


--------------------
من به ایرانی بودن خود افتخار میکنم
+Quote Post
post Aug 8 2008, 07:12 PM
Post #9
MedEvil
Platinum Member   ******
Group: .script developer

  Joined: 29-December 06
Posts: 5,166
Thank(s): 145


QUOTE (Shirin Zaban @ Aug 8 2008, 08:29 PM) *
=================================================
I Tutorials,mostly i try to intoduce , i do not go to detail

Ahh, ok.

cheers.gif


--------------------
NaughtyPE - The Multimedia PE!
Requirements: WinBuilder080, XPSP2/W2k3SP1 source, Pentium CPU, 128MB RAM (256MB to use video players)
+Quote Post
post Aug 8 2008, 07:29 PM
Post #10
Nuno Brito
Platinum Member   ******
Group: .script developer

  Joined: 13-July 06 From: Pittsburgh

Posts: 8,434
Thank(s): 422


Portugal


QUOTE (sanbarrow @ Aug 8 2008, 06:23 PM) *
Why not use a capture-installation-program directly on the PE ? That safes you several steps
Thats what I do in MOA.
With this approach - I use installrite - dotnet2 or Java - can be "portable apps" too cool.gif


Interesting too, the more the merrier.

Would you volunteer for tutorial yourself? smile.gif


--------------------


Join us at the Virus removal forums!
+Quote Post

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 · Linear+ · Switch to: Outline