It is currently Wed Jun 19, 2013 10:31 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Portable testing process
PostPosted: Thu Jan 13, 2011 5:32 pm 
Offline
User avatar

Joined: Wed Apr 11, 2007 8:06 pm
Posts: 3534
Location: US, Texas
As guinness' thread pointed out, there are many ways to test for portability, but I wanted to look at exactly what we're testing for to maybe demystify some of the steps. So I developed a process map:

Image

Comments welcome. Source file for xmind is here if you want to edit it directly.

_________________
Supporting the Electronic Frontier Foundation | DuckDuckGo user | My GPG key | Projects donated to: VLC, CubicExplorer, Ditto, Greenshot, TrueCrypt, WinSplit


Top
 Profile  
 
 Post subject: Re: Portable testing process
PostPosted: Fri Jan 14, 2011 12:09 am 
Offline
User avatar

Joined: Sat Mar 31, 2007 2:38 am
Posts: 906
Location: Kce,PL
Misses checking for dependencies.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Portable testing process
PostPosted: Fri Jan 14, 2011 7:56 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 3788
Excellent MindMap! It's good to have a visual representation of what is required for those that Test Portable Applications. Thanks webfork.

_________________
Added 177 Applications: Portable and an AutoIt MVP
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: Portable testing process
PostPosted: Sat Jan 15, 2011 3:18 am 
Offline

Joined: Sat May 12, 2007 6:26 am
Posts: 403
Thumbs up to the process map. I love visual representation information.
If the process map is specific to TPFC, then i think the first criteria and most important for the app to be in the database is the app licenses should not be a payware :wink:

_________________
JauntePE the portable maker: <<JauntePE Google Site >>


Top
 Profile  
 
 Post subject: Re: Portable testing process
PostPosted: Sat Jan 15, 2011 10:01 am 
Offline
User avatar

Joined: Fri Jul 02, 2010 6:14 am
Posts: 157
Really great work with this webfork :wink:

_________________
<<---It's have to be STEALTH !!!--->>


Top
 Profile  
 
 Post subject: Re: Portable testing process
PostPosted: Sat Jan 15, 2011 11:01 am 
Offline
User avatar

Joined: Wed Apr 11, 2007 8:06 pm
Posts: 3534
Location: US, Texas
Wolfghost wrote:
Really great work with this webfork

guinness wrote:
Excellent MindMap! It's good to have a visual representation of what is required for those that Test Portable Applications. Thanks webfork.

Cool, thank you both.

crownixx wrote:
Thumbs up to the process map. I love visual representation information.
If the process map is specific to TPFC, then i think the first criteria and most important for the app to be in the database is the app licenses should not be a payware

Wow, "license check" is a conspicuous absence. Well said.

m^(2) wrote:
Misses checking for dependencies.

I think this is missing in my own portable checking process. How is this done and where should this step go in the order above?

_________________
Supporting the Electronic Frontier Foundation | DuckDuckGo user | My GPG key | Projects donated to: VLC, CubicExplorer, Ditto, Greenshot, TrueCrypt, WinSplit


Top
 Profile  
 
 Post subject: Re: Portable testing process
PostPosted: Sat Jan 15, 2011 4:49 pm 
Offline
User avatar

Joined: Thu Aug 07, 2008 4:51 am
Posts: 2615
Nice work (in progress) webfork.

One more thing missing is (in case it is an installer) the 'how to extract' method.

As for dependencies, PeStudio (portable) can help. Look under '.Net' tab, 'Libraries' and 'Imports' tab. Alternatives are Dependency Walker (not portable), FileInfo plugin for Universal Viewer (you would have to search the forum for that + it's not portable). There are a few more PE analyzers... will list a few more later.

_________________
bəʊɡɪ bəəs


Top
 Profile  
 
 Post subject: Re: Portable testing process
PostPosted: Sun Jan 16, 2011 2:31 pm 
Offline
User avatar

Joined: Sat Mar 31, 2007 2:38 am
Posts: 906
Location: Kce,PL
webfork wrote:
m^(2) wrote:
Misses checking for dependencies.

I think this is missing in my own portable checking process. How is this done and where should this step go in the order above?

It's a complex task because there are many types of dependencies:
-Dependencies on particular OS features, usually mentioned by the developers as "Works on:...". This info is not always accurate.
-Sometimes not mentioned at all dependency on a particular service pack
-Dependency on common libraries like MSVCRT
-Dependencies on other libraries from the same company. They might be installed on your PC, so you'll miss they are actually needed.
-Drivers. Please note that if you run a program once as admin, it may install needed drivers and then work w/out admin. You should check w/ only guest rights first.
-.NET
-Java
-I'm sure I forgot about some things.

The best way to spot a dependency is to have a set of virtual machines with OSes that you care for, in my case it was Windows XP, XP SP1, XP SP2, 2000 SP smth. , NT4 SP smth.. What matters is that they should be clean installations, nothing but OS. Then if something is required, it's missing and you see that a program doesn't run or is in some way limited. To identify what is needed you can use the tools mentioned by I am Baas. Personally I use FileInfo (which is actually a Total Commander plugin adapted by some other programs :P ). And Process Monitor to see all files read.

Where to put it? Don't know, but probably one of the later stages.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Portable testing process
PostPosted: Sun Jan 16, 2011 4:38 pm 
Offline
User avatar

Joined: Thu Aug 07, 2008 4:51 am
Posts: 2615
m^(2) wrote:
Personally I use FileInfo (which is actually a Total Commander plugin adapted by some other programs :P ). And Process Monitor to see all files read.


Yes, FileInfo is the TC plugin I was referring to, but, afaicr, it creates an .ini file in WINDOWS folder + writes to the registry.

m^(2) wrote:
Where to put it? Don't know, but probably one of the later stages.


I always check for .net and Java requirements first and if it is needed I normally would not bother with any further analysis.

_________________
bəʊɡɪ bəəs


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group