Page 1 of 1

TNM Installer Code

Posted: Wed Oct 24, 2012 4:53 pm
by bjorn98009_91
Hi!

I'm wondering if the source code for the installer used for TNM has been released (and I've missed it), or if it's going to be?
It would be nice to use it for Revision (and other older DX mods) if that's possible, would save a lot of time.

Re: TNM Installer Code

Posted: Wed Oct 24, 2012 11:17 pm
by Jonas
Trestkon probably has it, let's hope he sees your post.

Re: TNM Installer Code

Posted: Mon Nov 12, 2012 12:00 am
by Trestkon
Jonas wrote:Trestkon probably has it, let's hope he sees your post.
Didn't see the post as it did not mention Radishes.

But still: The TNM (NSIS) Installer Code

Re: TNM Installer Code

Posted: Mon Nov 12, 2012 12:34 am
by bjorn98009_91
Thank you! :)

Re: TNM Installer Code

Posted: Sun Nov 18, 2012 11:06 pm
by DaveW
So who around here actually knows about NSIS? Because I can't make any sense of the NSIS installer someone wrote for New Vision, and it's kind of holding me up from releasing now.

Re: TNM Installer Code

Posted: Sun Nov 18, 2012 11:20 pm
by Jonas
Trestkon is the only NSIS guru here, to my knowledge. But you won't be able to afford his services.

Re: TNM Installer Code

Posted: Sun Nov 18, 2012 11:48 pm
by bjorn98009_91
DaveW wrote:So who around here actually knows about NSIS? Because I can't make any sense of the NSIS installer someone wrote for New Vision, and it's kind of holding me up from releasing now.
Well, I sort of understand everything in the TNM installer script, and I've made a few modifications myself. The UAC code seems to be incompatible with the newer NSIS version/UAC library, so had to replace that. But I don't really know more than to copy/paste and google. :roll:

Re: TNM Installer Code

Posted: Mon Nov 19, 2012 12:18 pm
by FastGamerr
Does the installer copy DeusEx.ini, rename it as [MODNAME].ini and make appropriate changes as well?

Re: TNM Installer Code

Posted: Mon Nov 19, 2012 1:11 pm
by bjorn98009_91
Yes, it does. :smile:

All you have to do is essentially have to do is change the name of various strings in the code to fit your mod, and maybe remove some code that are not relevant for you. The UAC can be a bit tricky though, you have to download the UAC plugin and change some code.

Re: TNM Installer Code

Posted: Mon Nov 19, 2012 10:16 pm
by DaveW
Well..I've posted on ModDB for someone with NSIS knowledge. Rather than have the .exe installer extract from a 7z, I think I'll just have a single compressed .exe that handles all of that. Seems a simpler that way, but I still have no idea how to do it.