Skip to content
Merged

libs #33

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified bin/lib/composer.phar
Binary file not shown.
Binary file modified bin/lib/hashmyfiles.zip
Binary file not shown.
Binary file modified bin/lib/hashmyfiles/HashMyFiles.chm
Binary file not shown.
Binary file modified bin/lib/hashmyfiles/HashMyFiles.exe
Binary file not shown.
28 changes: 20 additions & 8 deletions bin/lib/hashmyfiles/readme.txt
Original file line number Diff line number Diff line change
@@ -1,36 +1,48 @@



HashMyFiles v2.43
Copyright (c) 2007 - 2021 Nir Sofer
HashMyFiles v2.50
Copyright (c) 2007 - 2024 Nir Sofer
Web site: https://www.nirsoft.net



Description
===========

HashMyFiles is small utility that allows you to calculate the MD5 and
SHA1 hashes of one or more files in your system. You can easily copy the
MD5/SHA1 hashes list into the clipboard, or save them into text/html/xml
file.
HashMyFiles is small utility that allows you to calculate the hashes
(MD5, SHA1, CRC32, SHA-256, SHA-512, SHA-384) of one or more files in
your system. You can easily copy the hashes list into the clipboard, or
save them into text/html/xml file.
HashMyFiles can also be launched from the context menu of Windows
Explorer, and display the MD5/SHA1 hashes of the selected file or folder.
Explorer, and display the hashes of the selected file or folder.



System Requirements
===================

This utility works on Windows 2000/XP/2003/Vista/Windows 7/Windows
8/Windows 10. Older versions of Windows are not supported.
8/Windows 10/Windows 11. Older versions of Windows are not supported.



Versions History
================


* Version 2.50:
o Added 'Live Hashes Display' option. When it's turned on,
HashMyFiles displays the hashes of every file immediately after they
are calculated, instead of waiting until all files are processed.
o Added new columns: 'Hash Start Time', 'Hash End Time', 'Hashing
Duration'.

* Version 2.44:
o You can now send the hash data to stdout by specifying empty
string as filename, for example:
HashMyFiles.exe /File "C:\Temp\*.*" /scomma "" | more

* Version 2.43:
o Added /cfg command-line option to start HashMyFiles with the
specified config file.
Expand Down
Binary file modified bin/lib/innosetup.exe
Binary file not shown.
Binary file modified bin/lib/innosetup/app/Compil32.exe
Binary file not shown.
9 changes: 8 additions & 1 deletion bin/lib/innosetup/app/Default.isl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; *** Inno Setup version 6.1.0+ English messages ***
; *** Inno Setup version 6.4.0+ English messages ***
;
; To download user-contributed translations of this file, go to:
; https://jrsoftware.org/files/istrans/
Expand Down Expand Up @@ -222,6 +222,13 @@ ErrorFileHash2=Invalid file hash: expected %1, found %2
ErrorProgress=Invalid progress: %1 of %2
ErrorFileSize=Invalid file size: expected %1, found %2

; *** TExtractionWizardPage wizard page and Extract7ZipArchive
ExtractionLabel=Extracting additional files...
ButtonStopExtraction=&Stop extraction
StopExtraction=Are you sure you want to stop the extraction?
ErrorExtractionAborted=Extraction aborted
ErrorExtractionFailed=Extraction failed: %1

; *** "Preparing to Install" wizard page
WizardPreparing=Preparing to Install
PreparingDesc=Setup is preparing to install [name] on your computer.
Expand Down
17 changes: 9 additions & 8 deletions bin/lib/innosetup/app/Examples/64Bit.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; Demonstrates installation of a program built for the x64 (a.k.a. AMD64)
; architecture.
; To successfully run this installation and the program it installs,
; you must have a "x64" edition of Windows.
; you must have a "x64" edition of Windows or Windows 11 on Arm.

; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!

