×
Namespaces

Variants
Actions
Revision as of 05:42, 29 September 2009 by nayan_trivedi (Talk | contribs)

How to unpack a .sis file

From Nokia Developer Wiki
Jump to: navigation, search
{{{width}}}

Contents

2nd edition

Download unsis. Windows Perl and Linux Perl platforms are supported.

Usage:

unsis <SIS file> <output directory>

3rd edition

Download sisinfo by Jari Sukanen.

This is a Python script so you can add the script to your path if you environment is configured to automatically run Python scripts, or compile a standalone application as described below.

Usage:

...\>python sisinfo.py -f sisToExctract.sis -e inHere

or with sisinfo compiled and added to the environment path

...\>sisinfo -f sisToExctract.sis -e inHere


Compile sisinfo for Windows

You need py2exe installed on your machine.

  • Unzip sisinfo. In my case it is located at C:\Documents and *:Settings\xxx\Desktop\sisinfo. Open this folder in a command prompt:
    Start > Run > cmd > cd Desktop\sisinfo
    You can also use Clickie . Clickie adds options on the context menu that allows you to open a MS-DOS Prompt at a folder location by right clicking on it.


  • Now we make an executable of sisinfo:
    ...\sisinfo>python setup.py py2exe
    Two 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 get a C:\Nokia\Tools\sisinfo directory.


  • sisinfo path needs to be added to the system environment variables:
    - Right click on My Computer > Advanced > Environment Variables (or windows key + pause).
    - Create a new key:
    • System Variables > New
    • Variable name = SISINFO_HOME
    • Variable value = C:\Nokia\Tools\sisinfo
    - Add the new key to the path variable by adding %SISINFO_HOME%; (Edit)


A quick test

Open a new command prompt (already opened prompt won't have sisinfo path cached) and type:

c:\>sisinfo

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
342 page views in the last 30 days.