What tools do you use to test Portability?

Discuss anything related to portable freeware here.
Message
Author
User avatar
guinness
Posts: 4118
Joined: Mon Aug 27, 2007 2:00 am
Contact:

What tools do you use to test Portability?

#1 Post by guinness »

So far I have asked: How do you update your Portable Collection? & What Software do you use for Submissions?, both receiving an interesting incite into unknown applications.

So carrying on with a Portable Freeware Collection theme, What tools do you use to test Portability? What applications, tools or regimes do you use to ensure the effective testing of Portable applications.

How do you test for Registry entries? Dependency issues? or files being created outside of the Application folder?

mySetup
System Explorer + VirtualBox (with the Sandbox feature to revert back to a clean system.)
Last edited by guinness on Mon Jul 26, 2010 11:34 pm, edited 1 time in total.

User avatar
joby_toss
Posts: 2970
Joined: Sat Feb 09, 2008 9:57 am
Location: Romania
Contact:

Re: What tools do you use to test Portability?

#2 Post by joby_toss »

I mainly use Sandboxie and SandboxDiff.
Sometimes also Dependency.

User avatar
Cornflower
Posts: 244
Joined: Fri Aug 31, 2007 7:58 am
Location: Canada's capital

Re: What tools do you use to test Portability?

#3 Post by Cornflower »

I do low-end-style checking.

Depends.exe to check dependencies quickly.

RegShot or RegFromApp to check registry entries RegFromApp is quicker as it is real-time, but occasionally hangs.

As I find Regshot very slow for doing directories, I use Everything to quickly tell me if there is application data or windows data. I open a window on \cornflower\Application Data\ and another on \Windows\, and then do the install or runt he program. I find out in an instant if there are new or changed files in those directories.

User avatar
tproli
Posts: 1172
Joined: Sat Sep 09, 2006 10:14 am
Location: Hungary
Contact:

Re: What tools do you use to test Portability?

#4 Post by tproli »

Total Uninstall with VirtualBox

User avatar
Napiophelios
Posts: 610
Joined: Sun Mar 01, 2009 5:48 pm

Re: What tools do you use to test Portability?

#5 Post by Napiophelios »

To extract an installer and map where it deposits files and what reg key's it modifies
I use a modifed/JauntePE ized version of the AutoIT ThinLoader script with the jpe logging features enabled.
But its not full proof, it only works on 99% of the installers out there.

To test a finished/existing portable; I use 2 batch files (converted to exe files) to produce before and after shots of the registry and Directory listings;
then compare them with TextDiff.
Its not that fancy but its free and pretty fast on my system :D

RegistryBatch:

Code: Select all

COLOR f2
CLS
@ECHO OFF

IF EXIST "Data\RegShot2.reg" GOTO EXHAUSTED

IF EXIST "Data\RegShot1.reg" GOTO MAKE2

IF NOT EXIST "Data\RegShot1.reg" GOTO MAKE

:MAKE
ECHO.
ECHO  Creating Registry SnapShot #1...
ECHO.
MD "Data"
REGEDIT /E "Data\RegShot1.reg"
GOTO END

:MAKE2
ECHO.
ECHO  Registry SnapShot #1 already exists :) 
ECHO.
ECHO  Creating Registry SnapShot #2...
REGEDIT /E "Data\RegShot2.reg"
GOTO END

:EXHAUSTED
ECHO.
ECHO  The files already exists!
ECHO.
ECHO  No SnapShot Has Been Made!
ECHO.

PAUSE
GOTO END

:END

EXIT
DirectoryListing (For C:\ only):

Code: Select all

CCOLOR f2
CLS
@ECHO OFF

IF EXIST "Data\FileList2.txt" GOTO EXHAUSTED

IF EXIST "Data\FileList1.txt" GOTO MAKE2

IF NOT EXIST "Data\FileList1.txt" GOTO MAKE

:MAKE
ECHO.
ECHO  Creating FileList #1...
MD "Data"
DIR /S /B /A C:\ > "Data\FileList1.txt"
GOTO END

:MAKE2
ECHO.
ECHO  FileList #1 already exists  :)
ECHO.
ECHO  Creating FileList #2...
DIR /S /B /A C:\ > "Data\FileList2.txt"
GOTO END

:EXHAUSTED
ECHO.
ECHO  The files already exists!
ECHO.
ECHO  No FileLists Have Been Made
ECHO.

PAUSE
GOTO END

:END

EXIT

arminvb
Posts: 1
Joined: Mon Dec 14, 2009 1:31 am

Re: What tools do you use to test Portability?

