安装包范例

; 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:\work\DM\UI\32.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:\work\DM\UI\bin\Debug\UI.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\work\DM\UI\bin\Debug\BaseControls.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\work\DM\UI\bin\Debug\BusinessLogic.dll"; DestDir: "{app}"; Flags: ignoreversion
;Source: "D:\work\DM\UI\bin\Debug\Connect.ini"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\work\DM\UI\bin\Debug\DBAccesser.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\work\DM\UI\bin\Debug\Model.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\work\DM\UI\bin\Debug\NPOI.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\work\DM\UI\bin\Debug\UI.exe.config"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\work\DM\UI\bin\Debug\AutoUpdate.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\work\DM\UI\bin\Debug\AutoUpdate.exe.config"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\work\DM\UI\bin\Debug\FileList.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\test\SetupDM\SetupDM\SetupDM\Debug\DotNetFX40\dotNetFx40_Full_x86_x64.exe";DestDir:"{app}";Flags:ignoreversion;
Source: "D:\test\SetupDM\SetupDM\SetupDM\Debug\DotNetFX40\dotNetFx40LP_Full_x86_x64zh-Hans.exe";DestDir:"{app}";Flags:ignoreversion;
Source: "D:\work\DM\UI\bin\Debug\SearchNet.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:\work\DM\DMServer\bin\Debug\DMServer.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\work\DM\DMServer\bin\Debug\*"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\test\SetupDM\SetupDM\SetupDM\Debug\DotNetFX40\dotNetFx40_Full_x86_x64.exe";DestDir:"{app}";Flags:ignoreversion;
Source: "D:\test\SetupDM\SetupDM\SetupDM\Debug\DotNetFX40\dotNetFx40LP_Full_x86_x64zh-Hans.exe";DestDir:"{app}";Flags:ignoreversion;
Source: "D:\work\DM\UI\bin\Debug\SearchNet.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";

安装包范例

时间: 2024-10-29 04:10:42

安装包范例的相关文章

win7平台下QT软件的打包与发布 (利用NSIS脚本制作安装包)

接上文:http://blog.csdn.net/shallen320/article/details/44915649 上文介绍了如何查找Qt程序依耐性,如何利用NSIS 和 .zip文件制作简单的压缩包.上文所用的方法制作的安装包十分简单,连创建桌面快捷方式都没有.本文介绍如何使用NSIS脚本语言制作一个略微复杂的安装包. 下面是我使用的NSIS脚本语言范例,含有简单全面的功能,包括: 设置安装文件版本,公司,版权信息 安装拷贝指定文件 创建开始菜单,桌面快捷方式 创建卸载程序,并能在win

Mac下获取AppStore安装包文件路径

本文介绍了Mac下如何找到AppStore下载的安装包路径,以及如何提取出来供以后使用的相关步骤,希望对大家有所帮助. 通过远在大洋彼岸的苹果服务器下载东西,确实有够慢啊!AppStore更甚:甚至都经常提示连不上服务器,而有些软件呢,还必须从AppStore下载安装,所以没办法,谁让上了苹果的贼船呢!公司的网速更是不敢恭维,以至于基本上不下东西,除非像这次一样:手贱的把iPhone6升级到8.2.2了,然后Xcode6.1.1真机调试不成了,所以需要下个Xcode6.2.昨天刚更新的Xcode

MySQL 5.6.26几种安装包的区别

http://downloads.mysql.com/archives/community/ 一.MySQL Installer 5.6.26 mysql-installer-community-5.6.26.0.msi, 364.2MBMySQL Installer 提供了简单易用.向导式的 MySQL 软件的安装体验过程(目前只支持 Windows),包含的产品有:MySQL Server,所有的 connectors,Workbench 和示例模型,示例数据库,文档.该安装包大而全. 二.

InnoSetup安装包制作流程

安装包制作流 1.新建一个向导项目或复制一份已有的项目. 2.修改:主程序名.版本.发布人.程序名. 3.修改安装目录(DefaultDirName={pf}\eCallSystem\{#MyAppName}).安装包生成目录(OutputDir=..\Publish\Dashboard).开始菜单目录 (DefaultGroupName=eCallSystem\Dashboard). 4.添加所有要导入(Source: "..\Compile\Dashboard\WarehouseDashbo

(转)Windows下pip安装包报错:Microsoft Visual C++ 9.0 is required Unable to find vcvarsall.bat

刚在机器上windows环境下装上pip方便以后安装包的时候使用,谁知道第一次使用pip安装asyncio的时候就报错. 在Windows7x64下使用pip安装包的时候提示报错:Microsoft Visual C++ 9.0 is required  (Unable to find vcvarsall.bat) 环境:windows7 x64 ,python2.7 ,VS2012 原因:windows下使用pip安装包的时候需要机器装有vs2008,VS2012还不行,如果不想装VS2008

【转】利用xcode生成的app生成可以在iphone和itouch上运行的ipa安装包

转载地址:http://blog.csdn.net/yohunl/article/details/5971252 在编译好的真机版目录下的.app文件,至于生成真机可以运行的app的方法,有两种方式,一种是交99美元获得一个证书,另外一种是破解的方式,在此不再详述,本文假设你已经生成了真机上可以运行的app包了(app包实际上是一个文件夹) 假设此安装包的名称是 hello.app,点击右键,选择 显示包内容,这样就可以打开这个hello.app文件夹了,在此文件夹中有一个info.plist文

CentOS和Ubuntu下安装配置Greenplum数据库集群(包括安装包和源码编译安装)

http://blog.csdn.net/prettyshuang/article/details/50501904 首先说一下,无论是CentOS/RedHat还是Ubuntu都可以按源码方式.安装包方式编译安装. 1.   规划 192.168.4.93(h93)       1个主master  2个主segment.2个镜像segment 192.168.4.94(h94)       1个备master  2个主segment.2个镜像segment 都安装在/home/wslu/gp

Advanced Installer 打包后,安装包在WIN10下重启后再次运行安装的解决办法

原文:Advanced Installer 打包后,安装包在WIN10下重启后再次运行安装的解决办法 前几个月使用Advanced Installer 打包了一堆安装包,其中有使用默认主题的,也有根据UI设计更改过一些功能的,当时在Windows7下测试没有任何问题,就直接上线给用户使用了. 这两天在禅道上发现指派了一个BUG过来,描述的内容是在Windows10下安装包会出现重启后再次自动运行的问题,见鬼了,没有写过自启动注册表啊,马上打开工程查看,发现了一个很奇怪的现象,下面来介绍. 1.当

Linux的安装包命令/yum 与 Rpm

1.Rpm安装包命令(以dhcp软件包为例)----Rpm安装软件包需要解决依赖性,因此特别麻烦(如图2被需要). rpm与yum安装的均为二进制软件包.类似于windows下载的软件包,可直接安装使用. rpm -qa | grep dhcp 查看系统是否安装dhcp*软件包 rpm -ivh dhcp          安装软件包(i--install  v) rpm -e  dhcp            卸载软件包 rpm  -ql  dhcp           软件包安装路径 rpm