Addon Installer

Miscellaneous code snippets and examples that members have posted

Addon Installer

Postby ScratchMonkey » Fri Aug 25, 2006 2:49 am

How to create an installer for a WoW addon:

http://www.wowwiki.com/Addon_Installer

Home page for the freeware InnoSetup:

http://www.jrsoftware.org/isinfo.php

Attached is the text config file I'm using for CharacterProfiler. You'll need to trim the .txt, leaving the extension as .iss.

The output is sent to T:\Output\setup.exe which should be renamed to something like addonname-version-setup.exe.
Attachments
rpgo-characterprofiler_1.6.0.iss.txt
Remove the .txt from the end of the filename before use.
(877 Bytes) Downloaded 97 times
User avatar
ScratchMonkey
WR.net Expert
WR.net Expert
 
Posts: 212
Joined: Wed Jul 05, 2006 4:32 pm
Location: San Pablo, CA

Addon Installer

Postby zanix » Fri Aug 25, 2006 3:20 am

Cool stuff

Post this on http://www.rpgoutfitter.com for calvin and he may consider making an exe version of CP and GP
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Addon Installer

Postby sephtin » Tue Aug 29, 2006 7:39 pm

Have been doing this for various mods for the guild to install various mods including: GuildMap, CT_RaidAssist, LaVendetta BossMods.. as well as a large number of optional mods like TauntResist, SimpleTranqShot, Decursive, BuffAhoy, etc.

It's a pain to recompile every single time a new version of ANY of the mods comes out tho.. and try to keep a medium sized guild all on the latest versions.. *sigh* Let me just say, that I'm SO looking forward to seeing a verison of UniUploader that will do optional mods!!!

... In any case, you just need the NSIS installer package avialable here: http://sourceforge.net/projects/nsis
Homepage: http://nsis.sourceforge.net

In the script, it is hardcoded to pull the addon from your C:\Program Files\World Of Warcraft\Interface\AddOns\ dir, modify as necessary (It will autodetect the proper directory for the person installing the mods).

To use: Just rename the file to remove the .txt, right click and choose compile.

-Seph
Attachments
wowrosterdotnet.nsi.txt
Sample install script using NSIS to pull in addons for installation.
(2.08 KiB) Downloaded 98 times
sephtin
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Mon Jul 24, 2006 1:03 pm

Addon Installer

Postby ScratchMonkey » Wed Aug 30, 2006 5:19 am

Can this be scripted? If you can launch NSIS from a batch file repeatedly you can do all the addons at once.
User avatar
ScratchMonkey
WR.net Expert
WR.net Expert
 
Posts: 212
Joined: Wed Jul 05, 2006 4:32 pm
Location: San Pablo, CA

Re: Addon Installer

Postby ScratchMonkey » Thu Dec 07, 2006 1:50 pm

Here's my ISS file updated for 2.0.1. You just need to tweak the paths to match the location where you unzipped the rpgo file and create the nopatch file (or remove that line from the ISS file).
Attachments
rpgo-characterprofiler_2.0.1.iss.txt
InnoSetup installer creator script
(868 Bytes) Downloaded 89 times
User avatar
ScratchMonkey
WR.net Expert
WR.net Expert
 
Posts: 212
Joined: Wed Jul 05, 2006 4:32 pm
Location: San Pablo, CA

Addon Installer

Postby rrhode » Sat Dec 16, 2006 3:40 am

Since there is no PVPLog for WoW 2.0.1 yet that I can find I guess I don't need to include it in the nsi file, but is there a way to optionally include it with some kind of checkmark?

Also, Is there any way to compile UU to install at the same time as CP? This would be really handy and looking at the two nsi files available to me, I can tell the nsi above for CP and PVPLog is a bit outdated. However I don't know enough about this to know how to update it and integrate it with the install of UU which I have finally been able to compile successfully and syncronize it with UA.
Last edited by rrhode on Sat Dec 16, 2006 3:42 am, edited 1 time in total.
rrhode
WR.net Apprentice
WR.net Apprentice
 
Posts: 22
Joined: Wed Dec 13, 2006 6:36 pm


Return to Code Cache

Who is online

Users browsing this forum: No registered users and 0 guests

cron