creating installer for standalone?

Dec 10, 2008 at 3:58pm

creating installer for standalone?

I started looking at the freeware NSIS program for creating a PC installer for distributing Max standalones. Has anyone scripted installers for Max standalones?

So far I see I need to include MS Visual Studio libraries and a check for Quicktime installation.

#41283
Dec 10, 2008 at 4:14pm

Yes, I am in the middle of doing this myself – see this thread for when I
got started:

http://www.cycling74.com/forums/index.php?t=msg&goto=155944

So as you see, my main need is to check for a JRE install, and if not, offer
to install it as part of the Max app installation. After posting the
message above, I found NSIS. There are some examples on the NSIS web site
of doing this Java checking, but they are not very good/exactly what I am
after, so I will have to write my own script. The documentation for NSIS
leaves something to be desired, and so I haven’t made tons of progress
(though I got sidetracked a few weeks ago too). That said, I have been able
to at least make an installer that successfully installed my Max app.

NSIS for those unfamiliar, is this:

http://nsis.sourceforge.net/Main_Page

I can understand your need for Quicktime (and if you’re successful with that
part I’d love to see your work, as I’ve tried to avoid implementation of
things in my standalone that would require Quicktime on Windows for this
reason), but why the MS Visual Studio libraries? That *was* a dependency
early on in Max v5, but it has since been removed in the latest versions…

Dan

On 12/10/08 10:58 AM, “Ernest” wrote:

> I started looking at the freeware NSIS program for creating a PC installer for
> distributing Max standalones. Has anyone scripted installers for Max
> standalones?
>
> So far I see I need to include MS Visual Studio libraries and a check for
> Quicktime installation.


Dan Nigrin – Defective Records
202 Hack / PC-1600 User / VSTi Host / Jack OS X / Major Malfunction
http://defectiverecords.com

http://jackosx.com

#146889
Dec 10, 2008 at 5:04pm

you can use:

ReadRegDWord $R0 HKLM “SOFTWAREApple Computer, Inc.QuickTime” Version

in nsis to check the quicktime version (or if quicktime doesn’t exist), and

ReadRegStr $2 HKLM “SOFTWAREJavaSoftJava Runtime Environment”
“CurrentVersion”

for java runtime

oli

#146890
Dec 10, 2008 at 5:23pm

Thanks Oli – that part I got (reading whether the JRE exists, and if so what
version) from the examples at NSIS; the part that wasn’t quite the way I
wanted it to work was that in the examples I saw, the installer had to
bundle the desired JRE with it. For size reasons, I don’t want to do that;
I’d rather that if a JRE is needed, that the installer download it directly
from Sun, and then install what was downloaded, and then proceed with my Max
app install.

Have you tried anything like that?

Dan

On 12/10/08 12:04 PM, “Oliver Larkin”

wrote:

>
> you can use:
>
> ReadRegDWord $R0 HKLM “SOFTWAREApple Computer, Inc.QuickTime” Version
>
> in nsis to check the quicktime version (or if quicktime doesn’t exist), and
>
> ReadRegStr $2 HKLM “SOFTWAREJavaSoftJava Runtime Environment”
> “CurrentVersion”
>
> for java runtime
>
> oli
> –
> original plugins and stuff for max: http://www.olilarkin.co.uk


Dan Nigrin – Defective Records
202 Hack / PC-1600 User / VSTi Host / Jack OS X / Major Malfunction
http://defectiverecords.com

http://jackosx.com

#146891
Dec 10, 2008 at 5:29pm

we don’t download it automatically, but use direct the user to the download page.

oli

#146892
Dec 10, 2008 at 5:45pm

OK, I was hoping to avoid that route, and trying to be ultra slick, but it
might be safer/easier in the long run.

Thanks,
Dan

On 12/10/08 12:29 PM, “Oliver Larkin”

wrote:

>
> we don’t download it automatically, but use direct the user to the download
> page.
>
> oli
> –
> original plugins and stuff for max: http://www.olilarkin.co.uk


Dan Nigrin – Defective Records
202 Hack / PC-1600 User / VSTi Host / Jack OS X / Major Malfunction
http://defectiverecords.com

http://jackosx.com

#146893
Dec 10, 2008 at 9:58pm

ok, is anyone willing to exchange beta testing? I’ll test yours if you test mine :)

I don’t have a Mac currently, so I guess I’m restricted to PC only.

#146894
Dec 11, 2008 at 1:30am

At 2:58 PM -0700 12/10/08, Ernest wrote:
>ok, is anyone willing to exchange beta testing? I’ll test yours if
>you test mine :)
>
>I don’t have a Mac currently, so I guess I’m restricted to PC only.

I’m not quite ready for testing yet, but I’m sure if you post for
assistance with testing you’ll have many takers – you might want to
say what your application does as well!

Best,
Dan

Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X / Major
Malfunction
http://www.defectiverecords.com

http://www.jackosx.com

#146895
Dec 11, 2008 at 2:30am

Is anyone else interested in an exhcnage of installation-script beta testing? I am writing a column for dance-tech.net on my learning experience, and part of it will therefore be on you.

#146896
Dec 28, 2010 at 11:31pm

I’m very interested in what you come up with. I haven’t got the time or skill to do this myself, but I’ve however made an app for both WIN and OSX that involves qucktime and I would be thrilled over an installer for both and as you mention it would be soooo good to have a build-in quicktime installer for the windows user

#146897
Dec 29, 2010 at 1:29pm

I have gone the auto-check-and-download JRE route which works perfectly. My standalone doesn’t require Quicktime so I don’t check for that during installation.

The NSIS script is on another computer, but if anyone is interested I can look it up when I get to the other computer (somewhere in January).

#146898

You must be logged in to reply to this topic.