Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidXanatos committed Dec 4, 2024
1 parent 9ba69e0 commit a7a2385
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion Installer/Sandboxie-Plus.iss
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,24 @@ Name: "RefreshBuild"; Description: "{cm:RefreshBuild}"; MinVersion: 0.0,5.0; Che
[Files]
; Both portable and install.
Source: ".\Release\{#MyAppSrc}\*"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: recursesubdirs ignoreversion; Excludes: "*.pdb"
; Include the .pdb files.

; Include the .pdb files for all builds.
Source: ".\Release\{#MyAppSrc}\SbieDrv.pdb"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: ".\Release\{#MyAppSrc}\SbieDll.pdb"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: ignoreversion

; Include 32-bit .pdb file only in x64 and ARM64 builds.
#if MyAppArch == "x64"
Source: ".\Release\{#MyAppSrc}\32\SbieDll.pdb"; DestDir: "{app}\32\"; MinVersion: 0.0,5.0; Flags: ignoreversion
#endif
#if MyAppArch == "arm64"
Source: ".\Release\{#MyAppSrc}\32\SbieDll.pdb"; DestDir: "{app}\32\"; MinVersion: 0.0,5.0; Flags: ignoreversion
#endif

; Include 64-bit .pdb file only in ARM64 builds.
#if MyAppArch == "arm64"
Source: ".\Release\{#MyAppSrc}\64\SbieDll.pdb"; DestDir: "{app}\64\"; MinVersion: 0.0,5.0; Flags: ignoreversion
#endif

; Only if portable.
Source: ".\Sandboxie.ini"; DestDir: "{app}"; Flags: ignoreversion onlyifdoesntexist; Check: IsPortable
Source: ".\Sandboxie-Plus.ini"; DestDir: "{app}"; Flags: ignoreversion onlyifdoesntexist; Check: IsPortable
Expand Down Expand Up @@ -165,6 +179,16 @@ begin
end;
end;
function Is64BitInstallMode: Boolean;
begin
Result := (ProcessorArchitecture = paX64) or (ProcessorArchitecture = paARM64);
end;
function IsARM64InstallMode: Boolean;
begin
Result := ProcessorArchitecture = paARM64;
end;
function IsOpenSandMan(): Boolean;
begin
Expand Down

0 comments on commit a7a2385

Please sign in to comment.