Skip to content
⌘ NSIS Forum Archive

A little problem with the script.

7 posts

RuLing#

A little problem with the script.

I'm stumble some error like this screenshot on this attached script and setup file.



Someone can investigate file and tell me which plugins i should install. Thank you in advance. Have a good day.
JasonFriday13#
So are you are using !packhdr? Copying and pasting that line from the script would help (I'm not downloading anything to troubleshoot this). The program being run is failing, it should return 0 when it succeeds.
RuLing#
Of course. But it may be a little long, please forgive me. And I don't use !packhdr. Just got these "!define Packhdr upx" "!include Packhdr.nsh"

I encountered the error below the lines.

InitPluginsDir
File /oname=$PLUGINSDIR\scroll.html "web\scroll.html"
CreateDirectory "$PLUGINSDIR\oku"
File /oname=$PLUGINSDIR\splash.gif "splash.gif"
File /oname=$PLUGINSDIR\banner.jpg "banner.jpg"
SetOutPath "$PLUGINSDIR\oku"
File /r "C:\Users\cem_b\Desktop\tkahn-Smooth-Div-Scroll-1c3b3a6\*.*"

CreateDirectory "$PLUGINSDIR\oku"
SetOutPath "$PLUGINSDIR\oku"
File /r "web\oku\*.*"
File backup.

Rockstar Games\Bully Scholarship Edition\Config\Text\American.img Rename
Rockstar Games\Bully Scholarship Edition\Config\Text\Orj_American.img
And other errors.

Delay::Free
Delay:: DelayButton /NOUNLOAD $6 ${TIME} "Kalan > 20|Kalan > 19|Kalan > 18|Kalan > 17|Kalan > 16|Kalan > 15|Kalan > 14|Kalan > 13|Kalan > 12|Kalan > 11|Kalan > 10|Kalan > 9|Kalan > 8|Kalan > 7|Kalan > 6|Kalan > 5|Kalan > 4|Kalan > 3|Kalan > 2|Kalan > 1|Kalan > 0"
WebCtrl::ShowWebInCtrl $R5 "$PLUGINSDIR\scroll.html"
As an example, I want to make a setup like in this video.

Anders#
UPX needs to be in your %path% but it does not reduce the size that much so I would just recommend that you don't use packhdr.

For the other errors, you need to post the compiler warnings and errors...
RuLing#
Can you describe it a bit more detailed? I don't know much the program. So, much I don't understand.
RuLing#
The following code for which I need the plugin?

Delay::Free

Delay:: DelayButton /NOUNLOAD $6 ${TIME} "Kalan > 20|Kalan > 19|Kalan > 18|Kalan > 17|Kalan > 16|Kalan > 15|Kalan > 14|Kalan > 13|Kalan > 12|Kalan > 11|Kalan > 10|Kalan > 9|Kalan > 8|Kalan > 7|Kalan > 6|Kalan > 5|Kalan > 4|Kalan > 3|Kalan > 2|Kalan > 1|Kalan > 0"

WebCtrl::ShowWebInCtrl $R5 "$PLUGINSDIR\scroll.html"
Anders#
You started by asking about !packhdr and I tried to answer that question.

You are now asking about 3rd-party plugins that I don't know anything about but you refuse to post the compiler error messages so there is not much I can do to help you.