Script installers [MM2]

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Script installers [MM2]

Postby mockturtle » Tue Mar 29, 2005 1:23 pm

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.
mockturtle
 
Posts: 8
Joined: Wed Jun 18, 2008 4:49 pm

Postby Risser » Fri Apr 01, 2005 9:53 am

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: 183
Joined: Thu Mar 03, 2005 11:28 am

Postby Risser » Fri Apr 01, 2005 10:03 am

Nevermind. I figured it out.

Code: Select all
procedure CurStepChanged(CurStep: TSetupStep);


and

Code: Select all
if (CurStep=ssDone) then


Thanks!
Risser
 
Posts: 183
Joined: Thu Mar 03, 2005 11:28 am

Postby Risser » Fri Apr 01, 2005 10:03 am

Okay, now how do I send it to you?
Peter
Risser
 
Posts: 183
Joined: Thu Mar 03, 2005 11:28 am

Postby mockturtle » Fri Apr 01, 2005 12:53 pm

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
mockturtle
 
Posts: 8
Joined: Wed Jun 18, 2008 4:49 pm

Postby Risser » Fri Apr 01, 2005 3:00 pm

I sent you three to try.
Thanks!
Peter
Risser
 
Posts: 183
Joined: Thu Mar 03, 2005 11:28 am

Postby mockturtle » Sat Apr 02, 2005 2:02 am

So far nothing has came, are they really sent?

Jiri
mockturtle
 
Posts: 8
Joined: Wed Jun 18, 2008 4:49 pm

Postby Risser » Tue Apr 05, 2005 9:03 am

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

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

Postby Risser » Tue Apr 05, 2005 10:07 am

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
Risser
 
Posts: 183
Joined: Thu Mar 03, 2005 11:28 am

Postby Guest » Sun Jul 10, 2005 4:37 pm

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:
Guest
 

Postby trixmoto » Mon Sep 26, 2005 8:21 am

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

Postby trixmoto » Wed Nov 23, 2005 10:17 am

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:
Check out my scripts at trixmoto.net and subscribe to my RSS feed for updates.
Also check out my Uniface blog.
Get a free Dropbox account! :o

Image
trixmoto
 
Posts: 9703
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK

Postby Steegy » Fri Dec 23, 2005 10:10 am

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).
Steegy
 
Posts: 3448
Joined: Sat Nov 05, 2005 7:17 pm
Location: Belgium

Postby trixmoto » Tue Apr 25, 2006 4:07 am

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?
Check out my scripts at trixmoto.net and subscribe to my RSS feed for updates.
Also check out my Uniface blog.
Get a free Dropbox account! :o

Image
trixmoto
 
Posts: 9703
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK

Postby Lowlander » Tue Apr 25, 2006 9:09 am

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.
Lowlander
 
Posts: 31738
Joined: Sat Sep 06, 2003 5:53 pm

Next

Return to Need Help with Addons?

Who is online

Users browsing this forum: No registered users and 10 guests