mirror of
https://github.com/ShareX/ShareX.git
synced 2024-08-24 06:32:13 +12:00
52 lines
No EOL
1.7 KiB
Text
52 lines
No EOL
1.7 KiB
Text
#define MyAppName "Recorder Devices for ShareX"
|
|
#define MyAppRootDirectory "..\.."
|
|
#define MyAppOutputDirectory MyAppRootDirectory + "\Output"
|
|
#define MyAppLibDirectory MyAppRootDirectory + "\Lib"
|
|
#define MyAppVersion "0.12.10"
|
|
|
|
[Setup]
|
|
AppName={#MyAppName}
|
|
AppVerName={#MyAppName} {#MyAppVersion}
|
|
AppVersion={#MyAppVersion}
|
|
ArchitecturesAllowed=x64os arm64 x86
|
|
ArchitecturesInstallIn64BitMode=x64os
|
|
DefaultDirName={commonpf}\{#MyAppName}
|
|
DefaultGroupName={#MyAppName}
|
|
OutputBaseFilename=Recorder-devices-setup
|
|
OutputDir={#MyAppOutputDirectory}
|
|
SolidCompression=yes
|
|
|
|
[Files]
|
|
Source: "{#MyAppLibDirectory}\screen-capture-recorder.dll"; DestDir: {app}; Flags: regserver 32bit; Check: not IsWin64
|
|
Source: "{#MyAppLibDirectory}\screen-capture-recorder-x64.dll"; DestDir: {app}; Flags: regserver 64bit; Check: IsWin64
|
|
Source: "{#MyAppLibDirectory}\virtual-audio-capturer.dll"; DestDir: {app}; Flags: regserver 32bit; Check: not IsWin64
|
|
Source: "{#MyAppLibDirectory}\virtual-audio-capturer-x64.dll"; DestDir: {app}; Flags: regserver 64bit; Check: IsWin64
|
|
|
|
#include "CodeDependencies.iss"
|
|
|
|
[Code]
|
|
procedure InitializeWizard;
|
|
begin
|
|
Dependency_InitializeWizard;
|
|
end;
|
|
|
|
function PrepareToInstall(var NeedsRestart: Boolean): String;
|
|
begin
|
|
Result := Dependency_PrepareToInstall(NeedsRestart);
|
|
end;
|
|
|
|
function NeedRestart: Boolean;
|
|
begin
|
|
Result := Dependency_NeedRestart;
|
|
end;
|
|
|
|
function UpdateReadyMemo(const Space, NewLine, MemoUserInfoInfo, MemoDirInfo, MemoTypeInfo, MemoComponentsInfo, MemoGroupInfo, MemoTasksInfo: String): String;
|
|
begin
|
|
Result := Dependency_UpdateReadyMemo(Space, NewLine, MemoUserInfoInfo, MemoDirInfo, MemoTypeInfo, MemoComponentsInfo, MemoGroupInfo, MemoTasksInfo);
|
|
end;
|
|
|
|
function InitializeSetup(): Boolean;
|
|
begin
|
|
Dependency_AddVC2010;
|
|
Result := true;
|
|
end; |