Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 29-09-2018, 08:37
K4miKaZe's Avatar
K4miKaZe K4miKaZe is offline
Registered User
 
Join Date: Sep 2018
Location: Spain
Posts: 146
Thanks: 177
Thanked 235 Times in 84 Posts
K4miKaZe is on a distinguished road
Mmmm i cant edit my last message, i actually fixed it myself. There is a small error on the code on the Script.iss file. All redists sections are checking if redist1 is enabled, so if number 1 is disabled no other works. Here is the code, its easy to fix, just changing the number for every redist on the script.

Code:
#if Redist2 == "1"
    if (CurStep = ssPostInstall) then begin
      if Redist1CB.Checked then begin
      #if UltraARC == "1"
        WizardForm.ProgressGauge.Hide;
      #endif
        WizardForm.StatusLabel.Caption := ExpandConstant('{cm:InstallingRedist2}');
        if not IsWin64 then begin
          Exec2(ExpandConstant('{#Redist2Exe32}'),'{#Redist2Param}',true);
        end else
          Exec2(ExpandConstant('{#Redist2Exe64}'),'{#Redist2Param}',true);
          Exec2(ExpandConstant('{#Redist2Exe32}'),'{#Redist2Param}',true);
      end;
    end;
As you can see in the red part the redist2 is checking for redist1, the same happens to all others. Just change 2 for 2, 3 for 3 and so on.
Reply With Quote
The Following 2 Users Say Thank You to K4miKaZe For This Useful Post:
Jawahir95 (29-09-2018), KaktoR (29-09-2018)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 12:03.


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