Download it from Here
This script is for mod authors. It is quite simple to use and will create a fairly robust standalone installer for your mod, which will automatically detect the Warband folder and be easy for the end user of your mod to install. Additionally, the created installer executable will tend to be quite a bit smaller than a ZIP file of the same mod.
This script uses the Nullsoft Scriptable Install System (NSIS).
Be sure to view the readme file (readme_installer.rtf) for very detailed instructions on how to use this.
Examples of a default unchanged copy of this installer script in action:
This installer script is based on my old installer script for the original M&B. Further spiel below:
-----------------------
You know the main Warband setup executable which installs the entire game? It steps you though the installation, asking for the install directory, installing, and creating an uninstaller.
Well, the installer they use was created with the Nullsoft Scriptable Install System (NSIS), which is a free open-source program that I myself have used in the past to create installers for a couple of programs.
Once you've created an installer executable for your mod (which is pretty easy), it will automatically detect where the person installing your mod has Warband itself installed (it gets this from their registry), and defaults to the proper directory.
For example, if your mod was titled "My Cool Mod" and the person had Warband installed to "D:\Games\Mount_Blade Warband 1112", it would default to "D:\Games\Mount_Blade Warband 1112\Modules\My Cool Mod" for the mod installation directory.
Also, when creating your new mod directory, it will actually first copy over all the files from the "Native" module folder before overwriting with your mod files. That way, you can choose to only include the files your mod changes if you want.
-----------------------
EDIT:
By the way, here's an interesting comparison of compression rates using the Native mod as an example.
uncompressed: 72.9 MB
"normal" ZIP: 25.2 MB
"ultra" ZIP: 24.4 MB
installer: 18.2 MB
Of course, RAR and 7Z files can generally do a little better than that, but... not bad.
Upgrade Instructions
If you are using an older version of this script and want to update to the latest version, that's pretty simple.
1. Download the newer version of the Mod Installer Script here, but only extract the Warband Mod Installer Script 2.3.nsi file.
2. Open your older installer script file and this new one you just extracted, and copy and paste the top section of the old file (all the way down to where you see "You probably shouldn't edit below this point") over the top section of the new one.
That's it.
Change List
v2.3:
This script is for mod authors. It is quite simple to use and will create a fairly robust standalone installer for your mod, which will automatically detect the Warband folder and be easy for the end user of your mod to install. Additionally, the created installer executable will tend to be quite a bit smaller than a ZIP file of the same mod.
This script uses the Nullsoft Scriptable Install System (NSIS).
Be sure to view the readme file (readme_installer.rtf) for very detailed instructions on how to use this.
Examples of a default unchanged copy of this installer script in action:
This installer script is based on my old installer script for the original M&B. Further spiel below:
-----------------------
You know the main Warband setup executable which installs the entire game? It steps you though the installation, asking for the install directory, installing, and creating an uninstaller.
Well, the installer they use was created with the Nullsoft Scriptable Install System (NSIS), which is a free open-source program that I myself have used in the past to create installers for a couple of programs.
Once you've created an installer executable for your mod (which is pretty easy), it will automatically detect where the person installing your mod has Warband itself installed (it gets this from their registry), and defaults to the proper directory.
For example, if your mod was titled "My Cool Mod" and the person had Warband installed to "D:\Games\Mount_Blade Warband 1112", it would default to "D:\Games\Mount_Blade Warband 1112\Modules\My Cool Mod" for the mod installation directory.
Also, when creating your new mod directory, it will actually first copy over all the files from the "Native" module folder before overwriting with your mod files. That way, you can choose to only include the files your mod changes if you want.
-----------------------
EDIT:
By the way, here's an interesting comparison of compression rates using the Native mod as an example.
uncompressed: 72.9 MB
"normal" ZIP: 25.2 MB
"ultra" ZIP: 24.4 MB
installer: 18.2 MB
Of course, RAR and 7Z files can generally do a little better than that, but... not bad.
Upgrade Instructions
If you are using an older version of this script and want to update to the latest version, that's pretty simple.
1. Download the newer version of the Mod Installer Script here, but only extract the Warband Mod Installer Script 2.3.nsi file.
2. Open your older installer script file and this new one you just extracted, and copy and paste the top section of the old file (all the way down to where you see "You probably shouldn't edit below this point") over the top section of the new one.
That's it.
Change List
v2.3:
- Support for new Data folder.
- Since some people were still having it not detect Steam versions (possibly they don't have Steam installed properly or similar?), I've added in extra explicit checks for the default Steam installation path rather than solely relying on getting Steam's installation path from the Registry.
- When version detection failed, it could end up displaying the installed version as "1.[X]"; this has been changed to "(unknown)"
- Steam release version and path detection were glitchy; they should work fine now.
- Initial release, based completely off of my previous mod installer script for the original M&B.