Skip to content

Commit 3cc21bf

Browse files
committed
Setup scripts updated
1 parent b8d0df4 commit 3cc21bf

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

installer/Installer-compiled.iss

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ MinVersion=0,6.1
4545
[Languages]
4646
Name: "english"; MessagesFile: ".\Default.isl"
4747
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
48-
#include ReadReg(HKEY_LOCAL_MACHINE,'Software\Sherlock Software\InnoTools\Downloader','ScriptPath','');
48+
49+
#include "C:\Program Files (x86)\Inno Download Plugin\idp.iss"
4950

5051
[Files]
5152
;Source: "D:\CODES\Python\EbookCollection\*.pyw"; DestDir: "{app}"; Flags: ignoreversion
@@ -122,18 +123,13 @@ procedure InitializeWizard();
122123
begin
123124
WizardForm.WelcomeLabel1.Visible := True;
124125
WizardForm.WelcomeLabel2.Visible := True;
125-
126-
itd_init;
127126
128127
if not RegKeyExists(HKEY_LOCAL_MACHINE, 'SOFTWARE\\7-Zip') then
129128
begin
130-
itd_addfile('http://sd-36502.dedibox.fr/eBookCollection/7zip.zip',expandconstant('{tmp}\eBookCollection-7zip.zip'));
129+
idpAddFileSize('http://sd-36502.dedibox.fr/eBookCollection/7zip.zip',expandconstant('{tmp}\eBookCollection-7zip.zip'), 964490)
131130
end;
132-
133-
134131
//Start the download after the "Ready to install" screen is shown
135-
itd_downloadafter(wpReady);
136-
132+
idpDownloadAfter(wpReady);
137133
end;
138134
139135
procedure CurStepChanged(CurStep: TSetupStep);

installer/Installer-light.iss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ SetupIconFile=D:\CODES\Python\EbookCollection\ressources\icons\app_icon.ico
3131
Compression=lzma
3232
SolidCompression=yes
3333
;lowest or admin
34-
PrivilegesRequired=lowest
34+
PrivilegesRequired=admin
3535
OutputBaseFilename=setup_{#FileAppVersion}.{#FileAppBuild}_light
3636

3737
[Languages]
@@ -49,7 +49,12 @@ Source: "D:\CODES\Python\EbookCollection\editor\*.bat"; DestDir: "{app}\editor";
4949

5050
Source: "D:\CODES\Python\EbookCollection\reader\*.py"; DestDir: "{app}\reader"; Flags: ignoreversion
5151
Source: "D:\CODES\Python\EbookCollection\reader\*.ui"; DestDir: "{app}\reader"; Flags: ignoreversion
52-
Source: "D:\CODES\Python\EbookCollection\reader\*.bat"; DestDir: "{app}\reader"; Flags: ignoreversion
52+
Source: "D:\CODES\Python\EbookCollection\reader\*.bat"; DestDir: "{app}\reader"; Flags: ignoreversion
53+
54+
Source: "D:\CODES\Python\EbookCollection\Sync\*.py"; DestDir: "{app}\Sync"; Flags: ignoreversion
55+
;Source: "D:\CODES\Python\EbookCollection\Sync\*.crt"; DestDir: "{app}\Sync"; Flags: ignoreversion
56+
Source: "D:\CODES\Python\EbookCollection\Sync\*.pem"; DestDir: "{app}\Sync"; Flags: ignoreversion
57+
Source: "D:\CODES\Python\EbookCollection\Sync\*.key"; DestDir: "{app}\Sync"; Flags: ignoreversion
5358

5459
Source: "D:\CODES\Python\EbookCollection\common\*.py"; DestDir: "{app}\common"; Flags: ignoreversion
5560

test/VERSION_BUILD.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
22

0 commit comments

Comments
 (0)