You are here

Recompile NSIS script

8 posts / 0 new
Last post
Geekish
Offline
Last seen: 8 years 4 months ago
Joined: 2016-03-31 15:56
Recompile NSIS script

Hi there

I'm brand new here, and i'm a complete nOoB in NSIS scripting.

I downloaded a portable app, and extracted the launcher, in order to get to the script, i did no modifications to the script, but now it won't compile i get an error on this line.

WriteRegBin HKCU Software\BurnAware\License Key data[91242 ... ] ; !!! Unsupported

I have no clue what's wrong as i don't know scripting, but my question is, it was already compiled, HOW?

Thanks in advance

[EDIT: TOPIC LOCKED. - MOD GC See #8.]

mjashby
Offline
Last seen: 8 months 4 weeks ago
Developer
Joined: 2008-09-19 13:35
Compiling PortableApps Launchers

As you say you have no experience of NSIS Script then I think you are jumping in at the deep end and need to start by learning about the methods used for creating PortableApps compatible versions of software.

I suggest you do a bit of research/learning using: https://portableapps.com/development and especially the sections on the Launcher/Launcher Manual, the PortableApps Template and the PortableApps Installer. However, if you want to find out more about the NSIS Scripting language the best place to start is the NSIS website.

Geekish
Offline
Last seen: 8 years 4 months ago
Joined: 2016-03-31 15:56
Thanks, i might do that, but

Thanks, i might do that, but here i just wanted to know what's wrong with the script, in order to recompile it, (i didn't write it).

Ken Herbert
Ken Herbert's picture
Offline
Last seen: 5 hours 54 min ago
DeveloperModerator
Joined: 2010-05-25 18:19
NSIS (usually) not required

For the majority of apps out there you will never have to even look at NSIS to make them portable using the PortableApps format (I've been a developer here for 3+ years, I've looked at NSIS, but have never actually needed to use it). You would only need to do something with NSIS if there is a specific situation that the PortableApps Launcher can't handle.

Along with checking the developer documentation as mjashby mentioned, you are also welcome to tell us exactly what needs to be done for whichever app you are trying to make portable, and we can then help you figure out if NSIS is even necessary for it, and if not, how to do what you need just with launcher options.

Geekish
Offline
Last seen: 8 years 4 months ago
Joined: 2016-03-31 15:56
Thanks, and the answer is the

Thanks, and the answer is the same as the one above, i didn't decide to use NSIS it already came like this, i just asked how to recompile it.

3D1T0R
3D1T0R's picture
Offline
Last seen: 3 years 4 months ago
Developer
Joined: 2006-12-29 23:48
What app? How'd you extract the script from the launcher? & Why?

You say you "downloaded a portable app, and extracted the launcher, in order to get to the script".
Could you possibly give a little more detail? i.e. What app did you do this to? How did you "extract" the script from the launcher? and also, what exactly was your goal in doing this?

Note: I could try guessing (I'm usually fairly decent at it with this sort of thing), but I feel we'll get things straightened out better & sooner for all of us if you answer these questions.

~3D1T0R

Geekish
Offline
Last seen: 8 years 4 months ago
Joined: 2016-03-31 15:56
I didn't download it from

I didn't download it from portableapps.com, as it breaks some rules of this site.

The apps name is Burnaware Pro

I extracted the script using 7zip v15.5b

My goal was to try and change the splashscreen internally this means, without the .ini file

Thanks

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 1 month 2 weeks ago
DeveloperModerator
Joined: 2008-07-24 18:46
Illegal

As this is an illegal modification of commercial software, we will not be assisting you any further.

As per our sitewide forum guidelines:

Legal Software Only - Only links to legal software are permitted. Links to pirated software or unauthorized modifications of closed source software are not permitted. Accounts used to post such links may be banned.

Topic locked