Expand All @@ -16,13 +16,14 @@ UninstallDisplayIcon={app}\MyProg.exe
Compression=lzma2
SolidCompression=yes
OutputDir=userdocs:Inno Setup Examples Output
; "ArchitecturesAllowed=x64" specifies that Setup cannot run on
; anything but x64.
ArchitecturesAllowed=x64
; "ArchitecturesInstallIn64BitMode=x64" requests that the install be
; done in "64-bit mode" on x64, meaning it should use the native
; 64-bit Program Files directory and the 64-bit view of the registry.
ArchitecturesInstallIn64BitMode=x64
; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run
; on anything but x64 and Windows 11 on Arm.
ArchitecturesAllowed=x64compatible
; "ArchitecturesInstallIn64BitMode=x64compatible" requests that the
; install be done in "64-bit mode" on x64 or Windows 11 on Arm,
; meaning it should use the native 64-bit Program Files directory and
; the 64-bit view of the registry.
ArchitecturesInstallIn64BitMode=x64compatible

[Files]
Source: "MyProg-x64.exe"; DestDir: "{app}"; DestName: "MyProg.exe"
Expand Down
53 changes: 32 additions & 21 deletions bin/lib/innosetup/app/Examples/64BitThreeArch.iss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; -- 64BitThreeArch.iss --
; Demonstrates how to install a program built for three different
; architectures (x86, x64, ARM64) using a single installer.
; architectures (x86, x64, Arm64) using a single installer.

; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!

Expand All @@ -14,40 +14,51 @@ UninstallDisplayIcon={app}\MyProg.exe
Compression=lzma2
SolidCompression=yes
OutputDir=userdocs:Inno Setup Examples Output
; "ArchitecturesInstallIn64BitMode=x64 arm64" requests that the install
; be done in "64-bit mode" on x64 & ARM64, meaning it should use the
; native 64-bit Program Files directory and the 64-bit view of the
; registry. On all other architectures it will install in "32-bit mode".
ArchitecturesInstallIn64BitMode=x64 arm64
; "ArchitecturesInstallIn64BitMode=x64compatible or arm64" instructs
; Setup to use "64-bit install mode" on x64-compatible systems and
; Arm64 systems, meaning Setup should use the native 64-bit Program
; Files directory and the 64-bit view of the registry. On all other
; OS architectures (e.g., 32-bit x86), Setup will use "32-bit
; install mode".
ArchitecturesInstallIn64BitMode=x64compatible or arm64

[Files]
; Install MyProg-x64.exe if running on x64, MyProg-ARM64.exe if
; running on ARM64, MyProg.exe otherwise.
; Place all x64 files here
Source: "MyProg-x64.exe"; DestDir: "{app}"; DestName: "MyProg.exe"; Check: InstallX64
; Place all ARM64 files here, first one should be marked 'solidbreak'
Source: "MyProg-ARM64.exe"; DestDir: "{app}"; DestName: "MyProg.exe"; Check: InstallARM64; Flags: solidbreak
; Place all x86 files here, first one should be marked 'solidbreak'
Source: "MyProg.exe"; DestDir: "{app}"; Check: InstallOtherArch; Flags: solidbreak
; Place all common files here, first one should be marked 'solidbreak'
; In order of preference, we want to install:
; - Arm64 binaries on Arm64 systems
; - else, x64 binaries on x64-compatible systems
; - else, x86 binaries

; Place all Arm64-specific files here, using 'Check: PreferArm64Files' on each entry.
Source: "MyProg-Arm64.exe"; DestDir: "{app}"; DestName: "MyProg.exe"; Check: PreferArm64Files

; Place all x64-specific files here, using 'Check: PreferX64Files' on each entry.
; Only the first entry should include the 'solidbreak' flag.
Source: "MyProg-x64.exe"; DestDir: "{app}"; DestName: "MyProg.exe"; Check: PreferX64Files; Flags: solidbreak

; Place all x86-specific files here, using 'Check: PreferX86Files' on each entry.
; Only the first entry should include the 'solidbreak' flag.
Source: "MyProg.exe"; DestDir: "{app}"; Check: PreferX86Files; Flags: solidbreak

; Place all common files here.
; Only the first entry should include the 'solidbreak' flag.
Source: "MyProg.chm"; DestDir: "{app}"; Flags: solidbreak
Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme

[Icons]
Name: "{group}\My Program"; Filename: "{app}\MyProg.exe"

[Code]
function InstallX64: Boolean;
function PreferArm64Files: Boolean;
begin
Result := Is64BitInstallMode and (ProcessorArchitecture = paX64);
Result := IsArm64;
end;

function InstallARM64: Boolean;
function PreferX64Files: Boolean;
begin
Result := Is64BitInstallMode and (ProcessorArchitecture = paARM64);
Result := not PreferArm64Files and IsX64Compatible;
end;

function InstallOtherArch: Boolean;
function PreferX86Files: Boolean;
begin
Result := not InstallX64 and not InstallARM64;
Result := not PreferArm64Files and not PreferX64Files;
end;
20 changes: 10 additions & 10 deletions bin/lib/innosetup/app/Examples/64BitTwoArch.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
; Demonstrates how to install a program built for two different
; architectures (x86 and x64) using a single installer: on a "x86"
; edition of Windows the x86 version of the program will be
; installed but on a "x64" edition of Windows the x64 version will
; be installed.
; installed but on a "x64" edition of Windows or Windows 11 on Arm
; the x64 version will be installed.

; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!

