×
Namespaces

Variants
Actions
(Redirected from 如何解包一个sis文件)

Archived:如何解包一个sis文件

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngAquivado: Este artigo foi arquivado, pois o conteúdo não é mais considerado relevante para se criar soluções comerciais atuais. Se você achar que este artigo ainda é importante, inclua o template {{ForArchiveReview|escreva a sua justificativa}}.

All PySymbian articles have been archived. PySymbian is no longer maintained by Nokia and is not guaranteed to work on more recent Symbian devices. It is not possible to submit apps to Nokia Store.

Article Metadata

代码示例
文章
翻译:
hoolee
最后由 hamishwillee 在 31 May 2013 编辑

Needs-update.png本文需要更新: 如果您发现这篇文章有用,请修复下面的问题,然后从文章中删除 {{ArticleNeedsUpdate}} 模板,以消除此警告。

原因: hamishwillee (20 Dec 2011)
Original version has had significant updates - this is out of date.


第二版

下载 File:UnSIS Setup.zip. Windows Perl及Linux Perl平台均支持

使用方法:

unsis <SIS file> <output directory>


为Windows平台编译sisinfo版本

你需要安装 py2exe

  • 解压sisinfo,我这里存放在 C:\Documents and *:Settings\xxx\Desktop\sisinfo中。在命令行方式下打开文件夹。
    Start > Run > cmd > cd Desktop\sisinfo
  • 你也可以使用 Clickie ,Clickie可以在上下文菜单中增加选项,这样你可以通过右键单击来打开有一个MS-DOS对话框
  • 现在我们可以生成一个可执行的sisinfo:
    ...\sisinfo>python setup.py py2exe
    生成两个目录 distbuild,蒋dist拷贝粘贴到你想要的地方。我选择的位置是 C:\Nokia\Tools\,然后蒋其重新命名为sisinfo,最后得到的就是C:\Nokia\Tools\sisinfo目录
  • sisinfo路径需要增加到系统环境变量中:
    - 右键打开My Computer > Advanced > Environment Variables (or windows key + pause).
    - 生成有一个新key:
    • System Variables > New
    • Variable name = SISINFO_HOME
    • Variable value = C:\Nokia\Tools\sisinfo
    - 蒋%SISINFO_HOME%增加到path中


快速测试

打开一个新的命令行窗口(已经打开的窗口无法及时反映path变化)并键入:

c:\>sisinfo

你应该获得

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

'

This page was last modified on 31 May 2013, at 04:05.
178 page views in the last 30 days.
×