diff --git a/components/cryptini/latest_stable/cryptini.lpk b/components/cryptini/latest_stable/cryptini.lpk
index e9cecc41e..9a860c2b5 100644
--- a/components/cryptini/latest_stable/cryptini.lpk
+++ b/components/cryptini/latest_stable/cryptini.lpk
@@ -80,7 +80,7 @@ Please update this versioninfo alongside the constant C_VERSION
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
"/>
-
+
diff --git a/components/cryptini/latest_stable/demo/cryptinitest.lps b/components/cryptini/latest_stable/demo/cryptinitest.lps
index e127d0082..a65030c0f 100644
--- a/components/cryptini/latest_stable/demo/cryptinitest.lps
+++ b/components/cryptini/latest_stable/demo/cryptinitest.lps
@@ -3,14 +3,14 @@
-
+
-
+
-
+
@@ -20,6 +20,7 @@
+
@@ -32,12 +33,10 @@
-
-
+
+
-
-
@@ -45,12 +44,9 @@
-
-
+
-
-
@@ -402,99 +398,95 @@
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
+
diff --git a/components/cryptini/latest_stable/ucryptini.pas b/components/cryptini/latest_stable/ucryptini.pas
index d9f35c672..17af37483 100644
--- a/components/cryptini/latest_stable/ucryptini.pas
+++ b/components/cryptini/latest_stable/ucryptini.pas
@@ -15,7 +15,7 @@ unit ucryptini;
{ 'Paranoid' version of TIniFile
- Copyright (C) 2016 Gordon Bamber minesadorada@gmail.com
+ Copyright (C) 2016 Gordon Bamber minesadorada@charcodelvcalle.com
Base 64 code by David Barton
This library is free software; you can redistribute it and/or modify it
@@ -219,7 +219,7 @@ const
54, 55, 56, 57, 43, 47);
{$ENDIF}
-C_VERSION = '0.1.2';
+C_VERSION = '0.1.3';
{
VERSION HISTORY
===============
@@ -236,7 +236,8 @@ C_VERSION = '0.1.2';
V 0.1.2: Added thread-safe TLockCryptINIFile class
for thread-safe operation (GB)
Credit: "Fungus" at http://forum.lazarus.freepascal.org/
- V 0.1.3: ??
+ V 0.1.3: BugFix: WriteIdent method without Version Info now covered by meaningful error message.
+ V 0.1.4: ??
}
type
TCryptIniFile = class(TIniFile)
@@ -793,11 +794,15 @@ begin
s:='0.0.0.0'; // Default
VInfo:=TFileVersionInfo.Create(Application);
TRY
- VInfo.ReadFileInfo;
- If fileinfo.GetProgramVersion(Version) then
- s:=ProgramversionToStr(Version);
- finally
- VInfo.free;
+ TRY
+ VInfo.ReadFileInfo;
+ If fileinfo.GetProgramVersion(Version) then
+ s:=ProgramversionToStr(Version);
+ finally
+ VInfo.free;
+ end;
+ Except
+ Raise EResNotFound.Create('TCryptINIFile.WriteIdent' + LineEnding + 'Please include Version Info in Project/options to use this function');
end;
WriteString(IDENT_SECTION,IDENT_APPVERSION,s);
WriteString(IDENT_SECTION, IDENT_EXE, ParamStrUTF8(0));
diff --git a/components/cryptini/latest_stable/updates/update_cryptini.json b/components/cryptini/latest_stable/updates/update_cryptini.json
index 66ef55f30..bd23edd84 100644
--- a/components/cryptini/latest_stable/updates/update_cryptini.json
+++ b/components/cryptini/latest_stable/updates/update_cryptini.json
@@ -7,7 +7,7 @@
"UpdatePackageFiles" : [
{
"ForceNotify" : true,
- "InternalVersion" : 4,
+ "InternalVersion" : 5,
"Name" : "cryptini.lpk",
"Version" : "0.1.2.0"
}