Old 8th November 2014, 16:09   #1
surface123
Junior Member
 
Join Date: Nov 2014
Posts: 1
Why NSIS can't compile the same .nsi script?

I want to replace a portable program launcher. I have to extract the .exe Launcher with 7-Zip 9.34 alpha, which has better support for NSIS, than older versions.
I unpacked the $PLUGINSDIR and .nsi script using extract here command with 7-zip. I did it with a lot of portable programs. But recompiling script gives same error: "WriteRegStr expects 4 parameters, got 8." How to fix this issue, or maybe bug?
surface123 is offline   Reply With Quote
Old 8th November 2014, 17:04   #2
aerDNA
Senior Member
 
aerDNA's Avatar
 
Join Date: Feb 2007
Location: Rijeka, Croatia
Posts: 225
It's because that isn't the actual script that was used to compile, it's a reconstruction, reverse engineering by 7zip. There are likely to be problems with compiling it. I wasn't aware of this functionality in alpha, I didn't test but it actually looks pretty good compared to some other attempts, close to a humanly written script.

PostEnd:
aerDNA is offline   Reply With Quote
Old 8th November 2014, 17:18   #3
aerDNA
Senior Member
 
aerDNA's Avatar
 
Join Date: Feb 2007
Location: Rijeka, Croatia
Posts: 225
"WriteRegStr expects 4 parameters, got 8." sounds like there are quotes missing somewhere. You can try and fix it but there can easily be other problems.

PostEnd:
aerDNA is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Tags
7-zip, app, launcher, nsis, portable

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump