Script installers [MM2]

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

jiri
Posts: 5433
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Script installers [MM2]

Post by jiri »

Hello all script developers, you have already contributed several useful scripts to this forum. However, particularly for less experiences users it isn't really easy to install such scripts. So I created a sample script installer using InnoSetup (which is also used for the main MediaMonkey installer).

The whole process is quite simple:
1. Download and install InnoSetup from http://www.jrsoftware.org/isinfo.php
2. Download a sample script installer from http://www.mediamonkey.com/scripts/Scri ... tTitle.iss
3. Modify this script according to your needs, it's quite clear from the installer script itself since it's a text file. Should anything be unclear, check out InnoSetup documentation.
4. Compile the installer and send it to us to publish it on MediaMonkey web!

Hope we'll see many new scripts soon!
Jiri
Last edited by mockturtle on Fri Jan 11, 2008 5:54 am, edited 1 time in total.
Risser
Posts: 184
Joined: Thu Mar 03, 2005 11:28 am

Post by Risser »

I tried this, but it didn't know what 'csFinished' in the sample script was.

What should I set it to?
Thanks,
Peter
Risser
Posts: 184
Joined: Thu Mar 03, 2005 11:28 am

Post by Risser »

Nevermind. I figured it out.

Code: Select all

procedure CurStepChanged(CurStep: TSetupStep);
and

Code: Select all

if (CurStep=ssDone) then
Thanks!
Risser
Posts: 184
Joined: Thu Mar 03, 2005 11:28 am

Post by Risser »

Okay, now how do I send it to you?
Peter
jiri
Posts: 5433
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Post by jiri »

If you have the installer ready, e-mail it to me. So far we don't have any automated posting system, but will do some if there's enough interest.

Jiri
Risser
Posts: 184
Joined: Thu Mar 03, 2005 11:28 am

Post by Risser »

I sent you three to try.
Thanks!
Peter
jiri
Posts: 5433
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Post by jiri »

So far nothing has came, are they really sent?

Jiri
Risser
Posts: 184
Joined: Thu Mar 03, 2005 11:28 am

Post by Risser »

I mailed 'em to jh@mediamonkey.com.
I assume they were sent.

:(
Peter
Risser
Posts: 184
Joined: Thu Mar 03, 2005 11:28 am

Post by Risser »

The mail bounced because I was sending the files as .EXEs, so your virus/spam blocker bounced it.

Or maybe mine did on the way out.

Anyway, I zipped 'em up and sent them again.
Peter
Guest

Post by Guest »

why do people still try and send exe's? all anti virus programs dont like that and tend to stop it as a virus.

it has been known to be best to zip up the files in a zip file for the last 5 years. :o :-? :roll:
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

That was a really helpful comment Guest, thanks! (sarcasm)
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

I am trying to install a script which needs two VBS files. I can't seem to modify the ISS to get this to work. Can anyone help me?

ADDITION: Sorry, I was being stupid, this is really simply and obvious - ignore me! :oops:
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Steegy
Posts: 3452
Joined: Sat Nov 05, 2005 7:17 pm

Post by Steegy »

Please people be careful with the settings of the INNO installer, it can mess up MediaMonkey's uninstall entry. (well, it's not so bad, but it shouldn't be like that)

Software Uninstall entry:
Image

Registry Uninstall entry:
Image

I just noticed this behaviour with one script, but probably this applies to all.

Cheers
Steegy
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

Note to people using this installer system: In the examples there is a check so the ini entry is only made if it doesn't already exist. This means that if you change an entry the modifications won't actually be made. This sounds obvious (and really is) but it took me a while to work out why it wasn't working - I didn't think to check the installer!

What do people think about this problem with the MM setup being overwritten? It is causing people using my installers some concern. Is it ok just to remove these sections from the installer script before you compile it?
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Lowlander
Posts: 59151
Joined: Sat Sep 06, 2003 5:53 pm

Post by Lowlander »

I would expect the installer to be overwritten to work with the new version of the script. Maybe it can be an option during installations.

Anyway you always publish source and installer so those who don't want ease of installation can go the manual route with the source code.
Post Reply