Prev Previous Post   Next Post Next
Old 1st June 2007, 09:24   #1
daisywheel
Junior Member
 
Join Date: May 2007
Posts: 40
Initializing variable and using

I want to initialize variable and use it in my script.
I do the following

Var /GLOBAL SourcePath

Function .onInit
StrCpy $SourcePath "C:\1"
FunctionEnd

!insertmacro MUI_PAGE_LICENSE $SourcePath\license.rtf

I get next error
!insertmacro: MUI_PAGE_LICENSE
LicenseData: open failed "$SourcePath\license.rtf"

While ny code is comiled ok with
!insertmacro MUI_PAGE_LICENSE c:\1\license.rtf

Have I done something wrong?

Thanks,
Roman
daisywheel 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