#6 Post by arminvb »

Total Uninstall

taotra
Posts: 45
Joined: Thu Mar 12, 2009 10:25 am

Re: What tools do you use to test Portability?

#7 Post by taotra »

Total Uninstall is good, but it is paid software. It used to be freeware up to version 2.35. You can still find it here:
http://www.aplusfreeware.com/categories ... ninst.html

taotra
Posts: 45
Joined: Thu Mar 12, 2009 10:25 am

Re: What tools do you use to test Portability?

#8 Post by taotra »

You can also monitor any registry changes with MJ Registry Watcher
http://www.portablefreeware.com/index.php?id=703

And similar to RegShot, there is SpyMe Tools (freeware, portable).
http://www.lcibrossolutions.com/spyme_tools.htm

User avatar
guinness
Posts: 4118
Joined: Mon Aug 27, 2007 2:00 am
Contact:

Re: What tools do you use to test Portability?

#9 Post by guinness »

I use a mixture of Sandboxie Portable, System Explorer & RegFromApp.

But I never even saw SandboxDiff or SandDiff, Thanks joby_toss!
I used a combination of RegistryViewer (never could get the /F commandline to work!) and searching the DefaultBox for unfamiliar files. And now one app can do that all!!

taotra
Posts: 45
Joined: Thu Mar 12, 2009 10:25 am

Re: What tools do you use to test Portability?

#10 Post by taotra »

Forgot to mention ZSoft Uninstaller (freeware) using the Analyze option.
http://www.zsoft.dk/index/software_details/4

Here is a link to an article describing various registry monitoring freeware:
http://www.raymond.cc/blog/archives/200 ... n-windows/

crownixx
Posts: 403
Joined: Sat May 12, 2007 6:26 am

Re: What tools do you use to test Portability?

#11 Post by crownixx »

I see people suggest Nirsoft RegFromApp. But you guys miss these one as i always use it together with RegFromApp

Nirsoft ProcessActivityView
-to identify file system changes in real-time.

Other tools that i use will be the same as everyone else

Virtualbox
-virtual WinXP & virtual Vista inside so that i can revert back to original state and do the testing again

JauntePE
-identify the registry changes & file system changes by looking at the sandbox folder after the program quit.
-If i want to look into details what the program do, i will turn on Log function or Discovery function. JauntePE will trace what the program do at API level. For example, in SSuite Office Portable v1.0 I can know what actually StartUpMenu.exe did before it launch the program

User avatar
joby_toss
Posts: 2970
Joined: Sat Feb 09, 2008 9:57 am
Location: Romania
Contact:

Re: What tools do you use to test Portability?

#12 Post by joby_toss »

Another nice capability of fileinfo.wlx plugin:

Image

Kissol
Posts: 2
Joined: Wed Dec 08, 2010 7:25 am

Re: What tools do you use to test Portability?

#13 Post by Kissol »

guinness wrote: mySetup
System Explorer
joby_toss wrote:I mainly use Sandboxie and SandboxDiff.
I use also System Explorer'snapshots feature; when I try an app. in Sandboxie I always use the excellent SandboxDiff tool.

BTW, SandboxDiff was updated to version 2.3..

:lol:

Hydaral
Posts: 194
Joined: Tue Mar 09, 2010 7:36 pm

Re: What tools do you use to test Portability?

#14 Post by Hydaral »

I use Sandboxie, Regmon and Filemon.

i save the Regmon and Filemon log files and use a batch file I wrote to parse the log using Logparser: http://en.wikipedia.org/wiki/Logparser

This saves text files that only lists the executable, the operation (create, modify, etc) and the file or registry path. My Logparser script filters out the operations that I don't care about: query information, closekey, queryvalue, etc.

User avatar
webfork
Posts: 10818
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: What tools do you use to test Portability?

#15 Post by webfork »

  1. Get a clean copy of XP up. There are several ways to do this, but I do it with VMware so I can run the OS inside a separate Window and then restore it back to its original state in about 30 seconds.
  2. Start up System Explorer and create a snapshot
  3. Start up RegFromApp so I can watch any live registry changes
  4. Drag the executable into RegFromApp and do a few things, make some settings changes, etc. Close program. Check the RegFromApp window and if a ton of registry crap comes across, I usually just dump the program.
  5. Run another System Explorer image and compare. If settings were saved somewhere other than the application folder, its probably not portable. Try to find a workaround or dump it.
  6. If things so far look good, move it to another folder or drive and run it again to make sure the settings move with it.
  7. No problems? Its portable.
Here's a more visual representation of that process.

Post Reply