Quote:
Originally Posted by Th3Raven
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