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


郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。