Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23-04-2025, 10:58
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by trillestdwane View Post
I should've clarified that I meant if it was possible to bring back the start menu checkbox whilst keeping the desktop icon check box in compact mode, meaning I could still create desktop icons while not creating start menu icons/folders, like in standard mode.
Like this?



Edit: Change the appereance a bit. Check it out
Attached Files
File Type: 7z Hotfix_6.7z (58.4 KB, 10 views)
__________________
Haters gonna hate

Last edited by KaktoR; 23-04-2025 at 11:44.
Reply With Quote
The Following 3 Users Say Thank You to KaktoR For This Useful Post:
mausschieber (23-04-2025), Titeuf (27-04-2025), trillestdwane (24-04-2025)
Sponsored Links
  #2  
Old 27-04-2025, 08:04
wareck wareck is offline
Registered User
 
Join Date: Dec 2017
Location: Mars
Posts: 153
Thanks: 29
Thanked 113 Times in 80 Posts
wareck is on a distinguished road
hello
for me with this hotfix , I needed to add this line in script.iss:

procedure DSG_RefreshSelectedItems();
var
I: Integer;
Reply With Quote
  #3  
Old 27-04-2025, 08:08
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Could you send me your settings.ini file
__________________
Haters gonna hate
Reply With Quote
  #4  
Old 27-04-2025, 10:44
wareck wareck is offline
Registered User
 
Join Date: Dec 2017
Location: Mars
Posts: 153
Thanks: 29
Thanked 113 Times in 80 Posts
wareck is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
Could you send me your settings.ini file
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 :

Reply With Quote
  #5  
Old 27-04-2025, 10:52
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Thanks!
__________________
Haters gonna hate
Reply With Quote
  #6  
Old 30-05-2025, 08:46
wareck wareck is offline
Registered User
 
Join Date: Dec 2017
Location: Mars
Posts: 153
Thanks: 29
Thanked 113 Times in 80 Posts
wareck is on a distinguished road
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
Reply With Quote
  #7  
Old 30-05-2025, 08:59
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
I don't know, but my guess is look in DSG_Module.iss
__________________
Haters gonna hate
Reply With Quote
  #8  
Old 30-05-2025, 12:57
wareck wareck is offline
Registered User
 
Join Date: Dec 2017
Location: Mars
Posts: 153
Thanks: 29
Thanked 113 Times in 80 Posts
wareck is on a distinguished road
ok I found
it's in tpExec function
Reply With Quote
  #9  
Old 31-05-2025, 07:51
insertdisc insertdisc is offline
Registered User
 
Join Date: May 2025
Location: Earth
Posts: 12
Thanks: 5
Thanked 1 Time in 1 Post
insertdisc is on a distinguished road
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.
Reply With Quote
  #10  
Old 31-05-2025, 08:00
wareck wareck is offline
Registered User
 
Join Date: Dec 2017
Location: Mars
Posts: 153
Thanks: 29
Thanked 113 Times in 80 Posts
wareck is on a distinguished road
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
Reply With Quote
  #11  
Old 31-05-2025, 08:03
wareck wareck is offline
Registered User
 
Join Date: Dec 2017
Location: Mars
Posts: 153
Thanks: 29
Thanked 113 Times in 80 Posts
wareck is on a distinguished road
For add text durring batch execution :

in DSG_MODULE.ISS
I moddify the tpExec function like this:

Quote:
tpExec :
begin
WizardForm.FilenameLabel.Caption := ExpandConstant('{cm:BatchExecution}');
ShellExec('open', DSG_ExpandConstantTry(Arcs[I].Source, 1), DSG_ExpandConstantTry(Arcs[I].Output, 1), '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
end;
and during decompression, if a batch run, the message in script.iss is showed
Reply With Quote
  #12  
Old 31-05-2025, 08:04
insertdisc insertdisc is offline
Registered User
 
Join Date: May 2025
Location: Earth
Posts: 12
Thanks: 5
Thanked 1 Time in 1 Post
insertdisc is on a distinguished road
Quote:
Originally Posted by wareck View Post
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
Maybe you misunderstood. The progress bar is working just fine. The registry entry for the game install is never set. Not using components, not using compact mode. 'Installed size' is listed at 1kb in programs.

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.
Reply With Quote
  #13  
Old 31-05-2025, 13:16
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
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
Reply With Quote
The Following 2 Users Say Thank You to KaktoR For This Useful Post:
insertdisc (31-05-2025), mausschieber (31-05-2025)
  #14  
Old 31-05-2025, 13:41
insertdisc insertdisc is offline
Registered User
 
Join Date: May 2025
Location: Earth
Posts: 12
Thanks: 5
Thanked 1 Time in 1 Post
insertdisc is on a distinguished road
CRC Errors

Quote:
Originally Posted by KaktoR View Post
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.
I changed
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;
to
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;
and hash completed successfully. Though I'm not sure what long-term implications that would have.
Reply With Quote
  #15  
Old 31-05-2025, 14:46
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by insertdisc View Post
I changed
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;
to
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;
and hash completed successfully. Though I'm not sure what long-term implications that would have.
You did a "hack". LOL

If your hash file source path is the installation folder, you're in trouble.
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
insertdisc (01-06-2025)
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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



All times are GMT -7. The time now is 07:38.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com