|
|
|
#1
|
||||
|
||||
|
Quote:
![]() Edit: Change the appereance a bit. Check it out
__________________
Haters gonna hate
Last edited by KaktoR; 23-04-2025 at 11:44. |
| The Following 3 Users Say Thank You to KaktoR For This Useful Post: | ||
| Sponsored Links |
|
#2
|
|||
|
|||
|
hello
for me with this hotfix , I needed to add this line in script.iss: procedure DSG_RefreshSelectedItems(); var I: Integer; |
|
#3
|
||||
|
||||
|
Could you send me your settings.ini file
__________________
Haters gonna hate
|
|
#4
|
|||
|
|||
|
It's from archive on patreon...
I take https://www.patreon.com/file?h=108191154&m=329602487 and https://www.patreon.com/file?h=108191154&m=457434456 no editing file just unzip them... If I click on compile script :
|
|
#5
|
||||
|
||||
|
Thanks!
__________________
Haters gonna hate
|
|
#6
|
|||
|
|||
|
Hello Kaktor
I very often use the function that run a command batch after data decompress (like postprocess or something like patch, xdelta) For example: uncompress data1.bin Run batch1.bat uncompress data2.bin final Batch.cmd (in setting of asis) Check Crc and end installation I would like to add a message during ASIS progression because sometimes my batch are long to execute and take time. something like "Please wait during processing" but I do not find yet where I can add theses lines best regards wareck |
|
#7
|
||||
|
||||
|
I don't know, but my guess is look in DSG_Module.iss
__________________
Haters gonna hate
|
|
#8
|
|||
|
|||
|
ok I found
it's in tpExec function
|
|
#9
|
|||
|
|||
|
Registry size information
Am I missing something simple? I everything working as intended, including custom font, messages, images, etc.,. .. what do I need to change to get the estimated uninstall size to work? It's only showing 1KB.
Thanks for all your hard work by the way. You made things fairly simple. |
|
#10
|
|||
|
|||
|
you have to decompress setup.dll
copy record.ini into the builder the remove them from your install foder if you have setup.dll, no progress bar/time |
|
#11
|
|||
|
|||
|
For add text durring batch execution :
in DSG_MODULE.ISS I moddify the tpExec function like this: Quote:
|
|
#12
|
|||
|
|||
|
Quote:
Edit: I thought you were replying to my post. My mistake. Last edited by insertdisc; 31-05-2025 at 08:07. Reason: Mistaken identity for post reply. |
|
#13
|
||||
|
||||
|
Looks like a bug. However under normal circumstances you cannot call {app} before the folder is actually initialized by inno setup, but in this case the crc check will start at the very end (I think it's the very last action if you enable all possible options), so I don't know why you get this error. I will ask César if he can fix this.
__________________
Haters gonna hate
|
| The Following 2 Users Say Thank You to KaktoR For This Useful Post: | ||
insertdisc (31-05-2025), mausschieber (31-05-2025) | ||
|
#14
|
|||
|
|||
|
CRC Errors
Quote:
Code:
begin
I := 1;
SetArrayLength(HashFileList, 0);
while GetIniString('CRCCheck', 'HashFile' + IntToStr(I), '', ExpandConstant('{tmp}\Settings.ini')) <> '' do
begin
HashLine := GetIniString('CRCCheck', 'HashFile' + IntToStr(I), '', ExpandConstant('{tmp}\Settings.ini'));
if ComponentsCheck(LineDecode(HashLine, 'Comp', '')) and TasksCheck(LineDecode(HashLine, 'Task', '')) and LanguagesCheck(LineDecode(HashLine, 'Lang', '')) then
begin
HashFile := ExpandFileName(ExpandConstant(Trim(LineDecode(HashLine, '', ''))));
if FileExists(HashFile) or (Pos(LowerCase(ExpandConstant('{app}\')), LowerCase(HashFile)) > 0) then
begin
Y := GetArrayLength(HashFileList);
SetArrayLength(HashFileList, Y + 1);
HashFileList[Y].FileName := GenerateUniqueName(ExpandConstant('{tmp}'), '.dat');
HashFileList[Y].BasePath := ExpandFileName(ExpandConstant(Trim(LineDecode(HashLine, 'DestDir', '{app}'))));
HashFileList[Y].AppDirFile := Pos(LowerCase(ExpandConstant('{app}\')), LowerCase(HashFile)) > 0;
HashFileList[Y].Algorithm := DSG_GetHashAlgorithm(Trim(LineDecode(HashLine, 'Algo', 'auto')));
if (not HashFileList[Y].AppDirFile) and (not FileCopy(HashFile, HashFileList[Y].FileName, False)) then
SetArrayLength(HashFileList, Y);
end;
end;
Code:
begin
I := 1;
SetArrayLength(HashFileList, 0);
while GetIniString('CRCCheck', 'HashFile' + IntToStr(I), '', ExpandConstant('{tmp}\Settings.ini')) <> '' do
begin
HashLine := GetIniString('CRCCheck', 'HashFile' + IntToStr(I), '', ExpandConstant('{tmp}\Settings.ini'));
if ComponentsCheck(LineDecode(HashLine, 'Comp', '')) and TasksCheck(LineDecode(HashLine, 'Task', '')) and LanguagesCheck(LineDecode(HashLine, 'Lang', '')) then
begin
HashFile := ExpandFileName(ExpandConstant(Trim(LineDecode(HashLine, '', ''))));
if FileExists(HashFile) or (Pos(LowerCase(ExpandConstant('{tmp}\')), LowerCase(HashFile)) > 0) then
begin
Y := GetArrayLength(HashFileList);
SetArrayLength(HashFileList, Y + 1);
HashFileList[Y].FileName := GenerateUniqueName(ExpandConstant('{tmp}'), '.dat');
HashFileList[Y].BasePath := ExpandFileName(ExpandConstant(Trim(LineDecode(HashLine, 'DestDir', '{app}'))));
HashFileList[Y].AppDirFile := Pos(LowerCase(ExpandConstant('{tmp}\')), LowerCase(HashFile)) > 0;
HashFileList[Y].Algorithm := DSG_GetHashAlgorithm(Trim(LineDecode(HashLine, 'Algo', 'auto')));
if (not HashFileList[Y].AppDirFile) and (not FileCopy(HashFile, HashFileList[Y].FileName, False)) then
SetArrayLength(HashFileList, Y);
end;
end;
|
|
#15
|
||||
|
||||
|
Quote:
If your hash file source path is the installation folder, you're in trouble. |
| The Following User Says Thank You to Cesar82 For This Useful Post: | ||
insertdisc (01-06-2025) | ||
![]() |
|
|
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 |