AS_AP
驱动牛犊
驱动牛犊
  • 注册日期2003-08-22
  • 最后登录2011-05-09
  • 粉丝0
  • 关注0
  • 积分95分
  • 威望63点
  • 贡献值0点
  • 好评度17点
  • 原创分0分
  • 专家分0分
阅读:2931回复:2

how to pack VB6application

楼主#
更多 发布于:2007-03-02 17:14
  http://www.jrsoftware.org/iskb.php?vb
按归上面的说明,就是不成功呢,
哪位大哥可指点一下呢。

最新喜欢:

wingmanwingma...
favinc
驱动牛犊
驱动牛犊
  • 注册日期2004-11-01
  • 最后登录2008-03-01
  • 粉丝0
  • 关注0
  • 积分30分
  • 威望3点
  • 贡献值0点
  • 好评度3点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2007-03-02 19:31
一、需要加入VB的支持文件,可到
http://www.jrsoftware.org/download.php/vb6sp6sys.zip
下载。然后解压到本地文件夹vbfiles。
二、粘贴以下行到inno setup的项目文件中:
; begin VB system files
; (Note: Scroll to the right to see the full lines!)
Source: "vbfiles\stdole2.tlb";  DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regtypelib
Source: "vbfiles\msvbvm60.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "vbfiles\oleaut32.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "vbfiles\olepro32.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "vbfiles\asycfilt.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile
Source: "vbfiles\comcat.dll";   DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
; end VB system files
;Installing OCXs
Source: "ComCtl32.ocx"; DestDir: "{sys}"; Flags: restartreplace sharedfile regserver

三、设置管理员权限
[Setup]
...
PrivilegesRequired=admin
...


enjob!
有容乃度,不爱无忧。
AS_AP
驱动牛犊
驱动牛犊
  • 注册日期2003-08-22
  • 最后登录2011-05-09
  • 粉丝0
  • 关注0
  • 积分95分
  • 威望63点
  • 贡献值0点
  • 好评度17点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2007-03-05 16:22
you ar right ,
but , the ComCtl32.ocx need manul find.
Thanks.
你是如何理解如下文字的呢,
Translating a SETUP.LST file created with
the P&D wizard
The following information was supplied by Michael Reitz.
1. Use the P&D wizard to generate the Setup.lst file.
2. Look through the Setup.lst file and do the following:
o Use the suggested "VB system files" entries from above
for the [Bootstrap Files] section. You don't need to include
xxxSTKIT.DLL (i.e. VB6STKIT.DLL).
The VB6xx.DLL (i.e. VB6DE.DLL) contains the
"International Resources for Visual Basic Environment".
You may include it in your installation for getting VB error
messages and some VB standard dialogs in your native
language.
o Create [Files] section entries for all rows of the [Setup1
Files] section, translating the VB constants/flags using
the following rules:
$(AppPath) {app} constant
$(WinSysPathSysFile) {sys} constant
$(WinSysPath) {sys} constant
$(DLLSelfRegister) regserver flag
$(Shared) sharedfile flag
$(TLBRegister) regtypelib flag
$(MSDAOPath) {dao} constant
$(EXESelfRegister) use the [Run] section for
"MyApp.exe /RegServer"
use the [UninstallRun] section for
"MyApp.exe /UnregServer
o
3. Check the REDIST.TXT files (which come with your developer
tools) for information about which files you are allowed to
redistribute.
游客

返回顶部