Имею проблему... Хоть убейся, но на х64 разрядной системе, все что в секции [Registry], ничего не прописывается. Уже и Check: IsWin64 прописывал. Зато на х86 все как надо. Так же Check: IsWin64 и Check: not IsWin64 я использую в [Run]. Если дописать ArchitecturesInstallIn64BitMode=x64 то все работает. Но мне он не нужен, некорректно для меня это, ибо тогда все ставится в папку без индекса х86, а это критично. В общем весь код:
[More]
Код: ; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "ZTE Manager"
#define MyAppVersion "7.5"
#define MyAppPublisher "OPERATOR_555"
#define MyAppURL "http://vk.com/operator_555"
#define MyAppExeName "ZTE Manager.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={{93D34EE3-99B3-4DB1-8B0A-0A657466F90D}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
OutputDir=C:\Users\OPERATOR_555\Desktop\ZTE Manager Setup
OutputBaseFilename=setup
Compression=lzma
SolidCompression=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1
[Files]
Source: "F:\ZTE Manager\ZTE Manager.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\ZTE Manager\*"; 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:ProgramOnTheWeb,{#MyAppName}}"; Filename: "{#MyAppURL}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon
[Registry]
Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows\CurrentVersion\Run; ValueType: string; ValueName: ZTE Manager Device Detect; ValueData: {pf}\{#MyAppName}\AutoDetect ZTE Manager.exe; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: not IsWin64
Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{{93D34EE3-99B3-4DB1-8B0A-0A657466F90D}_is1; ValueType: string; ValueName: AppVersion; ValueData: PC_ZTEMANAGERV7.5.0U00; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: not IsWin64
Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows\CurrentVersion\Run; ValueType: string; ValueName: ZTE Manager Device Detect; ValueData: {pf}\{#MyAppName}\AutoDetect ZTE Manager.exe; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: IsWin64
Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{{93D34EE3-99B3-4DB1-8B0A-0A657466F90D}_is1; ValueType: string; ValueName: AppVersion; ValueData: PC_ZTEMANAGERV7.5.0U00; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: IsWin64
[Run]
Filename: "{app}\USBDriverInstaller_x86.exe"; StatusMsg: Installing drivers for x86...; Flags: waituntilterminated; Check: not IsWin64
Filename: "{app}\USBDriverInstaller_x64.exe"; StatusMsg: Installing drivers for x64...; Flags: waituntilterminated; Check: IsWin64
Filename: "{app}\AutoDetect ZTE Manager.exe"; Flags: nowait
Filename: "{app}\ResetCDROM.exe"; Flags: nowait
;Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
[More]
Код: ; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "ZTE Manager"
#define MyAppVersion "7.5"
#define MyAppPublisher "OPERATOR_555"
#define MyAppURL "http://vk.com/operator_555"
#define MyAppExeName "ZTE Manager.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={{93D34EE3-99B3-4DB1-8B0A-0A657466F90D}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
OutputDir=C:\Users\OPERATOR_555\Desktop\ZTE Manager Setup
OutputBaseFilename=setup
Compression=lzma
SolidCompression=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1
[Files]
Source: "F:\ZTE Manager\ZTE Manager.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\ZTE Manager\*"; 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:ProgramOnTheWeb,{#MyAppName}}"; Filename: "{#MyAppURL}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon
[Registry]
Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows\CurrentVersion\Run; ValueType: string; ValueName: ZTE Manager Device Detect; ValueData: {pf}\{#MyAppName}\AutoDetect ZTE Manager.exe; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: not IsWin64
Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{{93D34EE3-99B3-4DB1-8B0A-0A657466F90D}_is1; ValueType: string; ValueName: AppVersion; ValueData: PC_ZTEMANAGERV7.5.0U00; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: not IsWin64
Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows\CurrentVersion\Run; ValueType: string; ValueName: ZTE Manager Device Detect; ValueData: {pf}\{#MyAppName}\AutoDetect ZTE Manager.exe; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: IsWin64
Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{{93D34EE3-99B3-4DB1-8B0A-0A657466F90D}_is1; ValueType: string; ValueName: AppVersion; ValueData: PC_ZTEMANAGERV7.5.0U00; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: IsWin64
[Run]
Filename: "{app}\USBDriverInstaller_x86.exe"; StatusMsg: Installing drivers for x86...; Flags: waituntilterminated; Check: not IsWin64
Filename: "{app}\USBDriverInstaller_x64.exe"; StatusMsg: Installing drivers for x64...; Flags: waituntilterminated; Check: IsWin64
Filename: "{app}\AutoDetect ZTE Manager.exe"; Flags: nowait
Filename: "{app}\ResetCDROM.exe"; Flags: nowait
;Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent