M
mnbsg
Unregistered / Unconfirmed
GUEST, unregistred user!
先安装sql2000,打sp3或者sp4再提取文件。
没有修改数据库路径为相对路径,默认为安装在c:/{pf}/下
这个为提取的最小版本,已经通过有商业软件测试应用!
本人懒惰,没有加企业管理器部分,主要是注册表部分键值太多........
有改进请给我传一份!或者在这里共享出来!
你自己的程序可以在这个基础上加上去就可以了!
mnbsg
lsldemail@gmail.com
qq:378201228
-----------------------------------------------------------
;
声 明:
;
本包内的所有文件版权都归美国微软公司或者原作者所有.
;
本安装包纯粹为研究学习的产物.仅供个人研究学习参考测试使用
;警告:使用本程序可能会发生不可预知的灾难和错误,使用本安装包
;所产生的一切后果,本人概不负责,均由实际使用人自己承担。★★★
;制作本包目的: ★研究学习★
;学习中经常需要安装MS SQLServer 2000然后打SP3补丁.这样确实耽搁很
;多时间,为了可靠,又不敢用绿色版本.就想把安装好的SQLServer 2000并
;打好补丁文件用Inno Setup打包.这样安装速度就可以大大提高了,所以
;制作安装包的目的是为了提高安装速度.
;----------------------------------------------------------------
;把包放出来,一来方便大家一起研究学习,二来也想分享大家共同的成果.
;----------------------------------------------------------------
;如果这些文件从MSDE里提取,是否意味着这个包可以免费发布?????
;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
;经过测试,保留下面的文件+“DATA”下面的可以做为windows服务启动.
;{目前已经通过Delphi6+TADOquery连接执行select update INSERT} 一切
;正常
;MSSQL/binn/Resources/2052/sqlevn70.rll"
;MSSQL/binn/dbghelp.dll"
;MSSQL/binn/opends60.dll"
;MSSQL/binn/sqlboot.dll"
;MSSQL/binn/sqldata.dll"
;MSSQL/binn/sqlservr.exe"
;MSSQL/binn/sqlsort.dll"
;MSSQL/binn/ssnetlib.dll"
;MSSQL/binn/ums.dll"
;MSSQL/binn/xpstar.dll"
;MSSQL/data/master.mdf"
;MSSQL/data/mastlog.ldf"
;MSSQL/data/model.mdf"
;MSSQL/data/modellog.ldf"
;MSSQL/data/msdbdata.mdf"
;MSSQL/data/msdblog.ldf"
;MSSQL/data/tempdb.mdf"
;MSSQL/data/templog.ldf"
;mssql/log还必须有这个目录,主要是默认必须要有一个目录(空就行)
;backup这个目录没有可以运行,其他还没有测试,可以在注册表里改变位置
;{--------写这一段需要系统级别权限,管理员权限都不行,需要手工填加,
;很麻烦!也不知道该怎么写才可以加进去.
;还需要写[HKEY_LOCAL_MACHINE/SSYSTEM/CurrentControlSet/Enum/Root]
;LEGACY_MSSQLSERVER"
如果不写,目前来看不影响运行,但在服务管理器
;(services.msc)中查看MSSQLSERVER属性时,将提示“指定的设备实例句柄
;和目前的设备不一致”如果写了就好了,但是如果每次手工修改很麻烦,希
;望有高人指点在Inno Setup里就能搞定.
;
;
;
;----------------------------------------------------------------
;xpstar.dll:附加数据库
;
;企业管理器
;dtspkg.dll
;/resources/dtspkg.rll
;dtswiz.dll
;/resources/dtswiz.rll
;semcont.dll
;semcont.rll
;semcros.dll
;semcros.rll
;semdll.dll
;semdll.rll
;semdts.dll
;semdts.rll
;semexec.dl
;semexec.rll
;semmap.dll
;semmao.rll
;semnt.dll
;semnt.rll
;semobj.dll
;semobj.rll
;semrept.dll
;semrept.rll
;semsfc.dll
;semsfc.rll
;semsys.dll
;semsys.rll
;semwebwz.dll
;semwebwz.rll
;semwiz.dll
;semwiz.rll
;sqldmo.dll
;sqldmo.rll
;sqlftwiz.dll
;sqlftwiz.rll
;sqlgui.dll
;sqlgui.rll
;sqlmmc.dll
;sqlmmc.rll
;sqlns.dll
;sqlns.rll
;sqlresld.dll
;sqlresld.rll
;sqlsvc.dll
;sqlsvc.rll
;;w95scm.dll
;服务管理器
;sqlmangr.exe
;sqlmangr.rll
;sqlresld.dll
;sqlsvc.dll
;sqlsvc.rll
;w95scm.dll
;事件查看
;PFCLNT80。DLL
;PFCLNT80.RLL
;PFUTIL80.DLL
;PFUTIL80.RLL
;PROFILER.EXE
;PROFILER.RLL
;seMSFC.DLL
;sqLGUI.DLL
;sqLGUI.RLL
;sqLRESLD.DLL
;sqLSVC.DLL
;sqLSVC.RLL;
;W95SCM.DLL;
;研究中.....看看REDIST.TXT这个文件是有帮助的!.
;......
;
;
;---------------------------下面是本包的源码
[Setup]
AppName=Min{{MS SQLServer 2000}
AppVerName=Microsoft SQL Server 2000 SP3
AppPublisher=林锋{{QQ:378201228}
;AppPublisherURL=http://www.microsoft.com/
;AppSupportURL=http://www.microsoft.com/
;AppUpdatesURL=http://www.microsoft.com/
DefaultDirName={pf}/Microsoft SQL Server
DefaultGroupName=Microsoft SQL Server
LicenseFile=Min{sql2000+}.iss
;LicenseFile=/sql2ksp3/license.txt
;InfoBeforeFile=/LICENSE.TXT
InfoAfterFile=README.TXT
;OutputBaseFilename=setup
OutputBaseFilename=Min{{MS SQLServer 2000}
;Compression=none
;--调试状态
Password=sql2000
Compression=lzma
SolidCompression=yes
ShowTasksTreeLines=yes
WizardImageFile=setup1.bmp
WizardSmallImageFile=setup.bmp
[Types]
Name: "MIN"
;
Description: "最小安装"
Name: "ALL"
;
Description: "完全安装"
;Name: "TL"
: Description: "成都{{天力卓越软件/任我行软件}系列支持"
;Name: "TL"
: Description: "成都天力卓越系列软件支持"
Name: "ZDY"
;
Description: "自定义安装";
Flags: iscustom
;安装分类选项
[Components]
Name: "SVR"
;
Description: "数据库基本服务组件"
;
Types: ALL ZDY MIN ;
Flags: fixed
;成都天力卓越软件有限公司-成都任我行软件有限公司需要的库
Name: "TR"
;
Description: "药易通·精算·管家婆·千方百剂等软件必须组件"
;
Types: ALL ZDY
name: "FW"
;
Description: "服务管理器"
;
Types: ALL ZDY MIN
Name: "CX"
;
Description: "查询分析器"
;
Types: ALL ZDY
;Name: "QY"
;
Description: "企业管理器"
;
Types: ALL ZDY
[Files]
Source: "{app}/80/Tools/Binn/isqlw.exe"
;
DestDir: "{app}/80/Tools/Binn";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/objmgr.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/pfclnt80.dll";
DestDir: "{app}/80/Tools/Binn";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/pfutil80.dll";
DestDir: "{app}/80/Tools/Binn";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/semsfc.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/sqlgui.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/sqlqry.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: CX;
Flags: ignoreversion
;sqllex.dll关键字字体颜色
Source: "{app}/80/Tools/Binn/sqllex.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: CX;
Flags: ignoreversion regserver
Source: "{app}/80/Tools/Binn/sqlresld.dll";
DestDir: "{app}/80/Tools/Binn";
Components: CX FW;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/sqlsvc.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: CX FW;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/w95scm.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: CX FW;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/sqlmangr.exe";
DestDir: "{app}/80/Tools/Binn";
Components: FW ;
Flags: ignoreversion
;2007-06-08 新添加;精算管家婆等软件需要
;Source: "{app}/80/Tools/Binn/sqlvdir.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: TR ;
Flags: ignoreversion regserver
;Source: "{app}/80/Tools/Binn/sqlmmc.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: TR ;
Flags: ignoreversion regserver
;Source: "{app}/80/Tools/Binn/dtsui.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: TR ;
Flags: ignoreversion regserver
;Source: "{app}/80/Tools/Binn/semdts.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: TR ;
Flags: ignoreversion regserver
;Source: "{app}/80/Tools/Binn/cdwtskui.dll";
DestDir: "{app}/80/Tools/Binn";
Components: TR ;
Flags: ignoreversion regserver
;Source: "{app}/80/Tools/Binn/cdwtasks.dll";
DestDir: "{app}/80/Tools/Binn";
Components: TR ;
Flags: ignoreversion regserver
;===========================================
Source: "{app}/80/Tools/Binn/dtspkg.dll"
;
DestDir: "{app}/80/Tools/Binn"
;
Components: TR ;
Flags: ignoreversion regserver
Source: "{app}/80/Tools/Binn/Resources/2052/dtspkg.RLL"
;
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: TR ;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/axscphst.DLL"
;
DestDir: "{app}/80/Tools/Binn"
;
Components: TR ;
Flags: ignoreversion regserver
Source: "{app}/80/Tools/Binn/Resources/2052/axscphst.rll";
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: TR ;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/dtspump.DLL"
;
DestDir: "{app}/80/Tools/Binn"
;
Components: TR ;
Flags: ignoreversion regserver
Source: "{app}/80/Tools/Binn/Resources/2052/dtspump.RLL"
;
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: TR ;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/dtsffile.DLL"
;
DestDir: "{app}/80/Tools/Binn"
;
Components: TR ;
Flags: ignoreversion regserver
Source: "{app}/80/Tools/Binn/Resources/2052/dtsffile.RLL";
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: TR ;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/custtask.DLL"
;
DestDir: "{app}/80/Tools/Binn"
;
Components: TR ;
Flags: ignoreversion regserver
Source: "{app}/80/Tools/Binn/Resources/2052/Custtask.rll";
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: TR ;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/SQLDMO.dll"
;
DestDir: "{app}/80/Tools/Binn"
;
Components: TR ;
Flags: ignoreversion regserver
Source: "{app}/80/Tools/Binn/Resources/2052/Sqldmo.rll"
;
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: TR ;
Flags: ignoreversion
;=================================================
;Source: "{app}/80/Tools/Binn/sqlns.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: TR ;
Flags: ignoreversion regserver
;Source: "{app}/80/Tools/Binn/ctasksui.dll";
DestDir: "{app}/80/Tools/Binn";
Components: TR ;
Flags: ignoreversion regserver
;如果一般情况,可以注释掉上面的行------------------------
Source: "{app}/80/Tools/Binn/Resources/2052/sqlmangr.rll";
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: FW;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/Resources/2052/isqlw.rll"
;
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/Resources/2052/objmgr.RLL"
;
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/Resources/2052/pfclnt80.rll";
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/Resources/2052/pfutil80.rll";
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/Resources/2052/semsfc.rll"
;
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/Resources/2052/sqlgui.rll"
;
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/Resources/2052/sqlqry.rll"
;
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/Resources/2052/sqlsvc.rll"
;
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: CX FW;
Flags: ignoreversion
;----------------------------------------------------------------------------------------------------------------------
Source: "{app}/MSSQL/binn/Resources/2052/sqlevn70.rll";
DestDir: "{app}/MSSQL/binn/Resources/2052";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/dbghelp.dll"
;
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/opends60.dll";
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/sqlboot.dll"
;
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/sqldata.dll"
;
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/sqlservr.exe";
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/sqlsort.dll"
;
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/ssnetlib.dll";
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/ums.dll"
;
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/xpstar.dll"
;
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
;xplog70.dll扩展存储过程
Source: "{app}/MSSQL/binn/xplog70.dll"
;
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/Resources/2052/xplog70.RLL";
DestDir: "{app}/MSSQL/binn/Resources/2052";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/log/*"
;
DestDir: "{app}/MSSQL/log";
Components: "SVR";
Flags: ignoreversion
;------------------------------------------------------------------------------------------------------------------
;uninsneveruninstall 不卸载
Source: "{app}/MSSQL/data/master.mdf"
;
DestDir: "{app}/MSSQL/data";
Components: "SVR";
Flags: uninsneveruninstall
Source: "{app}/MSSQL/data/mastlog.ldf"
;
DestDir: "{app}/MSSQL/data";
Components: "SVR";
Flags: uninsneveruninstall
Source: "{app}/MSSQL/data/model.mdf"
;
DestDir: "{app}/MSSQL/data";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/data/modellog.ldf";
DestDir: "{app}/MSSQL/data";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/data/msdbdata.mdf";
DestDir: "{app}/MSSQL/data";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/data/msdblog.ldf"
;
DestDir: "{app}/MSSQL/data";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/data/tempdb.mdf"
;
DestDir: "{app}/MSSQL/data";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/data/templog.ldf";
DestDir: "{app}/MSSQL/data";
Components: "SVR";
Flags: ignoreversion
;
注意: 不要在任何共享系统文件中使用“Flags: ignoreversion”
[Icons]
Name: {group}/服务管理器;
Filename: {app}/80/Tools/Binn/sqlmangr.exe ;IconFilename:"{app}/80/Tools/Binn/Resources/2052/sqlmangr.rll"
;IconIndex:0 ;
Components:FW ;WorkingDir:{app}/80/Tools/BINN ;
Comment:启动数据库
;Name: {group}/企业管理器;
Filename: "{sys}/mmc.exe ";
Parameters:"/s ""{app}/80/Tools/BINN/SQL Server Enterprise Manager.MSC""";WorkingDir:{app}/80/Tools/BINN ;
Components:FW
Name: {group}/查询分析器;
Filename: {app}/80/Tools/Binn/isqlw.exe ;
Components:CX ;WorkingDir:{app}/80/Tools/BINN
Name: {group}/{cm:UninstallProgram,Microsoft SQL Server 20000};
Filename: {uninstallexe}
[Registry]
;一个服务必须的
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER"
;
Flags: createvalueifdoesntexist uninsdeletekey deletekey
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER";
ValueType: dword ;
ValueName:"Type"
;
ValueData:16
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER";
ValueType: dword ;
ValueName:"Start"
;
ValueData:2 ;2自动3手动4禁用
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER";
ValueType: dword ;
ValueName:"Start"
;
ValueData:2
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER";
ValueType: dword ;
ValueName:"ErrorControl";
ValueData:1
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER";
ValueType: string;
ValueName:"ImagePath"
;
ValueData:"{app}/MSSQL/binn/sqlservr.exe "
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER";
ValueType: multisz;
ValueName:"DisplayName"
;
ValueData:"MSSQLSERVER"
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER";
ValueType: string;
ValueName:"ObjectName"
;
ValueData:"LocalSystem"
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Linkage";
ValueType: string;
ValueName:"Export";
ValueData:"MSSQLSERVER"
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: string;
ValueName:
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: string;
ValueName:"Library"
;
ValueData:"{app}/MSSQL/BINN/SQLCTR80.DLL"
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: string;
ValueName:"Collect"
;
ValueData:"CollectSQLPerformanceData"
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: string;
ValueName:"Open"
;
ValueData:"OpenSQLPerformanceData"
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: string;
ValueName:"Close"
;
ValueData:"CloseSQLPerformanceData"
;
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: dword;
ValueName:"Last Counter"
;
ValueData:2608
;dword:00000a31
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: dword;
ValueName:"Last Help"
;
ValueData:2609
;dword:0000091c
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: dword;
ValueName:"First Counter"
;
ValueData:2332
;dword:0000091d
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: dword;
ValueName:"First Help"
;
ValueData:2333
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: binary;
ValueName:"WbemAdapFileSignature";
ValueData:d6 a0 b9 c1 d1 85 78 63 4f 31 8b f2 18 51 1a 5d
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: binary;
ValueName:"WbemAdapFileTime"
;
ValueData:00 77 ec 41 50 fc c4 01
;dword:0000803b
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: string;
ValueName:"WbemAdapFileSize"
;
ValueData:32827
;dword:00000000
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: dword;
ValueName:"WbemAdapStatus"
;
ValueData:0
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Security";
ValueType: binary;
ValueName:"Security";
ValueData:01 00 14 80 90 00 00 00 9c 00 00 00 14 00 00 00 30 00 00 00 02 00 1c 00 01 00 00 00 02 80 14 00 ff 01 0f 00 01 01 00 00 00 00 00 01 00 00 00 00 02 00 60 00 04 00 00 00 00 00 14 00 fd 01 02 00 01 01 00 00 00 00 00 05 12 00 00 00 00 00 18 00 ff 01 0f 00 01 02 00 00 00 00 00 05 20 00 00 00 20 02 00 00 00 00 14 00 8d 01 02 00 01 01 00 00 00 00 00 05 0b 00 00 00 00 00 18 00 fd 01 02 00 01 02 00 00 00 00 00 05 20 00 00 00 23 02 00 00 01 01 00 00 00 00 00 05 12 00 00 00 01 01 00 00 00 00 00 05 12 00 00 00
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Enum";
ValueType: string;
ValueName:"0"
;
ValueData:"Root/LEGACY_MSSQLSERVER/0000"
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Enum";
ValueType: dword;
ValueName:"Count"
;
ValueData:1
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Enum";
ValueType: dword;
ValueName:"NextInstance";
ValueData:1
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Setup";
ValueType: string;
ValueName:"SQLPath"
;
ValueData:"{app}/MSSQL"
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Setup";
ValueType: string;
ValueName:"SQLDataRoot";
ValueData:"{app}/MSSQL"
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Setup";
ValueType: string;
ValueName:"SourcePath"
;
ValueData:
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Setup";
ValueType: dword;
ValueName:"firststart"
;
ValueData:00000000
;可能没有效果
;{--------写这一段需要系统级别权限,管理员权限都不行,需要手工填加,很麻烦!也不知道该怎么写才可以加进去。
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER"
;
ValueType: dword ;
ValueName:"NextInstance";
ValueData:00000001
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000"
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000";
ValueType: string;
ValueName:"Service"
;
ValueData:"MSSQLSERVER"
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000";
ValueType: dword ;
ValueName:"Legacy"
;
ValueData:00000001
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000";
ValueType: dword ;
ValueName:"ConfigFlags";
ValueData:00000000
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000";
ValueType: string;
ValueName:"Class"
;
ValueData:"LegacyDriver"
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000";
ValueType: string;
ValueName:"ClassGUID"
;
ValueData:"{{8ECC055D-047F-11D1-A537-0000F8753ED1}"
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000";
ValueType: string;
ValueName:"DeviceDesc"
;
ValueData:"MSSQLSERVER"
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000/Control"
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000/Control";
ValueType: dword;
ValueName:"*NewlyCreated*";
ValueData:00000000
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000/Control";
ValueType: string;
ValueName:"ActiveService";
ValueData:"MSSQLSERVER"
;------------------------------------------------------------------------------------------------------------------------------------}
;-------------------------服务管理器 下面的4行+5个文件企业管理器就可使用了!
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/Microsoft SQL Server"
;
Flags: createvalueifdoesntexist uninsdeletekey deletekey ;
Components:FW
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/Microsoft SQL Server/80/Tools/Service Manager";
ValueType: dword;
ValueName:"Action Verify";
ValueData:00000000 ;
Components:FW
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/Microsoft SQL Server/80/Tools/Service Manager";
ValueType:string;
ValueName:"Default";
ValueData:"MSSQLSERVER"
;
Components:FW
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/Microsoft SQL Server/80/Tools/Service Manager";
ValueType: dword;
ValueName:"Remote";
ValueData:00000001 ;
Components:FW
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/Microsoft SQL Server/80/Tools/Service Manager";
ValueType:binary;
ValueName:"Services";
ValueData:4d 00 53 00 44 00 54 00 43 00 00 00 00 00 ;
Components:FW
;---------------------------------------------------------------
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer"
;
flags: createvalueifdoesntexist uninsdeletekey deletekey
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
flags: createvalueifdoesntexist uninsdeletekey deletekey
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: binary;
ValueName:"ListenOn";ValueData:53 00 53 00 4d 00 53 00 53 00 48 00 37 00 30 00 00 00 53 00 53 00 4e 00 45 00 54 00 4c 00 49 00 42 00 00 00 00 00
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: dword ;
ValueName:"SetHostName";
ValueData:00000000
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: dword ;
ValueName:"AuditLevel"
;
ValueData:00000000
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: dword ;
ValueName:"LoginMode"
;
ValueData:00000002
;4294967295
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: dword ;
ValueName:"Tapeloadwaittime";
ValueData:429496729
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: string;
ValueName:"DefaultLogin";
ValueData:"guest"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: string;
ValueName:"Map_";
ValueData:"/"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: string;
ValueName:"Map#";
ValueData:"-"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: string;
ValueName:"Map$";
ValueData:""
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: string;
ValueName:"BackupDirectory";
ValueData:"{app}/MSSQL/BACKUP"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: string;
ValueName:"DefaultDomain";
ValueData:"{computername}"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: string;
ValueName:"DefaultCollationName";
ValueData:"Chinese_PRC_CI_AS"
;
000004cc
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: dword ;
ValueName:"uptime_pid";
ValueData:1112
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: binary;
ValueName:"uptime_time_utc";
ValueData:c4 e0 03 54 10 32 c6 01
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/CurrentVersion"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/CurrentVersion";
ValueType: binary;
ValueName:"checksum";
ValueData:37 33 32 32 63 31 35 38 61 65 37 64 34 63 64 37 35 30 64 61 30 33 34 62 37 64 63 33 37 64 64 61 62 33 30 38 33 35 66 64 32 65 64 65 34 34 32 39 61 30 65 38 34 35 63 65 62 64 34 31 35 37 65 38 37 33 32 61 62 62 61 33 36 36 63 35 37 35 38 61 38 33 65 35 61 36 39 34 63 38 39 36 62 39 36 61 32 33 36 33 35 38 62 35 38 32 30 36 35 36 35 66 66 39 34 30 30 64 32 36 33 34 35 36 62 35 62 65 38 35 62 62 63 32 33 62 33 64 62 34 30 37 62 32 37 61 64 63 00
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/CurrentVersion";
ValueType: string;
ValueName:"RegisteredOwner";
ValueData:"TRACKS"
;7de10040
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/CurrentVersion";
ValueType: dword;
ValueName:"SerialNumber";
ValueData:2111897664
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/CurrentVersion";
ValueType: string;
ValueName:"CurrentVersion";
ValueData:"8.00.194"
;
00000804
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/CurrentVersion";
ValueType: dword;
ValueName:"Language";
ValueData:2052
;
00000300
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/CurrentVersion";
ValueType: dword;
ValueName:"CSDVersionNumber";
ValueData:768
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/CurrentVersion";
ValueType: string;
ValueName:"CSDVersion";
ValueData:"8.00.760"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/Parameters";
ValueType: string;
ValueName:"SQLArg0";
ValueData:"-d{app}/MSSQL/data/master.mdf"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/Parameters";
ValueType: string;
ValueName:"SQLArg1";
ValueData:"-e{app}/MSSQL/log/ERRORLOG"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/Parameters";
ValueType: string;
ValueName:"SQLArg2";
ValueData:"-l{app}/MSSQL/data/mastlog.ldf"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/RPCNetLib"
;
ValueType: string;
ValueName:"Security";
ValueData:""
;74 00 63 00 70 00 00 00 6e 00 70 00 00 00 00 00
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/SuperSocketNetLib"
;
ValueType: multisz;
ValueName:"ProtocolList";
ValueData: tcp np
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/SuperSocketNetLib/Np"
;
ValueType: string;
ValueName:"PipeName";
ValueData:"//./pipe/sql/query"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/SuperSocketNetLib/Tcp";
ValueType: dword;
ValueName:"TcpHideFlag";
ValueData:00000000
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/SuperSocketNetLib/Tcp";
ValueType: string;
ValueName:"TcpPort";
ValueData:"1433"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/SuperSocketNetLib/Tcp";
ValueType: string;
ValueName:"TcpDynamicPorts";
ValueData:""
;---- 没有下面这个也能用
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/Setup";
ValueType: string;
ValueName:"SQLPath"
;
ValueData:"{app}/MSSQL"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/Setup";
ValueType: string;
ValueName:"SQLDataRoot";
ValueData:"{app}/MSSQL"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/Setup";
ValueType: string;
ValueName:"SourcePath"
;
ValueData:"g:/"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/Setup";
ValueType: dword ;
ValueName:"firststart"
;
ValueData:00000000
;-----------------------------------
[Run]
Filename: {app}/80/Tools/Binn/sqlmangr.exe;
Description: {cm:LaunchProgram,Microsoft SQL Server#SP3};
Flags: nowait postinstall skipifsilent
;--------------------------------------------------------------------------------------------------
;读到这里说明你完全明白此文档要说明的意思!!!
;安装密码:sql2000
没有修改数据库路径为相对路径,默认为安装在c:/{pf}/下
这个为提取的最小版本,已经通过有商业软件测试应用!
本人懒惰,没有加企业管理器部分,主要是注册表部分键值太多........
有改进请给我传一份!或者在这里共享出来!
你自己的程序可以在这个基础上加上去就可以了!
mnbsg
lsldemail@gmail.com
qq:378201228
-----------------------------------------------------------
;
声 明:
;
本包内的所有文件版权都归美国微软公司或者原作者所有.
;
本安装包纯粹为研究学习的产物.仅供个人研究学习参考测试使用
;警告:使用本程序可能会发生不可预知的灾难和错误,使用本安装包
;所产生的一切后果,本人概不负责,均由实际使用人自己承担。★★★
;制作本包目的: ★研究学习★
;学习中经常需要安装MS SQLServer 2000然后打SP3补丁.这样确实耽搁很
;多时间,为了可靠,又不敢用绿色版本.就想把安装好的SQLServer 2000并
;打好补丁文件用Inno Setup打包.这样安装速度就可以大大提高了,所以
;制作安装包的目的是为了提高安装速度.
;----------------------------------------------------------------
;把包放出来,一来方便大家一起研究学习,二来也想分享大家共同的成果.
;----------------------------------------------------------------
;如果这些文件从MSDE里提取,是否意味着这个包可以免费发布?????
;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
;经过测试,保留下面的文件+“DATA”下面的可以做为windows服务启动.
;{目前已经通过Delphi6+TADOquery连接执行select update INSERT} 一切
;正常
;MSSQL/binn/Resources/2052/sqlevn70.rll"
;MSSQL/binn/dbghelp.dll"
;MSSQL/binn/opends60.dll"
;MSSQL/binn/sqlboot.dll"
;MSSQL/binn/sqldata.dll"
;MSSQL/binn/sqlservr.exe"
;MSSQL/binn/sqlsort.dll"
;MSSQL/binn/ssnetlib.dll"
;MSSQL/binn/ums.dll"
;MSSQL/binn/xpstar.dll"
;MSSQL/data/master.mdf"
;MSSQL/data/mastlog.ldf"
;MSSQL/data/model.mdf"
;MSSQL/data/modellog.ldf"
;MSSQL/data/msdbdata.mdf"
;MSSQL/data/msdblog.ldf"
;MSSQL/data/tempdb.mdf"
;MSSQL/data/templog.ldf"
;mssql/log还必须有这个目录,主要是默认必须要有一个目录(空就行)
;backup这个目录没有可以运行,其他还没有测试,可以在注册表里改变位置
;{--------写这一段需要系统级别权限,管理员权限都不行,需要手工填加,
;很麻烦!也不知道该怎么写才可以加进去.
;还需要写[HKEY_LOCAL_MACHINE/SSYSTEM/CurrentControlSet/Enum/Root]
;LEGACY_MSSQLSERVER"
如果不写,目前来看不影响运行,但在服务管理器
;(services.msc)中查看MSSQLSERVER属性时,将提示“指定的设备实例句柄
;和目前的设备不一致”如果写了就好了,但是如果每次手工修改很麻烦,希
;望有高人指点在Inno Setup里就能搞定.
;
;
;
;----------------------------------------------------------------
;xpstar.dll:附加数据库
;
;企业管理器
;dtspkg.dll
;/resources/dtspkg.rll
;dtswiz.dll
;/resources/dtswiz.rll
;semcont.dll
;semcont.rll
;semcros.dll
;semcros.rll
;semdll.dll
;semdll.rll
;semdts.dll
;semdts.rll
;semexec.dl
;semexec.rll
;semmap.dll
;semmao.rll
;semnt.dll
;semnt.rll
;semobj.dll
;semobj.rll
;semrept.dll
;semrept.rll
;semsfc.dll
;semsfc.rll
;semsys.dll
;semsys.rll
;semwebwz.dll
;semwebwz.rll
;semwiz.dll
;semwiz.rll
;sqldmo.dll
;sqldmo.rll
;sqlftwiz.dll
;sqlftwiz.rll
;sqlgui.dll
;sqlgui.rll
;sqlmmc.dll
;sqlmmc.rll
;sqlns.dll
;sqlns.rll
;sqlresld.dll
;sqlresld.rll
;sqlsvc.dll
;sqlsvc.rll
;;w95scm.dll
;服务管理器
;sqlmangr.exe
;sqlmangr.rll
;sqlresld.dll
;sqlsvc.dll
;sqlsvc.rll
;w95scm.dll
;事件查看
;PFCLNT80。DLL
;PFCLNT80.RLL
;PFUTIL80.DLL
;PFUTIL80.RLL
;PROFILER.EXE
;PROFILER.RLL
;seMSFC.DLL
;sqLGUI.DLL
;sqLGUI.RLL
;sqLRESLD.DLL
;sqLSVC.DLL
;sqLSVC.RLL;
;W95SCM.DLL;
;研究中.....看看REDIST.TXT这个文件是有帮助的!.
;......
;
;
;---------------------------下面是本包的源码
[Setup]
AppName=Min{{MS SQLServer 2000}
AppVerName=Microsoft SQL Server 2000 SP3
AppPublisher=林锋{{QQ:378201228}
;AppPublisherURL=http://www.microsoft.com/
;AppSupportURL=http://www.microsoft.com/
;AppUpdatesURL=http://www.microsoft.com/
DefaultDirName={pf}/Microsoft SQL Server
DefaultGroupName=Microsoft SQL Server
LicenseFile=Min{sql2000+}.iss
;LicenseFile=/sql2ksp3/license.txt
;InfoBeforeFile=/LICENSE.TXT
InfoAfterFile=README.TXT
;OutputBaseFilename=setup
OutputBaseFilename=Min{{MS SQLServer 2000}
;Compression=none
;--调试状态
Password=sql2000
Compression=lzma
SolidCompression=yes
ShowTasksTreeLines=yes
WizardImageFile=setup1.bmp
WizardSmallImageFile=setup.bmp
[Types]
Name: "MIN"
;
Description: "最小安装"
Name: "ALL"
;
Description: "完全安装"
;Name: "TL"
: Description: "成都{{天力卓越软件/任我行软件}系列支持"
;Name: "TL"
: Description: "成都天力卓越系列软件支持"
Name: "ZDY"
;
Description: "自定义安装";
Flags: iscustom
;安装分类选项
[Components]
Name: "SVR"
;
Description: "数据库基本服务组件"
;
Types: ALL ZDY MIN ;
Flags: fixed
;成都天力卓越软件有限公司-成都任我行软件有限公司需要的库
Name: "TR"
;
Description: "药易通·精算·管家婆·千方百剂等软件必须组件"
;
Types: ALL ZDY
name: "FW"
;
Description: "服务管理器"
;
Types: ALL ZDY MIN
Name: "CX"
;
Description: "查询分析器"
;
Types: ALL ZDY
;Name: "QY"
;
Description: "企业管理器"
;
Types: ALL ZDY
[Files]
Source: "{app}/80/Tools/Binn/isqlw.exe"
;
DestDir: "{app}/80/Tools/Binn";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/objmgr.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/pfclnt80.dll";
DestDir: "{app}/80/Tools/Binn";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/pfutil80.dll";
DestDir: "{app}/80/Tools/Binn";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/semsfc.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/sqlgui.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/sqlqry.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: CX;
Flags: ignoreversion
;sqllex.dll关键字字体颜色
Source: "{app}/80/Tools/Binn/sqllex.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: CX;
Flags: ignoreversion regserver
Source: "{app}/80/Tools/Binn/sqlresld.dll";
DestDir: "{app}/80/Tools/Binn";
Components: CX FW;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/sqlsvc.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: CX FW;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/w95scm.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: CX FW;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/sqlmangr.exe";
DestDir: "{app}/80/Tools/Binn";
Components: FW ;
Flags: ignoreversion
;2007-06-08 新添加;精算管家婆等软件需要
;Source: "{app}/80/Tools/Binn/sqlvdir.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: TR ;
Flags: ignoreversion regserver
;Source: "{app}/80/Tools/Binn/sqlmmc.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: TR ;
Flags: ignoreversion regserver
;Source: "{app}/80/Tools/Binn/dtsui.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: TR ;
Flags: ignoreversion regserver
;Source: "{app}/80/Tools/Binn/semdts.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: TR ;
Flags: ignoreversion regserver
;Source: "{app}/80/Tools/Binn/cdwtskui.dll";
DestDir: "{app}/80/Tools/Binn";
Components: TR ;
Flags: ignoreversion regserver
;Source: "{app}/80/Tools/Binn/cdwtasks.dll";
DestDir: "{app}/80/Tools/Binn";
Components: TR ;
Flags: ignoreversion regserver
;===========================================
Source: "{app}/80/Tools/Binn/dtspkg.dll"
;
DestDir: "{app}/80/Tools/Binn"
;
Components: TR ;
Flags: ignoreversion regserver
Source: "{app}/80/Tools/Binn/Resources/2052/dtspkg.RLL"
;
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: TR ;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/axscphst.DLL"
;
DestDir: "{app}/80/Tools/Binn"
;
Components: TR ;
Flags: ignoreversion regserver
Source: "{app}/80/Tools/Binn/Resources/2052/axscphst.rll";
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: TR ;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/dtspump.DLL"
;
DestDir: "{app}/80/Tools/Binn"
;
Components: TR ;
Flags: ignoreversion regserver
Source: "{app}/80/Tools/Binn/Resources/2052/dtspump.RLL"
;
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: TR ;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/dtsffile.DLL"
;
DestDir: "{app}/80/Tools/Binn"
;
Components: TR ;
Flags: ignoreversion regserver
Source: "{app}/80/Tools/Binn/Resources/2052/dtsffile.RLL";
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: TR ;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/custtask.DLL"
;
DestDir: "{app}/80/Tools/Binn"
;
Components: TR ;
Flags: ignoreversion regserver
Source: "{app}/80/Tools/Binn/Resources/2052/Custtask.rll";
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: TR ;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/SQLDMO.dll"
;
DestDir: "{app}/80/Tools/Binn"
;
Components: TR ;
Flags: ignoreversion regserver
Source: "{app}/80/Tools/Binn/Resources/2052/Sqldmo.rll"
;
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: TR ;
Flags: ignoreversion
;=================================================
;Source: "{app}/80/Tools/Binn/sqlns.dll"
;
DestDir: "{app}/80/Tools/Binn";
Components: TR ;
Flags: ignoreversion regserver
;Source: "{app}/80/Tools/Binn/ctasksui.dll";
DestDir: "{app}/80/Tools/Binn";
Components: TR ;
Flags: ignoreversion regserver
;如果一般情况,可以注释掉上面的行------------------------
Source: "{app}/80/Tools/Binn/Resources/2052/sqlmangr.rll";
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: FW;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/Resources/2052/isqlw.rll"
;
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/Resources/2052/objmgr.RLL"
;
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/Resources/2052/pfclnt80.rll";
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/Resources/2052/pfutil80.rll";
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/Resources/2052/semsfc.rll"
;
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/Resources/2052/sqlgui.rll"
;
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/Resources/2052/sqlqry.rll"
;
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: CX;
Flags: ignoreversion
Source: "{app}/80/Tools/Binn/Resources/2052/sqlsvc.rll"
;
DestDir: "{app}/80/Tools/Binn/Resources/2052";
Components: CX FW;
Flags: ignoreversion
;----------------------------------------------------------------------------------------------------------------------
Source: "{app}/MSSQL/binn/Resources/2052/sqlevn70.rll";
DestDir: "{app}/MSSQL/binn/Resources/2052";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/dbghelp.dll"
;
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/opends60.dll";
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/sqlboot.dll"
;
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/sqldata.dll"
;
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/sqlservr.exe";
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/sqlsort.dll"
;
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/ssnetlib.dll";
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/ums.dll"
;
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/xpstar.dll"
;
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
;xplog70.dll扩展存储过程
Source: "{app}/MSSQL/binn/xplog70.dll"
;
DestDir: "{app}/MSSQL/binn";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/binn/Resources/2052/xplog70.RLL";
DestDir: "{app}/MSSQL/binn/Resources/2052";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/log/*"
;
DestDir: "{app}/MSSQL/log";
Components: "SVR";
Flags: ignoreversion
;------------------------------------------------------------------------------------------------------------------
;uninsneveruninstall 不卸载
Source: "{app}/MSSQL/data/master.mdf"
;
DestDir: "{app}/MSSQL/data";
Components: "SVR";
Flags: uninsneveruninstall
Source: "{app}/MSSQL/data/mastlog.ldf"
;
DestDir: "{app}/MSSQL/data";
Components: "SVR";
Flags: uninsneveruninstall
Source: "{app}/MSSQL/data/model.mdf"
;
DestDir: "{app}/MSSQL/data";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/data/modellog.ldf";
DestDir: "{app}/MSSQL/data";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/data/msdbdata.mdf";
DestDir: "{app}/MSSQL/data";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/data/msdblog.ldf"
;
DestDir: "{app}/MSSQL/data";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/data/tempdb.mdf"
;
DestDir: "{app}/MSSQL/data";
Components: "SVR";
Flags: ignoreversion
Source: "{app}/MSSQL/data/templog.ldf";
DestDir: "{app}/MSSQL/data";
Components: "SVR";
Flags: ignoreversion
;
注意: 不要在任何共享系统文件中使用“Flags: ignoreversion”
[Icons]
Name: {group}/服务管理器;
Filename: {app}/80/Tools/Binn/sqlmangr.exe ;IconFilename:"{app}/80/Tools/Binn/Resources/2052/sqlmangr.rll"
;IconIndex:0 ;
Components:FW ;WorkingDir:{app}/80/Tools/BINN ;
Comment:启动数据库
;Name: {group}/企业管理器;
Filename: "{sys}/mmc.exe ";
Parameters:"/s ""{app}/80/Tools/BINN/SQL Server Enterprise Manager.MSC""";WorkingDir:{app}/80/Tools/BINN ;
Components:FW
Name: {group}/查询分析器;
Filename: {app}/80/Tools/Binn/isqlw.exe ;
Components:CX ;WorkingDir:{app}/80/Tools/BINN
Name: {group}/{cm:UninstallProgram,Microsoft SQL Server 20000};
Filename: {uninstallexe}
[Registry]
;一个服务必须的
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER"
;
Flags: createvalueifdoesntexist uninsdeletekey deletekey
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER";
ValueType: dword ;
ValueName:"Type"
;
ValueData:16
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER";
ValueType: dword ;
ValueName:"Start"
;
ValueData:2 ;2自动3手动4禁用
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER";
ValueType: dword ;
ValueName:"Start"
;
ValueData:2
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER";
ValueType: dword ;
ValueName:"ErrorControl";
ValueData:1
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER";
ValueType: string;
ValueName:"ImagePath"
;
ValueData:"{app}/MSSQL/binn/sqlservr.exe "
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER";
ValueType: multisz;
ValueName:"DisplayName"
;
ValueData:"MSSQLSERVER"
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER";
ValueType: string;
ValueName:"ObjectName"
;
ValueData:"LocalSystem"
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Linkage";
ValueType: string;
ValueName:"Export";
ValueData:"MSSQLSERVER"
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: string;
ValueName:
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: string;
ValueName:"Library"
;
ValueData:"{app}/MSSQL/BINN/SQLCTR80.DLL"
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: string;
ValueName:"Collect"
;
ValueData:"CollectSQLPerformanceData"
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: string;
ValueName:"Open"
;
ValueData:"OpenSQLPerformanceData"
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: string;
ValueName:"Close"
;
ValueData:"CloseSQLPerformanceData"
;
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: dword;
ValueName:"Last Counter"
;
ValueData:2608
;dword:00000a31
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: dword;
ValueName:"Last Help"
;
ValueData:2609
;dword:0000091c
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: dword;
ValueName:"First Counter"
;
ValueData:2332
;dword:0000091d
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: dword;
ValueName:"First Help"
;
ValueData:2333
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: binary;
ValueName:"WbemAdapFileSignature";
ValueData:d6 a0 b9 c1 d1 85 78 63 4f 31 8b f2 18 51 1a 5d
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: binary;
ValueName:"WbemAdapFileTime"
;
ValueData:00 77 ec 41 50 fc c4 01
;dword:0000803b
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: string;
ValueName:"WbemAdapFileSize"
;
ValueData:32827
;dword:00000000
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Performance";
ValueType: dword;
ValueName:"WbemAdapStatus"
;
ValueData:0
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Security";
ValueType: binary;
ValueName:"Security";
ValueData:01 00 14 80 90 00 00 00 9c 00 00 00 14 00 00 00 30 00 00 00 02 00 1c 00 01 00 00 00 02 80 14 00 ff 01 0f 00 01 01 00 00 00 00 00 01 00 00 00 00 02 00 60 00 04 00 00 00 00 00 14 00 fd 01 02 00 01 01 00 00 00 00 00 05 12 00 00 00 00 00 18 00 ff 01 0f 00 01 02 00 00 00 00 00 05 20 00 00 00 20 02 00 00 00 00 14 00 8d 01 02 00 01 01 00 00 00 00 00 05 0b 00 00 00 00 00 18 00 fd 01 02 00 01 02 00 00 00 00 00 05 20 00 00 00 23 02 00 00 01 01 00 00 00 00 00 05 12 00 00 00 01 01 00 00 00 00 00 05 12 00 00 00
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Enum";
ValueType: string;
ValueName:"0"
;
ValueData:"Root/LEGACY_MSSQLSERVER/0000"
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Enum";
ValueType: dword;
ValueName:"Count"
;
ValueData:1
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Enum";
ValueType: dword;
ValueName:"NextInstance";
ValueData:1
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Setup";
ValueType: string;
ValueName:"SQLPath"
;
ValueData:"{app}/MSSQL"
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Setup";
ValueType: string;
ValueName:"SQLDataRoot";
ValueData:"{app}/MSSQL"
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Setup";
ValueType: string;
ValueName:"SourcePath"
;
ValueData:
Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Services/MSSQLSERVER/Setup";
ValueType: dword;
ValueName:"firststart"
;
ValueData:00000000
;可能没有效果
;{--------写这一段需要系统级别权限,管理员权限都不行,需要手工填加,很麻烦!也不知道该怎么写才可以加进去。
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER"
;
ValueType: dword ;
ValueName:"NextInstance";
ValueData:00000001
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000"
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000";
ValueType: string;
ValueName:"Service"
;
ValueData:"MSSQLSERVER"
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000";
ValueType: dword ;
ValueName:"Legacy"
;
ValueData:00000001
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000";
ValueType: dword ;
ValueName:"ConfigFlags";
ValueData:00000000
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000";
ValueType: string;
ValueName:"Class"
;
ValueData:"LegacyDriver"
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000";
ValueType: string;
ValueName:"ClassGUID"
;
ValueData:"{{8ECC055D-047F-11D1-A537-0000F8753ED1}"
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000";
ValueType: string;
ValueName:"DeviceDesc"
;
ValueData:"MSSQLSERVER"
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000/Control"
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000/Control";
ValueType: dword;
ValueName:"*NewlyCreated*";
ValueData:00000000
;Root: HKLM;
Subkey: "SYSTEM/CurrentControlSet/Enum/Root/LEGACY_MSSQLSERVER/0000/Control";
ValueType: string;
ValueName:"ActiveService";
ValueData:"MSSQLSERVER"
;------------------------------------------------------------------------------------------------------------------------------------}
;-------------------------服务管理器 下面的4行+5个文件企业管理器就可使用了!
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/Microsoft SQL Server"
;
Flags: createvalueifdoesntexist uninsdeletekey deletekey ;
Components:FW
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/Microsoft SQL Server/80/Tools/Service Manager";
ValueType: dword;
ValueName:"Action Verify";
ValueData:00000000 ;
Components:FW
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/Microsoft SQL Server/80/Tools/Service Manager";
ValueType:string;
ValueName:"Default";
ValueData:"MSSQLSERVER"
;
Components:FW
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/Microsoft SQL Server/80/Tools/Service Manager";
ValueType: dword;
ValueName:"Remote";
ValueData:00000001 ;
Components:FW
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/Microsoft SQL Server/80/Tools/Service Manager";
ValueType:binary;
ValueName:"Services";
ValueData:4d 00 53 00 44 00 54 00 43 00 00 00 00 00 ;
Components:FW
;---------------------------------------------------------------
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer"
;
flags: createvalueifdoesntexist uninsdeletekey deletekey
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
flags: createvalueifdoesntexist uninsdeletekey deletekey
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: binary;
ValueName:"ListenOn";ValueData:53 00 53 00 4d 00 53 00 53 00 48 00 37 00 30 00 00 00 53 00 53 00 4e 00 45 00 54 00 4c 00 49 00 42 00 00 00 00 00
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: dword ;
ValueName:"SetHostName";
ValueData:00000000
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: dword ;
ValueName:"AuditLevel"
;
ValueData:00000000
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: dword ;
ValueName:"LoginMode"
;
ValueData:00000002
;4294967295
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: dword ;
ValueName:"Tapeloadwaittime";
ValueData:429496729
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: string;
ValueName:"DefaultLogin";
ValueData:"guest"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: string;
ValueName:"Map_";
ValueData:"/"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: string;
ValueName:"Map#";
ValueData:"-"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: string;
ValueName:"Map$";
ValueData:""
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: string;
ValueName:"BackupDirectory";
ValueData:"{app}/MSSQL/BACKUP"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: string;
ValueName:"DefaultDomain";
ValueData:"{computername}"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: string;
ValueName:"DefaultCollationName";
ValueData:"Chinese_PRC_CI_AS"
;
000004cc
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: dword ;
ValueName:"uptime_pid";
ValueData:1112
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer";
ValueType: binary;
ValueName:"uptime_time_utc";
ValueData:c4 e0 03 54 10 32 c6 01
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/CurrentVersion"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/CurrentVersion";
ValueType: binary;
ValueName:"checksum";
ValueData:37 33 32 32 63 31 35 38 61 65 37 64 34 63 64 37 35 30 64 61 30 33 34 62 37 64 63 33 37 64 64 61 62 33 30 38 33 35 66 64 32 65 64 65 34 34 32 39 61 30 65 38 34 35 63 65 62 64 34 31 35 37 65 38 37 33 32 61 62 62 61 33 36 36 63 35 37 35 38 61 38 33 65 35 61 36 39 34 63 38 39 36 62 39 36 61 32 33 36 33 35 38 62 35 38 32 30 36 35 36 35 66 66 39 34 30 30 64 32 36 33 34 35 36 62 35 62 65 38 35 62 62 63 32 33 62 33 64 62 34 30 37 62 32 37 61 64 63 00
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/CurrentVersion";
ValueType: string;
ValueName:"RegisteredOwner";
ValueData:"TRACKS"
;7de10040
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/CurrentVersion";
ValueType: dword;
ValueName:"SerialNumber";
ValueData:2111897664
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/CurrentVersion";
ValueType: string;
ValueName:"CurrentVersion";
ValueData:"8.00.194"
;
00000804
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/CurrentVersion";
ValueType: dword;
ValueName:"Language";
ValueData:2052
;
00000300
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/CurrentVersion";
ValueType: dword;
ValueName:"CSDVersionNumber";
ValueData:768
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/CurrentVersion";
ValueType: string;
ValueName:"CSDVersion";
ValueData:"8.00.760"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/Parameters";
ValueType: string;
ValueName:"SQLArg0";
ValueData:"-d{app}/MSSQL/data/master.mdf"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/Parameters";
ValueType: string;
ValueName:"SQLArg1";
ValueData:"-e{app}/MSSQL/log/ERRORLOG"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/Parameters";
ValueType: string;
ValueName:"SQLArg2";
ValueData:"-l{app}/MSSQL/data/mastlog.ldf"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/RPCNetLib"
;
ValueType: string;
ValueName:"Security";
ValueData:""
;74 00 63 00 70 00 00 00 6e 00 70 00 00 00 00 00
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/SuperSocketNetLib"
;
ValueType: multisz;
ValueName:"ProtocolList";
ValueData: tcp np
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/SuperSocketNetLib/Np"
;
ValueType: string;
ValueName:"PipeName";
ValueData:"//./pipe/sql/query"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/SuperSocketNetLib/Tcp";
ValueType: dword;
ValueName:"TcpHideFlag";
ValueData:00000000
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/SuperSocketNetLib/Tcp";
ValueType: string;
ValueName:"TcpPort";
ValueData:"1433"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/MSSQLServer/SuperSocketNetLib/Tcp";
ValueType: string;
ValueName:"TcpDynamicPorts";
ValueData:""
;---- 没有下面这个也能用
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/Setup";
ValueType: string;
ValueName:"SQLPath"
;
ValueData:"{app}/MSSQL"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/Setup";
ValueType: string;
ValueName:"SQLDataRoot";
ValueData:"{app}/MSSQL"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/Setup";
ValueType: string;
ValueName:"SourcePath"
;
ValueData:"g:/"
Root: HKLM;
Subkey: "SOFTWARE/Microsoft/MSSQLServer/Setup";
ValueType: dword ;
ValueName:"firststart"
;
ValueData:00000000
;-----------------------------------
[Run]
Filename: {app}/80/Tools/Binn/sqlmangr.exe;
Description: {cm:LaunchProgram,Microsoft SQL Server#SP3};
Flags: nowait postinstall skipifsilent
;--------------------------------------------------------------------------------------------------
;读到这里说明你完全明白此文档要说明的意思!!!
;安装密码:sql2000