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 30-10-2020, 04:22
alucard1973 alucard1973 is offline
Registered User
 
Join Date: Apr 2015
Location: Madrid
Posts: 45
Thanks: 1
Thanked 3 Times in 3 Posts
alucard1973 is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
Try like this:
Open the script and locate the lines mentioned below.
Locate these lines and place // at the beginning of the lines (in all lines).
Code:
    UninstallFile := GetUninstallFile('');
    if DirExists(ExtractFilePath(UninstallFile)) or ForceDirectories(ExtractFilePath(UninstallFile)) then
    begin
      ShellExecute(0, '', AddQuotes(ExpandConstant('{cmd}')), AddQuotes('/C COPY /Y "' + ExpandConstant('{srcexe}') + '" "' + UninstallFile + '"'), '', SW_HIDE);
      if (GetIniString('Registry' + IntToStr(1), 'ROOT', '', ExpandConstant('{tmp}\ExtSetup.ini')) <> '') and (GetIniString('Registry' + IntToStr(1), 'SubKey', '', ExpandConstant('{tmp}\ExtSetup.ini')) <> '') then
        FileCopy(ExpandConstant('{tmp}\ExtSetup.ini'), ExtractFilePath(UninstallFile) + 'Uninstall.dat', False);
    end;
Just below also put // on these lines (in all lines).
Code:
      #if !defined(CREATOR)
      AddRegistryInfo;
      #endif
This way you will not have the uninstallation files in the game folder, nor will the registry keys for uninstallation be created.
Thank you, in the setup.ini there is no command to simply put yes or no without having to touch the script?


I also put this to install or not the DLC but it does not work for me when I check DLC, it does not install it for me

ArcFile2=Setup1DLC.cab;DestDir:{app}\SteamApps\com mon\Total War WARHAMMER;Type:ARC;Disk:1;Component2;

[Component1]
------------------------------------------------------------------------------------------------------------------------------------------------------
Name=Main Game
//Size=34000
Size=34.8 GB
FirstBGImage=1
ShowInstallLabel=0
Checked=1
Enabled=1

[Component2]
------------------------------------------------------------------------------------------------------------------------------------------------------
Name=DLC
Size=105
FirstBGImage=4
ShowInstallLabel=0
Checked=0

Last edited by alucard1973; 30-10-2020 at 04:48.
Reply With Quote
 

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
INDEX - Conversion Tutorial Index Razor12911 Conversion Tutorials 5 11-06-2020 03:05
[GSERIES] Custom Installer Ultimate V2g Gupta Conversion Tutorials 226 01-06-2018 14:12
Crysis 3 DVD9 to 3xDVD5 Custom Installer spawniectes PC Games - CD/DVD Conversions 79 31-08-2017 08:19



All times are GMT -7. The time now is 09:50.


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