|
#1261
|
|||
|
|||
|
I think I have found another “bug” in v7.4.1:
If I set “StartCheck” to “1”, the CRC check should start automatically at the end of the installation, but it does not. It just comes up with the “installation is finished” window, nothing more. Settings.ini Code:
[CRCCheck] //----------------------------------------------- Setup\Filename.md5 \ .sha1 \ .sha256 \ .sha512 Enable=1 StartCheck=1 QuickSFV=0 QuickSFVFile=check.md5 QuickSFVDeleteHashFile=0 Code:
// CRCCheck #define CheckCRC YesNo(ReadIni(Settings, "CRCCheck", "Enable", "")) #define StartCRC YesNo(ReadIni(Settings, "CRCCheck", "StartCheck", "")) // QuickSFV Options #define UseQuickSFV YesNo(ReadIni(Settings, "CRCCheck", "QuickSFV", "")) #define QuickSFVFile ReadIni(Settings, "CRCCheck", "QuickSFVFile", "") #define DeleteHashFile YesNo(ReadIni(Settings, "CRCCheck", "DeleteHashFile", "")) KR blizz Last edited by pcblizzard; 05-10-2022 at 12:00. |
| Sponsored Links |
|
#1262
|
||||
|
||||
|
Works fine here.
Did you check the "Check CRC" checkbox? Edit: Make sure you have included the hash file in Setup.dll and name file extension to ".dat" and add it to records.ini aswell like this Code:
[Record#]
Type=Checksum_File
Source={tmp}\hashfile.dat
Output={app}\
Disk=1
__________________
Haters gonna hate
Last edited by KaktoR; 05-10-2022 at 12:43. |
| The Following User Says Thank You to KaktoR For This Useful Post: | ||
pcblizzard (05-10-2022) | ||
|
#1263
|
|||
|
|||
|
Yes, the "Check CRC" is preselected (deactivating and re-selecting also did nothing). Hm... I'll have to see what the problem is.
EDIT: The "StartCheck" option does not only work if I set "QuickSFV" to "1", correct? Last edited by pcblizzard; 05-10-2022 at 12:57. |
|
#1264
|
||||
|
||||
|
The "StartCheck" option is only relevant if you don't use QuickSFV check. QuickSFV check starts always automatically if unpack process is finished.
__________________
Haters gonna hate
|
| The Following 2 Users Say Thank You to KaktoR For This Useful Post: | ||
pcblizzard (05-10-2022), Titeuf (06-10-2022) | ||
|
#1265
|
|||
|
|||
|
Hm ... very funny. I don't know what's wrong with me (I've also tried settings from previous versions [of course everything has been adjusted] but it just won't work.
These are my standard settings in “Settings.ini” Code:
Enable=1 StartCheck=1 QuickSFV=0 QuickSFVFile=check.md5 QuickSFVDeleteHashFile=0 Another thing I noticed is that when I have “StartCheck=0", the window no longer appears (i.e., where I then have to start the check manually [which still appeared with 7.3.x]), so it must definitely be me. Then I'll try an older version of the script. KR blizz |
|
#1266
|
||||
|
||||
|
I'm asking again: Is your hash file included in Setup.dll and Records.ini?
Send me all relevant files for testing (Settings.ini, Setup.dll).
__________________
Haters gonna hate
|
| The Following User Says Thank You to KaktoR For This Useful Post: | ||
pcblizzard (05-10-2022) | ||
|
#1267
|
|||
|
|||
|
Okay, i will send you the Files via PN.
|
|
#1268
|
||||
|
||||
|
Quote:
Code:
[Record#]
Type=Checksum_File
Source={src}\HASH\hashfile.md5
Output={app}\
Disk=1
[Record#]
Type=Checksum_File
Source={app}\hashfile.sfv
Output={app}\
Disk=1
If using {app} the file will not be deleted from the installation folder after checking. Names without constants in the Source= key cannot be used. |
| The Following 6 Users Say Thank You to Cesar82 For This Useful Post: | ||
KaktoR (06-10-2022), LinkSystem (12-07-2023), mausschieber (06-10-2022), pcblizzard (06-10-2022), ROKA1969 (10-10-2022), Titeuf (06-10-2022) | ||
|
#1269
|
||||
|
||||
|
I'm not quite sure how it would work since I'm aware the current system orders the current lists of components/tasks using the integer value, but would it be possible to use a separate value to dictate the order that components/tasks appear, and instead attaching a string label to the component/task? I'm definitely interested in trying to implement this myself, since its definitely a niche use-case, given I'm sure the majority of users don't have extensive component/task lists that regularly differ and need to be re-ordered. If anyone could give me some guidance on what a possible solution would require I'd greatly appreciate it.
I'm not great at describing what I'm attempting in a succinct manner, so heres a brief mockup: Records.ini entry Code:
[Record10]
Type=Freearc_Original
Source={src}\l33t-data-1.bin
Output={app}\
Disk=10
Component=MAINDATA
Code:
ComponentMAINDATA.Name=Main Files ComponentMAINDATA.ItemType=CHECK ComponentMAINDATA.Size=2.42 GB ComponentMAINDATA.Level=0 ComponentMAINDATA.Checked=1 ComponentMAINDATA.Enabled=0 ComponentMAINDATA.Order=1 I had a quick thought that it might even be easier at a glance to order items if there was a separate Settings.ini entry solely for the order of items, so for example: Settings.ini entry Code:
[ComponentOrder] 1=MAINDATA 2=placeholder 3=placeholder [TaskOrder] 1=placeholder 2=placeholder 3=placeholder Last edited by L33THAK0R; 12-10-2022 at 19:35. |
|
#1270
|
||||
|
||||
|
Sorry for late response, was out of the house for a few days.
Sure it is possible but it requires extensive editing. I'm pretty sure no one will ever do that.
__________________
Haters gonna hate
|
|
#1271
|
||||
|
||||
|
No worries, thanks for the response! I'm definitely feeling confident I could probably get it working (I've had some pretty decent success with overwriting existing infrastructure to introduce my own, to better suit my needs), I'm just trying to figure out where to start looking, I can easily find the logic for existing component/tasks attributes (eg. .Name, .ItemType, .Size, .Level), but I can't find the logic for the order of component/task items, would you by any chance remember where abouts this was implemented?
|
|
#1272
|
||||
|
||||
|
Quote:
Code:
[Record10]
Type=Freearc_Original
Source={src}\l33t-data-1.bin
Output={app}\
Disk=10
Component=1,2,6
Task=3,7
Language=EN,DE,FR
|
| The Following 2 Users Say Thank You to Cesar82 For This Useful Post: | ||
L33THAK0R (16-10-2022), LinkSystem (12-07-2023) | ||
|
#1273
|
||||
|
||||
|
Ah thanks for the heads up, this'll definitely be useful in the future!
|
|
#1274
|
||||
|
||||
|
what could this error mean?
*Running instaler with selected language failed. Code 5* I will add that after creating the installer, the installation is successful for me |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Help] need Advanced Installer script with Razor1911's UltraArc module | rez3vil | Conversion Tutorials | 3 | 15-04-2024 02:24 |
| Portable Installer Inno Setup Script | y_thelastknight | Conversion Tutorials | 59 | 23-10-2020 00:02 |
| INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
| Simple Arc Installer | 78372 | Conversion Tutorials | 1 | 15-06-2017 15:37 |
| MSC+Srep+lzma Simple Script Example | gozarck | Conversion Tutorials | 10 | 07-09-2015 16:31 |