====== Inno Setup ====== ===== Скрипт сборки программы ===== ; Script generated by the Inno Script Studio Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "Справки БК" #define MyAppVersion "2.3.0.0" #define MyAppPublisher "НПП Инфоком Сервис" #define MyAppURL "http://gossluzhba.gov.ru/page/index/spravki_bk" #define MyAppExeName "БК.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={{00000000-0000-0000-0000-000000000000} AppName={#MyAppName} AppVersion={#MyAppVersion} ;AppVerName={#MyAppName} {#MyAppVersion} AppPublisher={#MyAppPublisher} AppPublisherURL={#MyAppURL} AppSupportURL={#MyAppURL} AppUpdatesURL={#MyAppURL} DefaultDirName={sd}\{#MyAppName} DefaultGroupName={#MyAppName} DisableProgramGroupPage=yes InfoBeforeFile=C:\Users\user\Documents\Scripts\Inno setup\SpravkiBK_readme.txt OutputDir=C:\Users\user\Documents\Scripts\Inno setup\Output OutputBaseFilename=SpravkiBKSetup-2.3.0.0 Compression=lzma SolidCompression=yes [Languages] Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl" [Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: checkedonce Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: checkedonce; OnlyBelowVersion: 0,6.1 [Files] Source: "C:\Users\user\Documents\Scripts\Inno setup\SpravkiBK\БК.exe"; DestDir: "{app}"; Flags: ignoreversion Source: "C:\Users\user\Documents\Scripts\Inno setup\SpravkiBK\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs ; NOTE: Do not use "Flags: ignoreversion" on any shared system files [Icons] Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" Name: "{group}\{cm:ProgramOnTheWeb,{#MyAppName}}"; Filename: "{#MyAppURL}" Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}" Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon [Run] Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent ===== Ссылки ===== [[http://www.jrsoftware.org/isdl.php#qsp|Скачать Inno Setup QuickStart Pack]] [[http://www.jrsoftware.org/ishelp/topic_setupcmdline.htm|Параметры командной строки инсталлятора]]