Old 28th August 2016, 00:28   #1
RuLing
Junior Member
 
Join Date: Aug 2016
Posts: 10
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.
Attached Files
File Type: 7z Setup and Script.7z (1.13 MB, 104 views)
RuLing is offline   Reply With Quote
Old 28th August 2016, 04:19   #2
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
Join Date: May 2005
Location: New Zealand
Posts: 923
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.

"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile
JasonFriday13 is offline   Reply With Quote
Old 28th August 2016, 09:17   #3
RuLing
Junior Member
 
Join Date: Aug 2016
Posts: 10
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.

code:
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.

code:
Rockstar Games\Bully Scholarship Edition\Config\Text\American.img Rename
Rockstar Games\Bully Scholarship Edition\Config\Text\Orj_American.img



And other errors.

code:
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.

https://www.youtube.com/watch?v=fql7TbdnH9k
RuLing is offline   Reply With Quote
Old 28th August 2016, 17:57   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,484
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...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 28th August 2016, 18:43   #5
RuLing
Junior Member
 
Join Date: Aug 2016
Posts: 10
Can you describe it a bit more detailed? I don't know much the program. So, much I don't understand.
RuLing is offline   Reply With Quote
Old 30th August 2016, 12:35   #6
RuLing
Junior Member
 
Join Date: Aug 2016
Posts: 10
The following code for which I need the plugin?

code:
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"

RuLing is offline   Reply With Quote
Old 30th August 2016, 14:45   #7
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,484
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.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

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