高级教程
------------------------------------3G365------------------------------------
卸载指定的文件File will be uninstalled only
![]()
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://www.3g365.com/attachments/day_050807/1_QMldHH6Cfq8h.gif');}" src="http://www.3g365.com/attachments/day_050807/1_QMldHH6Cfq8h.gif" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" border=0>
这是一个安装时并不存在的文件,是软件运行后才被创建的,如果要完整的卸载软件必须要把该信息添加到安装文件中,我们可以通过以下方式完成:
""-"C:\system\apps\examply\quinze.ini",fn
注意:升级程序时,该文件不被删除!
------------------------------------3G365------------------------------------
在安装过程中运行文件File will be run during install
![]()
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://www.3g365.com/attachments/day_050807/2_xigznFitO4PP.gif');}" src="http://www.3g365.com/attachments/day_050807/2_xigznFitO4PP.gif" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" border=0>
"...\system\apps\examply\RunMe.exe" -"!:\system\apps\examply\RunMe.exe",fr,ri
fr: FileRun 安装时运行文件
ri: RunInstall 选择在安装时自动运行
rr: RunRemove 在移动时运行
rb: RunBoth 在安装和移动时运行
------------------------------------3G365------------------------------------
在安装过程中运行文件, 并且直到关闭该文件后继续安装"...\system\apps\examply\RunMe.exe" -"!:\system\apps\examply\RunMe.exe",fr,ri,rw
------------------------------------3G365------------------------------------
在SIS安装程序中添加另一个SIS安装程序File is a component
@"..\..\examply\Install\new.sis",(0x1000ffff)
用户在卸载主程序时也会卸载该程序
注: (0x1000ffff) 是此程序的 UID。
------------------------------------3G365------------------------------------
在安装过程中显示文字这个功能很常用,但是用MakeSIS1.0做出来的很单调,这里介绍几种不同的文字显示方式。
"c:\quinZe.txt"-"",ft,tc
安装过程中显示c:\quinZe.txt里的文字,注意:文字下方只有一个“是(ok)”按钮
"c:\quinZe.txt"-"",ft,te
安装过程中显示c:\quinZe.txt里的文字,注意:文字下方有“是(ok)”和“否(No)”按钮
"c:\quinZe.txt"-"",ft,ts
安装过程中显示c:\quinZe.txt里的文字,注意:文字下方有“是(ok)”和“否(No)”按钮,选“是(ok)”继续安装,选“否(No)”在PKG里该文本下面的文件被跳过。例如:
"c:\quinZe.txt"-"",ft,ts
@"...\quinZe.sis",(0xffffffff)
“是(ok)”:执行@"...\quinZe.sis",(0xffffffff),“否(No)”:跳过@"...\quinZe.sis",(0xffffffff) 并继续安装。
------------------------------------3G365------------------------------------
专家级教程
------------------------------------3G365------------------------------------
安装程序自动识别手机的语言并安装相应的语言文件有时用unmakesis 解压的SIS安装文件包扩很多个 *.rsc1, *.rsc2...,这些都是不同的语言文件。如何制作这样的安装文件?具体的操作说明比较麻烦,这里我直接提供一个多语言安装程序的PKG文件做为参考:
&EN,HU,GE,SP,RU,FR,IT
#{"DVDPlayer","DVDPlayer","DVDPlayer","DVDPlayer","DVDPlayer","DVDPlayer","DVDPlayer"},(0x10201FDD),1,22,0
(0x101F6F88), 0, 0, 0, {"Series60ProductID","Series60ProductID","Series60ProductID","Series60ProductID","Series60ProductID","Series60ProductID","Series60ProductID"}
"E:\Downloads\dvdplayerh122\Dvdplayer\system\apps\DVDPlayer\DVDPlayer.aif"-"!:\system\apps\DVDPlayer\DVDPlayer.aif"
"E:\Downloads\dvdplayerh122\Dvdplayer\system\apps\DVDPlayer\DVDPlayer.app"-"!:\system\apps\DVDPlayer\DVDPlayer.app"
"E:\Downloads\dvdplayerh122\Dvdplayer\system\apps\DVDPlayer\DVDPlayer.mbm"-"!:\system\apps\DVDPlayer\DVDPlayer.mbm"
"E:\Downloads\dvdplayerh122\Dvdplayer\system\apps\DVDPlayer\DVDPlayer.pkg"-"!:\system\apps\DVDPlayer\DVDPlayer.pkg"
{
"E:\Downloads\dvdplayerh122\Dvdplayer\system\apps\DVDPlayer\DVDPlayer.rsc7"
"E:\Downloads\dvdplayerh122\Dvdplayer\system\apps\DVDPlayer\DVDPlayer.rsc6"
"E:\Downloads\dvdplayerh122\Dvdplayer\system\apps\DVDPlayer\DVDPlayer.rsc5"
"E:\Downloads\dvdplayerh122\Dvdplayer\system\apps\DVDPlayer\DVDPlayer.rsc4"
"E:\Downloads\dvdplayerh122\Dvdplayer\system\apps\DVDPlayer\DVDPlayer.rsc3"
"E:\Downloads\dvdplayerh122\Dvdplayer\system\apps\DVDPlayer\DVDPlayer.rsc2"
"E:\Downloads\dvdplayerh122\Dvdplayer\system\apps\DVDPlayer\DVDPlayer.rsc1"
}-"!:\system\apps\DVDPlayer\DVDPlayer.rsc"
"E:\Downloads\dvdplayerh122\Dvdplayer\system\apps\DVDPlayer\MakeSIS.dll"-"!:\system\apps\DVDPlayer\MakeSIS.dll"
"E:\Downloads\dvdplayerh122\Dvdplayer\system\recogs\recavi.mdl"-"C:\system\recogs\recavi.mdl"
@"E:\Downloads\dvdplayerh122\Dvdplayer\Codec_XviD_S60.SIS",(0x101FEAFA)
"quinze.txt"-"",ft,tc
------------------------------------3G365------------------------------------
安装过程中出现选择界面[如下图]![]()
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://www.3g365.com/attachments/day_050820/Chinese.Fonts_30YJlqkii0HS.jpg');}" src="http://www.3g365.com/attachments/day_050820/Chinese.Fonts_30YJlqkii0HS.jpg" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" border=0>
这个就更加复杂,中间需要运用条件函数,在此就不具体说明,有兴趣研究的可以直接PM我。
------------------------------------3G365------------------------------------
[
Last edited by quinze on 2005-8-29 at 11:57 ]
图片附件: [图1]
1.GIF (2005-8-7 00:10, 8.91 K)

screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='点击在新窗口查看全图\nCTRL+鼠标滚轮放大或缩小';}" border=0>
图片附件: [图2]
2.GIF (2005-8-7 00:10, 8.85 K)

screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='点击在新窗口查看全图\nCTRL+鼠标滚轮放大或缩小';}" border=0>