inno setup打包应用程序
2013-05-29 11:35
267 查看
使用创建向导
生成脚本
生成脚本
#define MyAppName "back" #define MyAppVersion "1.5" #define MyAppPublisher "我的公司" #define MyAppURL "http://www.example.com/" #define MyAppExeName "MyProg.exe" [Setup] ; 注: AppId的值为单独标识该应用程序。 ; 不要为其他安装程序使用相同的AppId值。 ; (生成新的GUID,点击 工具|在IDE中生成GUID。) AppId={{A30CC69D-E4F5-46D2-A4A2-58B557BC6ACA} AppName={#MyAppName} AppVersion={#MyAppVersion} ;AppVerName={#MyAppName} {#MyAppVersion} AppPublisher={#MyAppPublisher} AppPublisherURL={#MyAppURL} AppSupportURL={#MyAppURL} AppUpdatesURL={#MyAppURL} DefaultDirName={pf}\{#MyAppName} DefaultGroupName={#MyAppName} OutputBaseFilename=bak Compression=lzma SolidCompression=yes [Languages] Name: "chinesesimp"; MessagesFile: "compiler:Default.isl" [Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1 [Files] Source: "C:\Program Files\Inno Setup 5\Examples\MyProg.exe"; DestDir: "{app}"; Flags: ignoreversion Source: "D:\cron\back.bat"; DestDir: "{app}"; Flags: ignoreversion Source: "D:\cron\back_add.bat"; DestDir: "{app}"; Flags: ignoreversion ; 注意: 不要在任何共享系统文件上使用“Flags: ignoreversion” [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 ;自动运行bat脚本 Filename:"{app}\back_add.bat"; Flags: nowait runhidden;编译即可。
相关文章推荐
- launch4j 与 inno setup 打包java桌面应用程序
- 使用 Inno Setup 快速打包你的应用程序
- 使用 Inno Setup 快速打包你的应用程序
- InnoSetup打包exe安装应用程序,并添加卸载图标
- [InnoSetup]Inno Setup软件打包脚本
- Java打包成jar,并且通过exe4j做成exe文件,然后利用inno做成setup文件
- 关于用Inno setup打包
- InnoSetup 打包文件夹的解决方案
- 分享一个自用的 Inno Setup 软件打包脚本
- 如何利用Python2.7、py2exe、PyInstaller-2.1将*.py打包成*.exe,再利用Inno Setup Compiler封装成windows安装文件
- 关于打包程序INNO SetUp软件的使用心得
- 用inno Setup做应用程序安装包的示例脚本(.iss文件)
- Innosetup打包自动下载.net framework 动态库及替换卸载程序图标.
- Inno Setup 打包工具 调用MSI格式
- 打包静默安装参数(nsis,msi,InstallShield,InnoSetup)
- ANT方法中集成应用程序(Inno Setup)
- 重新打包版Inno Setup 5.2.3
- Inno Setup Compiler 将exe打包setup安装文件
- InstallShield和InnoSetup两种打包工具的静默安装/卸载
- 用inno Setup做应用程序安装包的示例脚本(.iss文件)