Programs - Installers vs Portables.

Clanger

Moderator
Staff member
I dont hide the fact(i fact i trumpet it) that i love Portables. Stick them on a usb key and you can run them without restriction on any pc, handy when you do loads of testing to see what works and what doesnt. Its also handy when you only have 1 pc/laptop and you do test installs to a single hdd with multiple partitions. When i do that i always rename the usb drive to Z: so any settings or shortcuts always work. Try doing that when program X must be installed. What if X needs online activation too? You will quickly wave your activation count bye bye and companies will say tough luck pal.
Balls to that.

Only 2 of all the programs i use on a regular basis need to be installed, everything else runs portable whether it was designed to or not and even if there was no portable availible. Some things like HashTab and MediaTab have to be installed because they need a dll file to be registered but there is a way around that.

Everytime i get a new installer i extract it with 7zip. Some things extract correctly, some things dont. Hey ho, sh*t happens, run the installer so it installs to the default location then copy the installlation folder to your Z: drive or just install it to Z:\Program Files or Z:\Program Files (x86). Switch to another partion on your hdd or put that usb drive into another pc/laptop. See if the program runs without complaint and without any visible errors. If it does then your Installer only program runs portable. Though i wouldnt share that info on that companies forum. They may not like people knowing that especially if they have Open Candy etc as part of the installer.

The only issues would be registering dll files, file associations and windows shell entries. Easy!

If you know how to register dll files then great but if you dont you are thinking wtf do i do with this. Again Easy. Below is a registry file that adds a Register/Unregister context menu option for dll files. Double click the reg file to merge it into the registry(like where else would it go?) then right click the dll you need to register, Register and boom, one registered dll ready to work.

You may not be bothered by not having file associations, you may want to have certain files associated only or you may want everything associated with Program X(Wolverine? damn, thats Weapon X, oops). Enter RegFromApp by Nirsoft(see my Interesting things page).

Start wea Program X installer. Start RegFromApp. You need to start the 32bit RegfromApp for 32bit stuff, the 64bit for 64bit stuff, select the required executable. What RegFromApp does is track registry changes by installers and programs, it will display the changes and allow you to export it to a reg file which you can then add to any other installation. It may be file associations or windows shell entries, context menu's etc. Carefully edit out any bits you know you dont need.

You should now have a portable that works on any pc(providing they are all the same os type, eg w7 64bit) and with any required file associations and windows shell things, just remember to take the registry files too.

So the next time you get an installer, give it a try, it may not work but if it does, Hosanna! :)

Now if i could ditch the other banes of my life, bloody dontnets and poxy c++ stuff i would be really happy.
 

Attachments

  • w7-context-menu-register-unregister.reg
    335 bytes
Last edited by a moderator:
I wish all programs are available in a 'Portable' version! Long overdue.

I place mine in a folder named "Portables in C" (since that I where I place them. But, what would be a better idea is to place that folder in the 2nd partition of the boot drive (where the O/S is so when I image the active partition, only the M$ O/S files are imaged, saving a lot of space in the backup image.
It's easy to just C&P the 'Portables" folder in another HDD partition (which I already do) as the backup.

The only 'hassle' If you can call it that is you have to create shortcuts for each programs .exe to the Start menu and/or desktop, but that can be made easier if you prepare a Start Menu folder to place in the 'Users' root folder with those shortcuts already made. Of course you have to decide in advaance just where that Portables folder will reside; in 'C' or another partition or drive..
 
I never create start menu shortcuts for portables, jkust shortcuts on the desktop when i know where they will reside. If i am using an install that isnt fully sorted i just search for them. The pro's outweigh the cons. :)
 
I dont create shortcuts anymore, i just search for the required protaball(sic) with voidtools Everything. Faster and no messing around. :cool:

Windows own file search really sucks monkey balls compared to Everything. :)
 
Last edited:
Back
Top