Skip to content

Commit

Permalink
Separate OpenSSL as not main files in Inno Setup installation process
Browse files Browse the repository at this point in the history
If the user have OpenSSL installed in the environment already, then
there's no need to do it again here.
  • Loading branch information
PeterDaveHello committed May 14, 2023
1 parent c7d60ce commit 8e02134
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions setup/win/setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ SignTool=signtool sign /d "{#AppName} Setup" /du "{#AppURL}" /f "{#CODECERT}" /v
[Components]
Name: "app"; Description: "Main application files"; Types: full compact custom; Flags: fixed
Name: "lang"; Description: "Language files"; Types: full custom
Name: "openssl"; Description: "OpenSSL files"; Types: full custom

[Tasks]
Name: regfileext; Description: "{cm:AssocFileExtension,{#AppName},.torrent}"; Flags: unchecked
Expand All @@ -108,8 +109,8 @@ Source: "..\..\README.txt"; DestDir: "{app}"; Flags: ignoreversion; Components:
Source: "..\..\history.txt"; DestDir: "{app}"; Flags: ignoreversion; Components: app
Source: "..\..\lang\transgui.*"; DestDir: "{app}\lang"; Flags: ignoreversion; Components: lang
; OpenSSL
Source: "openssl\libcrypto-1_1.dll"; DestDir: "{app}"; Components: app
Source: "openssl\libssl-1_1.dll"; DestDir: "{app}"; Components: app
Source: "openssl\libcrypto-1_1.dll"; DestDir: "{app}"; Components: openssl
Source: "openssl\libssl-1_1.dll"; DestDir: "{app}"; Components: openssl

[Icons]
Name: "{group}\{#AppName}"; Filename: "{app}\{#AppExeName}"; WorkingDir: {app}
Expand Down
5 changes: 3 additions & 2 deletions setup/win_amd64/setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ SignTool=signtool sign /d "{#AppName} Setup" /du "{#AppURL}" /f "{#CODECERT}" /v
[Components]
Name: "app"; Description: "Main application files"; Types: full compact custom; Flags: fixed
Name: "lang"; Description: "Language files"; Types: full custom
Name: "openssl"; Description: "OpenSSL files"; Types: full custom

[Tasks]
Name: regfileext; Description: "{cm:AssocFileExtension,{#AppName},.torrent}"; Flags: unchecked
Expand All @@ -110,8 +111,8 @@ Source: "..\..\README.txt"; DestDir: "{app}"; Flags: ignoreversion; Components:
Source: "..\..\history.txt"; DestDir: "{app}"; Flags: ignoreversion; Components: app
Source: "..\..\lang\transgui.*"; DestDir: "{app}\lang"; Flags: ignoreversion; Components: lang
; OpenSSL
Source: "openssl\libcrypto-1_1-x64.dll"; DestDir: "{app}"; Components: app
Source: "openssl\libssl-1_1-x64.dll"; DestDir: "{app}"; Components: app
Source: "openssl\libcrypto-1_1-x64.dll"; DestDir: "{app}"; Components: openssl
Source: "openssl\libssl-1_1-x64.dll"; DestDir: "{app}"; Components: openssl

[Icons]
Name: "{group}\{#AppName}"; Filename: "{app}\{#AppExeName}"; WorkingDir: {app}
Expand Down

0 comments on commit 8e02134

Please sign in to comment.