Results 1 to 4 of 4

Thread: Trying to get Installer template to work

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Trying to get Installer template to work

    Hi all,

    I downloaded Unspoken Knights Installer template which is for Kingdoms mods. And am trying to figure out how to get it to work. I followed all of the instructions and then get to the end bit where it says add your mod info to the innosetup_script.iss and then compile it. Only I have no idea what program I should use to open this file? I tried opening it in notepad but then I do not know how to make a compile of it? Anyone have any idea how to use something like this? Here is the link to the download I'm speaking of below.

    http://www.twcenter.net/forums/downl...o=file&id=1821

    Here is the readme instructions below. Thanks to anyone if you can help. I already sent Unspoken Knight a private message but he does not log on very frequently and I want to release my new patch update as soon as possible

    InstallerTemplate\innosetup_script.iss

    · Open "InstallerTemplate\innosetup_script.iss" in the Inno Setup Compiler.
    · Change the values of the following defines (at the top of the script) to suit your mod.

    · #define __MOD_PATH "mods\ModName" (Mod Path Name)
    · #define __MOD_DISPLAY_NAME "Mod Name" (Display Name)
    · #define __MOD_VERSION "1.0" (Mod Version)
    · #define __MOD_CONFIG "medieval2.ModName.cfg" (Config file to launch with)
    · #define __MOD_OUTPUT_NAME "ModInstaller" (Output name of the compiled installer)
    · #define __MOD_ID "0005ModName" (Unique Registry Mod Key)
    · #define __MOD_AUTHOR "Mod Author" (Registry key for mod author)

    · OPTIONAL: If you have omitted the campaign and/or battle files from the data directory and wish to have the installer copy them from the vanilla install path, uncomment the appropriate entries under the [Components] and [Files] sections. You can also uncomment the appropriate entries to allow the installer to copy save games from the vanilla install path.
    · Compile the script.
    Dave

  2. #2
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Trying to get Installer template to work

    Guess you didn't read this line:
    This is an installer template that can be used for creating installers for Medieval II Total War : Kingdoms mods. It uses the free Inno Setup Compiler (http://www.jrsoftware.org/) and builds an installer executable for a mod that uses the kingdoms.exe.










  3. #3

    Default Re: Trying to get Installer template to work

    No I didn't, thanks for spotting my mistake. I have it working alright now

  4. #4
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Trying to get Installer template to work

    Quote Originally Posted by dave scarface View Post
    No I didn't, thanks for spotting my mistake. I have it working alright now
    Always glad to be of assistance










Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •