inno setup制作网页ocx控件发布程序执行包



; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "UnionKdm"
#define MyAppVersion "1.0.0.3"
#define MyAppPublisher "UNION"
#define MyAppURL "http://www.example.com/"
;#define MyAppExeName "UnionKdm.exe"

[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{8BBC4D51-461C-450E-A65E-79D73EF11BF0}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
OutputBaseFilename=setup
Compression=lzma
SolidCompression=yes

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
;Source: "D:\Program Files (x86)\Inno Setup 5\Examples\UnionKdm.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\Desktop\自学\新建文件夹\UnionKdmOcx\UnionKdm.ocx"; DestDir: "{app}"; Flags: regserver
Source: "D:\Desktop\自学\新建文件夹\UnionKdmOcx\kdm_dll.dll"; DestDir: "{app}"; Flags:  ignoreversion
Source: "D:\Desktop\自学\新建文件夹\UnionKdmOcx\UnionKdm.inf"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
Source: "D:\Desktop\自学\新建文件夹\UnionKdmOcx\UnionKdm.ocx"; DestDir: "{app}"; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile
Source: "D:\Desktop\自学\新建文件夹\UnionKdmOcx\kdm_dll.dll"; DestDir: "{app}"; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile
Source: "D:\Desktop\自学\新建文件夹\UnionKdmOcx\UnionKdm.inf"; DestDir: "{app}"; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile

[Icons]
;Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
;Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

[Run]
;Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值