• 安装包范例


    ; Script generated by the Inno Setup Script Wizard.
    ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
    
    #define MyAppName "快销系统"
    #define MyAppVersion "1.5"
    #define MyAppPublisher "DM"
    #define MyAppURL "http://www.dm.com/"
    #define MyAppExeName "UI.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={{1043927D-FBAC-4A63-BC24-C6BF39BF3266}
    AppName={#MyAppName}
    AppVersion={#MyAppVersion}
    ;AppVerName={#MyAppName} {#MyAppVersion}
    AppPublisher={#MyAppPublisher}
    AppPublisherURL={#MyAppURL}
    AppSupportURL={#MyAppURL}
    AppUpdatesURL={#MyAppURL}
    DefaultDirName={pf}{#MyAppName}
    DefaultGroupName=快销系统
    OutputDir=D:Program Files (x86)DM
    OutputBaseFilename=快销系统
    SetupIconFile=D:workDMUI32.ico
    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:workDMUIinDebugUI.exe"; DestDir: "{app}"; Flags: ignoreversion
    Source: "D:workDMUIinDebugBaseControls.dll"; DestDir: "{app}"; Flags: ignoreversion
    Source: "D:workDMUIinDebugBusinessLogic.dll"; DestDir: "{app}"; Flags: ignoreversion
    ;Source: "D:workDMUIinDebugConnect.ini"; DestDir: "{app}"; Flags: ignoreversion
    Source: "D:workDMUIinDebugDBAccesser.dll"; DestDir: "{app}"; Flags: ignoreversion
    Source: "D:workDMUIinDebugModel.dll"; DestDir: "{app}"; Flags: ignoreversion
    Source: "D:workDMUIinDebugNPOI.dll"; DestDir: "{app}"; Flags: ignoreversion
    Source: "D:workDMUIinDebugUI.exe.config"; DestDir: "{app}"; Flags: ignoreversion
    Source: "D:workDMUIinDebugAutoUpdate.exe"; DestDir: "{app}"; Flags: ignoreversion
    Source: "D:workDMUIinDebugAutoUpdate.exe.config"; DestDir: "{app}"; Flags: ignoreversion
    Source: "D:workDMUIinDebugFileList.xml"; DestDir: "{app}"; Flags: ignoreversion
    Source: "D:	estSetupDMSetupDMSetupDMDebugDotNetFX40dotNetFx40_Full_x86_x64.exe";DestDir:"{app}";Flags:ignoreversion;
    Source: "D:	estSetupDMSetupDMSetupDMDebugDotNetFX40dotNetFx40LP_Full_x86_x64zh-Hans.exe";DestDir:"{app}";Flags:ignoreversion;
    Source: "D:workDMUIinDebugSearchNet.bat"; DestDir: "{app}"; Flags: ignoreversion
    ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
    
    [Icons]
    Name: "{group}{#MyAppName}"; Filename: "{app}{#MyAppExeName}"
    Name: "{commondesktop}{#MyAppName}"; Filename: "{app}{#MyAppExeName}"; Tasks: desktopicon
    Name: "{group}卸载.exe"; Filename: "{uninstallexe}" 
    
    [Run]
    ;Filename: "{app}dotNetFx40_Client_x86_x64.exe"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
    Filename: "{app}SearchNet.bat";
    ; Script generated by the Inno Setup Script Wizard.
    ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
    
    [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={{B174F507-33BB-4B49-B8ED-84B4F25CC787}
    AppName=DMServer
    AppVersion=1.5
    ;AppVerName=DMServer 1.5
    AppPublisher=My Company, Inc.
    AppPublisherURL=http://www.example.com/
    AppSupportURL=http://www.example.com/
    AppUpdatesURL=http://www.example.com/
    DefaultDirName={pf}DMServer
    DefaultGroupName=DMServer
    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:workDMDMServerinDebugDMServer.exe"; DestDir: "{app}"; Flags: ignoreversion
    Source: "D:workDMDMServerinDebug*"; DestDir: "{app}"; Flags: ignoreversion
    Source: "D:	estSetupDMSetupDMSetupDMDebugDotNetFX40dotNetFx40_Full_x86_x64.exe";DestDir:"{app}";Flags:ignoreversion;
    Source: "D:	estSetupDMSetupDMSetupDMDebugDotNetFX40dotNetFx40LP_Full_x86_x64zh-Hans.exe";DestDir:"{app}";Flags:ignoreversion;
    Source: "D:workDMUIinDebugSearchNet.bat"; DestDir: "{app}"; Flags: ignoreversion
    ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
    
    [Icons]
    Name: "{group}DMServer"; Filename: "{app}DMServer.exe"
    Name: "{commondesktop}DMServer"; Filename: "{app}DMServer.exe"; Tasks: desktopicon
    Name: "{group}卸载.exe"; Filename: "{uninstallexe}" 
    
    [Run]
    Filename: "{app}DMServer.exe"; Description: "{cm:LaunchProgram,DMServer}"; Flags: nowait postinstall skipifsilent
    Filename: "{app}SearchNet.bat";
  • 相关阅读:
    对象比较
    ObservableCollection<T> 的同类 ListCollectionView
    数据模板--DataTemplate
    ListBox的虚拟可视化技术
    WPF 动画 和 色彩 的随笔
    Binding.RelativeSource 属性
    javascript基础DOM操作
    js dom 操作技巧
    js 内置对象和方法 示例
    javascript 编程技巧
  • 原文地址:https://www.cnblogs.com/wpcnblog/p/3927085.html
Copyright © 2020-2023  润新知