DrAndriy
Newbie | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Привет, Я создал проект в Inno Setup для Windows 64-bit (например, Win 7 / 8). Но, после инсталляции файлы справок handbook не хотят открываться! И еще на открытие программы влияет запуск с правами администратора. Как решить данные проблемы? Где могут быть ошибки? Насколько вообще правильно составлен инсталляционный проект для Win 64-bit Схематически код проекта ниже: #define MyAppName "MyProgram" #define MyAppVersion "1.0.0" #define MyAppPublisher "Publish Inc." #define MyAppURL "http://www.mydomen.com/" #define MyAppExeName "myprogram.exe" [Setup] AppName={#MyAppName} AppVersion={#MyAppVersion} ;AppVerName={#MyAppName} {#MyAppVersion} AppPublisher={#MyAppPublisher} AppPublisherURL={#MyAppURL} AppSupportURL={#MyAppURL} AppUpdatesURL={#MyAppURL} DefaultDirName={pf}\{#MyAppName} DefaultGroupName={#MyAppName} LicenseFile=C:\Users\path_to_my_program\Win64\Debug\license-ru.txt InfoAfterFile=C:\Users\path_to_my_program\Win64\Debug\readme-ru.txt OutputDir=C:\Users\Documents\Inno Setup\Setups OutputBaseFilename=myprogramsetup64 SetupIconFile=C:\Users\path_to_my_program\myprogram_Icon.ico Compression=lzma2 SolidCompression=yes ArchitecturesAllowed=x64 ArchitecturesInstallIn64BitMode=x64 [Languages] Name: "english"; MessagesFile: "compiler:Default.isl" Name: "german"; MessagesFile: "compiler:Languages\German.isl" Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl" Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl" [Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked [Files] Source: "C:\Users\path_to_my_program\Win64\Debug\myprogram.exe"; DestDir: "{app}"; Flags: ignoreversion Source: "C:\Users\path_to_my_program\Win64\Debug\SQLite3.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "C:\Users\path_to_my_program\Win64\Debug\help\handbook-ru.pdf"; DestDir: "{app}\help"; Flags: ignoreversion Source: "C:\Users\path_to_my_program\Win64\Debug\help\handbook-en.pdf"; DestDir: "{app}\help"; Flags: ignoreversion [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 Спасибо |