Prev Previous Post   Next Post Next
Old 26th February 2018, 08:20   #1
Junior Member
Join Date: Feb 2018
Posts: 2
NSIS push, pop and URLEncode

I'm trying to encode with URLEncode a strings in NSIS. I'm using a NSIS plugin called URLEncode. The problem is that I try encode 2 vars, but the first encoded var lost the value after I encoded the second var.

PHP Code:
Push "${AFF_NAME}"
Call URLEncode
// at this point the messagebox show the result good.
MessageBox MB_OK $3

$0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion" "ProductName"
Push $0
Call URLEncode
// now after second var encoded the result of first var $3 lost the value
MessageBox MB_OK $
Please Help I'm very new using NSIS and I dont know how do it good. I searching info but without success.

Very thanks !
theChaser is offline   Reply With Quote
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