I'll explain quickly how to make sisinfo as a proper command for you Windows OS accessible from anywhere in the file system. What's the advantage? You don't need to always go to the folder where sisinfo.py is stored and type

...\>python sisinfo.py ...



So first step is to download the package at http://www.niksula.cs.hut.fi/~jpsukane/sisinfo.html made by Jari Sukanen. (You need py2exe installed on your machine)

Unzip it. In my case it is situated at C:\Documents and Settings\xxx\Desktop\sisinfo. Open this folder in a command prompt:

Start > Run > cmd > cd Desktop\sisinfo

You can use Clickie also. If you don't know it it allows you to open a folder in MS-DOS Prompt from the right click context menu.

Now we make an executable of sisinfo:

\sisinfo>python setup.py py2exe

2 directories are created: dist and build. Copy dist and paste it where you want. I chose C:\Nokia\Tools\ . Then rename it sisinfo. You finally got C:\Nokia\Tools\sisinfo directory.

We now add its path to the system environment variables. So right click on My Computer > Advanced > Environment Variables.

We create a new key:

  • System Variables > New
  • Variable name = SISINFO_HOME
  • Variable value = C:\Nokia\Tools\sisinfo

Now we only need to add the new key to the path variable by adding %SISINFO_HOME%; (Edit) at the beginning or where you want in fact :)

A quick test: open a new command prompt (already opened prompt won't have sisinfo path cached) and type:

c:\>sysinfo

Then you should get:

ERROR : Filename must be defined
 
Usage: sisinfo [options]
 
Options:
  -f FILENAME, --file=FILENAME
                        Name of the SIS file to inspect
  -i, --info            Print information about SIS contents
  -s, --structure       Print SIS file structure
  -e PATH, --extract=PATH
                        Extract the files from the SIS file to PATH
  -c, --certificate     Print certificate information
  --version             show program's version number and exit
  -h, --help            show this help message and exit 

Voila