![]() |
#1 |
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? |
![]() |
![]() |
![]() |
#2 |
Senior Member
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: |
![]() |
![]() |
![]() |
#3 |
Senior Member
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: |
![]() |
![]() |
![]() |
|
Tags |
7-zip, app, launcher, nsis, portable |
Thread Tools | Search this Thread |
Display Modes | |
|
|