View Single Post
  #57  
Old 19-07-2024, 03:59
hitman797's Avatar
hitman797 hitman797 is offline
Registered User
 
Join Date: Feb 2013
Location: Algeria
Posts: 168
Thanks: 486
Thanked 202 Times in 122 Posts
hitman797 is on a distinguished road
Quote:
Originally Posted by Th3Raven View Post
Sorry for disturbing again... I am just wondering if is possible, on the Froza installer, on the components to add a different install path... For example I have X game that install mods to the user docs folder and not in game directory...
The solution I use for now is to add it into files section of the script... is not elegant but will do for the moment.
instead of {app} use {userdocs}
Code:
    #ifdef Data1
      if FileExists(ExpandConstant('{src}\{#Data1Path}')) then
      begin
        ISArcDiskAddingSuccess:= ISArcExAddDisks(ExpandConstant('{src}\{#Data1Path}'), '{#DiskPassword}', ExpandConstant('{app}'));
        if not ISArcDiskAddingSuccess then
        break;
        ISArcExDiskCount:= ISArcExDiskCount + 1;
      end;
    #endif
Code:
    #ifdef Data1
      if FileExists(ExpandConstant('{src}\{#Data1Path}')) then
      begin
        ISArcDiskAddingSuccess:= ISArcExAddDisks(ExpandConstant('{src}\{#Data1Path}'), '{#DiskPassword}', ExpandConstant('{userdocs}'));
        if not ISArcDiskAddingSuccess then
        break;
        ISArcExDiskCount:= ISArcExDiskCount + 1;
      end;
    #endif
Reply With Quote