Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Показать сообщение отдельно

Новый участник


Сообщения: 3
Благодарности: 0

Профиль | Отправить PM | Цитировать


Чем эти два варианта отличаются?

Код: Выделить весь код
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Organizer"
#define MyAppVersion "0.9.2.0"
#define MyAppPublisher "*****"
#define MyAppURL "https://www.facebook.com/*****"
#define MyAppExeName "Organizer.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={{6C36D108-A4D2-41CA-ADE0-5CDC260E33A6}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
AllowNoIcons=yes
LicenseFile=E:\Work\Qt_work\Qt_deploy\release\Organizer\LICENSE.txt
OutputDir=E:\Work\Qt_work\Qt_deploy\installers\Organizer\Organizer 0.9.2
OutputBaseFilename=Setup Organizer
Compression=lzma
SolidCompression=yes
AppName=Redist
AppVersion=1.0
DefaultDirName={pf}\Redist
OutputBaseFilename=vc_redist.x64
OutputDir=e:\Work\Qt_work\Qt_deploy\Visual C++ Redistributable for Visual Studio 2015

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"
Name: "ukrainian"; MessagesFile: "compiler:Languages\Ukrainian.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: ext; Description: Additionally
Name: ext/vc; Description: Visual C++ Redistributable for Visual Studio 2015

[Files]
Source: "E:\Work\Qt_work\Qt_deploy\release\Organizer\Organizer.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\Qt_work\Qt_deploy\release\Organizer\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
Filename: {src}\vc_redist.x64.exe; Parameters: \q; StatusMsg: Setup Visual C++ Redistributable 2015; Tasks: ext/vc
Выбивает ошибку: Line 30. [Setup] Section directive "AppName" already specidied

Отправлено: 17:22, 30-10-2016 | #4