Mod Installer - I will make for you.

Wild_qwerty

Sonny, I Watched the Vault Bein' Built!
Hey Guys,

I'm not sure how many of you modders have read my tutorials on how to make an installer for your Fallout mods, but I would like to make the offer to make the installer for you.

So if you have a mod you would like packaged into an automatic installer just let me know and I'll package it for you :)
 
I consider mine easy to install (just copy over folders). :P
However, when I finish with the next version, I'll send you a link to a rapidshare site where I will send this. I am just a mean person who refuses to help people, so I'm sure there are a number of people out there who thank you for this offer. :wink:
 
I am sure, that I will come back to you, if I need a nice installer. :)
 
It's really just for ease of use for people unfamiliar with running FO mods. It just a nice and easy way of doing things.
 
I would appreciate it very much if you could make an installer for Fallout 2: Weapons Redone (link in my sig). If your offer is still open, it would be kind of you to take a look at it and tell me if it is possible.

I'd like to have it so that you can choose to install every folder separately, as it is now, only that the installer does it for you. Kinda like Killap's RP, where you have the choice to install separate addons in addition to the whole thing.

Also, if you choose to install the "Energy" folder, the installer should check to see if you have also chosen to install Folder 1. If you have, then it should install only the files in the "Energy" folder. If you have not, it should install only the files in the "Energy Without Armor" folder.

After the install, I'd also like there to be two options, one is to show the readme and the other is to show the ammo/armor spreadsheet.

Thank you very much in advance,
Magnus
 
I'll take a look, I haven't actually ever done an installer with the option to install different components.
 
