Shift85
Старожил
Grey-Orange PSD от EvilAlex
Вложения
-
5.5 KB Просмотры: 185
-
9.3 KB Просмотры: 39
В моем исполнение оно как-то так...верна ли задумка автора ?
В моем исполнение оно как-то так...
Name: {userdesktop}\{#MyAppName}; Filename: {app}\{#MyAppExeName}; WorkingDir: {app}; Check: CheckError and DesktopIcon
BtnSetChecked(DesktopIconCheckBox, True);
[Icons]
Name: {group}\Duskers; Filename: {app}\Duskers.exe; WorkingDir: {app}; Check: CheckError and NoIcons
Name: {group}\{cm:UninstallProgram,Duskers}; Filename: {uninstallexe}; Check: CheckError and NoIcons
Name: {commondesktop}\Duskers; Filename: {app}\Duskers.exe; WorkingDir: {app}; Check: CheckError and DesktopIcon
Thirdly. When checkbox not checked its create shortcut.
and it works, thanks
How to add x32 and x64 shortcut in the same script?
if not IsWin64 then begin ...shortcut x32 else ... shortcut x64; end;
Можно еще вот так попробовать:Код:if not IsWin64 then begin ...shortcut x32 else ... shortcut x64; end;
[Setup]
AppName=My Program
AppVersion=1.5
DefaultDirName={pf}\My Program
DefaultGroupName=My Program
ArchitecturesInstallIn64BitMode=x64
[Files]
Source: "MyProg-x64.exe"; DestDir: "{app}"; DestName: "MyProg.exe"; Check: Is64BitInstallMode
Source: "MyProg.exe"; DestDir: "{app}"; Check: not Is64BitInstallMode
Source: "MyProg.chm"; DestDir: "{app}"