Expand All @@ -17,17 +17,17 @@ WizardStyle=modern
Compression=lzma2
SolidCompression=yes
OutputDir=userdocs:Inno Setup Examples Output
; "ArchitecturesInstallIn64BitMode=x64" requests that the install be
; done in "64-bit mode" on x64, meaning it should use the native
; 64-bit Program Files directory and the 64-bit view of the registry.
; "ArchitecturesInstallIn64BitMode=x64compatible" requests that the
; install be done in "64-bit mode" on x64 or Windows 11 on Arm,
; meaning it should use the native 64-bit Program Files directory and
; the 64-bit view of the registry.
; On all other architectures it will install in "32-bit mode".
ArchitecturesInstallIn64BitMode=x64
; Note: We don't set ProcessorsAllowed because we want this
; installation to run on all architectures (including Itanium,
; since it's capable of running 32-bit code too).
ArchitecturesInstallIn64BitMode=x64compatible
; Note: We don't set ArchitecturesAllowed because we want this
; installation to run on all architectures.

[Files]
; Install MyProg-x64.exe if running in 64-bit mode (x64; see above),
; Install MyProg-x64.exe if running in 64-bit mode (see above), and
; MyProg.exe otherwise.
; Place all x64 files here
Source: "MyProg-x64.exe"; DestDir: "{app}"; DestName: "MyProg.exe"; Check: Is64BitInstallMode
Expand Down
46 changes: 44 additions & 2 deletions bin/lib/innosetup/app/Examples/CodeAutomation.iss
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ end;
{--- MSXML ---}

const
XMLURL = 'http://jrsoftware.github.io/issrc/ISHelp/isxfunc.xml';
XMLURL = 'https://jrsoftware.github.io/issrc/ISHelp/isxfunc.xml';
XMLFileName = 'isxfunc.xml';
XMLFileName2 = 'isxfuncmodified.xml';

Expand All @@ -171,7 +171,7 @@ var
XMLHTTP, XMLDoc, NewNode, RootNode: Variant;
Path: String;
begin
if MsgBox('Setup will now use MSXML to download XML file ''' + XMLURL + ''' and save it to disk.'#13#13'Setup will then load, modify and save this XML file. Do you want to continue?', mbInformation, mb_YesNo) = idNo then
if MsgBox('Setup will now use MSXML to download XML file ''' + XMLURL + ''' and save it to the source folder.'#13#13'Setup will then load, modify and save this XML file. Do you want to continue?', mbInformation, mb_YesNo) = idNo then
Exit;

{ Create the main MSXML COM Automation object }
Expand Down Expand Up @@ -275,6 +275,46 @@ begin
MsgBox('Setup is now an authorized application for the current profile', mbInformation, mb_Ok);
end;

{--- Unzip ---}

const
ZipURL = 'https://jrsoftware.org/download.php/iscrypt.zip';
ZipFileName = 'iscrypt.zip';
ZipSHA256 = '0569ffe1677ba699d07063a902d48c2f92c8e88669bdc13118f5808c30e998bc';
SHCONTCH_NOPROGRESSBOX = 4;
SHCONTCH_RESPONDYESTOALL = 16;

procedure UnzipButtonOnClick(Sender: TObject);
var
Shell, ZipFolder, TargetFolder: Variant;
ZipPath, TargetPath: String;
begin
if MsgBox('Setup will now download Zip file ''' + ZipURL + ''' and save it to a temporary folder.'#13#13'Setup will then unzip this Zip file to the source folder. Do you want to continue?', mbInformation, mb_YesNo) = idNo then
Exit;

{ Download the Zip file }
DownloadTemporaryFile(ZipURL + '?dontcount=1', ZipFileName, ZipSHA256, nil);
ZipPath := ExpandConstant('{tmp}\' + ZipFileName);

MsgBox('Downloaded the Zip file and saved it as ''' + ZipPath + '''.', mbInformation, mb_Ok);

{ Unzip the Zip file to the source folder }
Shell := CreateOleObject('Shell.Application');

ZipFolder := Shell.NameSpace(ZipPath);
if VarIsClear(ZipFolder) then
RaiseException(Format('Zip file ''%s'' does not exist or cannot be opened', [ZipPath]));

TargetPath := ExpandConstant('{src}');
TargetFolder := Shell.NameSpace(TargetPath);
if VarIsClear(TargetFolder) then
RaiseException(Format('Target ''%s'' does not exist', [TargetPath]));

TargetFolder.CopyHere(ZipFolder.Items, SHCONTCH_NOPROGRESSBOX or SHCONTCH_RESPONDYESTOALL);

MsgBox('Unzipped the Zip file to ''' + TargetPath + '''.', mbInformation, mb_Ok);
end;

{---}

procedure CreateButton(ALeft, ATop: Integer; ACaption: String; ANotifyEvent: TNotifyEvent);
Expand Down Expand Up @@ -308,4 +348,6 @@ begin
CreateButton(Left, Top, '&MSXML...', @MSXMLButtonOnClick);
Top := Top + TopInc;
CreateButton(Left, Top, '&Word...', @WordButtonOnClick);
Top := Top + TopInc;
CreateButton(Left, Top, '&Unzip...', @UnzipButtonOnClick);
end;
11 changes: 3 additions & 8 deletions bin/lib/innosetup/app/Examples/CodeAutomation2.iss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
; Note: some unneeded interface functions which had special types have been replaced
; by dummies to avoid having to define those types. Do not remove these dummies as
; that would change the function indices which is bad. Also, not all function
; protoypes have been tested, only those used by this example.
; prototypes have been tested, only those used by this example.

[Setup]
AppName=My Program
Expand Down Expand Up @@ -115,7 +115,7 @@ type
rgfDaysOfTheWeek: WORD;
end;

TMonthyDate = record
TMonthlyDate = record
rgfDays: DWORD;
rgfMonths: WORD;
end;
Expand Down Expand Up @@ -290,9 +290,4 @@ begin
CreateButton(Left, Top, '&IShellLink...', @IShellLinkButtonOnClick);
Top := Top + TopInc;
CreateButton(Left, Top, '&ITaskScheduler...', @ITaskSchedulerButtonOnClick);
end;





end;
Loading