Wild_qwerty said:
I'll take a look, I haven't actually ever done an installer with the option to install different components.
What are you using to make the installers? Here's a inno setup script that will do the job; just change the source sections in the files block, and change the '('s back to '['s. (They break the code block...) The only problem is that some .pro's seem to be in multiple sections, so I've no idea which ones should take precedence.

Code:
(Setup]
AppName=Fallout 2 Weapons Redone
AppID=Fallout 2 Weapons Redone
AppVerName=Fallout 2: Weapons Redone 1.1
AppPublisher=Magnus
AppPublisherURL=http://www.nma-fallout.com/forum/viewtopic.php?t=42580
AppSupportURL=http://www.nma-fallout.com/forum/viewtopic.php?t=42580
AppUpdatesURL=http://www.nma-fallout.com/forum/viewtopic.php?t=42580
VersionInfoVersion=1.1
DefaultDirName={reg:HKLM\SOFTWARE\Interplay\Fallout2\1.0,DestPath}
DefaultGroupName=F2 Weapons Redone
AllowNoIcons=yes
OutputBaseFilename=F2WR_setup
Compression=lzma
SolidCompression=yes
DirExistsWarning=no
UninstallFilesDir={app}\F2WR\uninstall

(Tasks]
Name: "ammo"; Description: "&Armour and Ammo"; GroupDescription: "Components:";
Name: "biggun"; Description: "&Big guns"; GroupDescription: "Components:";
Name: "energy"; Description: "&Energy"; GroupDescription: "Components:";
Name: "energyna"; Description: "&Energy without armour"; GroupDescription: "Components:"; Flags: unchecked;
Name: "grenades"; Description: "&Grenades"; GroupDescription: "Components:";
Name: "lowtech"; Description: "&Low-tech"; GroupDescription: "Components:";
Name: "pistols"; Description: "&Pistols"; GroupDescription: "Components:";
Name: "rifles"; Description: "&Rifles"; GroupDescription: "Components:";
Name: "shotguns"; Description: "&Shotguns"; GroupDescription: "Components:";

(Files]
Source: "C:\Games\Fallout2\mods\F2WRv1.1\items.lst"; DestDir: "{app}\data\Proto\Items"; Flags: onlyifdoesntexist;
Source: "C:\Games\Fallout2\mods\F2WRv1.1\F2WRReadme.txt"; DestDir: "{app}"; Flags: ignoreversion isreadme;

Source: "C:\Games\Fallout2\mods\F2WRv1.1\Armor & Ammo\*"; DestDir: "{app}\data\Proto\Items"; Flags: ignoreversion overwritereadonly; Tasks: ammo; Attribs: readonly;
Source: "C:\Games\Fallout2\mods\F2WRv1.1\Big Guns\*"; DestDir: "{app}\data\Proto\Items"; Flags: ignoreversion overwritereadonly; Tasks: biggun; Attribs: readonly;
Source: "C:\Games\Fallout2\mods\F2WRv1.1\Energy\*"; DestDir: "{app}\data\Proto\Items"; Flags: ignoreversion overwritereadonly; Tasks: energy; Attribs: readonly;
Source: "C:\Games\Fallout2\mods\F2WRv1.1\Energy Without Armor\*"; DestDir: "{app}\data\Proto\Items"; Flags: ignoreversion overwritereadonly; Tasks: energyna; Attribs: readonly;
Source: "C:\Games\Fallout2\mods\F2WRv1.1\Grenades\*"; DestDir: "{app}\data\Proto\Items"; Flags: ignoreversion overwritereadonly; Tasks: grenades; Attribs: readonly;
Source: "C:\Games\Fallout2\mods\F2WRv1.1\Low-Tech\*"; DestDir: "{app}\data\Proto\Items"; Flags: ignoreversion overwritereadonly; Tasks: lowtech; Attribs: readonly;
Source: "C:\Games\Fallout2\mods\F2WRv1.1\Pistols\*"; DestDir: "{app}\data\Proto\Items"; Flags: ignoreversion overwritereadonly; Tasks: pistols; Attribs: readonly;
Source: "C:\Games\Fallout2\mods\F2WRv1.1\Rifles\*"; DestDir: "{app}\data\Proto\Items"; Flags: ignoreversion overwritereadonly; Tasks: rifles; Attribs: readonly;
Source: "C:\Games\Fallout2\mods\F2WRv1.1\Shotguns\*"; DestDir: "{app}\data\Proto\Items"; Flags: ignoreversion overwritereadonly; Tasks: shotguns; Attribs: readonly;

(Icons]
Name: "{group}\{cm:UninstallProgram,Fallout 2 Weapons Redone}"; Filename: "{uninstallexe}"; WorkingDir: "{app}"

(code]
function NextButtonClick(PageID: Integer): Boolean;
var
  s: string;
begin
  Result := true;
  if PageID = wpSelectDir then begin
    s := WizardDirValue();
    if not FileExists(s+'\fallout2.exe') then begin
      MsgBox('Fallout 2 Weapons Redone must be installed to the Fallout 2 installation directory', mbError, MB_OK);
      Result:=false;
    end;
  end;
  if PageID = wpSelectTasks then begin
    if IsTaskSelected('energy') and IsTaskSelected('energyna') then begin
      MsgBox('You cannot install both the Energy and Energy without Armour components', mbError, MB_OK);
      Result:=false;
    end;
  end;
end;
 
Timeslip said:
Wild_qwerty said:
I'll take a look, I haven't actually ever done an installer with the option to install different components.
What are you using to make the installers? Here's a inno setup script that will do the job; just change the source sections in the files block, and change the '('s back to '['s. (They break the code block...) The only problem is that some .pro's seem to be in multiple sections, so I've no idea which ones should take precedence.

... Wow.

v1.2 is out. It has a slightly different layout, where Folder 3 contains another two folders:

Folder 3a is meant to be installed together with Folder 1, so it should be installed if people tick off both Folder 1 and Folder 3.

Folder 3b is meant to be an option for those who don't install Folder 1, so it should be installed only if people tick off Folder 3, but NOT Folder 1.

All of this is in the "How" section of the mod's readme and thread first post. I hope this is possible, and thank you guys a lot for looking into it.

Magnus
 
Back
Top