Script installers [MM2]
Script installers [MM2]
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
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.
Nevermind. I figured it out.
and
Thanks!
Code: Select all
procedure CurStepChanged(CurStep: TSetupStep);
Code: Select all
if (CurStep=ssDone) then
-
Guest
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!
ADDITION: Sorry, I was being stupid, this is really simply and obvious - ignore me!
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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
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:

Registry Uninstall entry:

I just noticed this behaviour with one script, but probably this applies to all.
Cheers
Steegy
Software Uninstall entry:

Registry Uninstall entry:

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).
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?
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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
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.
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.
Download MediaMonkey ♪ License ♪ Knowledge Base ♪ MediaMonkey for Windows 2024 Help ♪ MediaMonkey for Android Help
Lowlander (MediaMonkey user since 2003)
Lowlander (MediaMonkey user since 2003)