Old 25th January 2007, 01:08   #1
speedwell
Junior Member
 
Join Date: Jan 2007
Posts: 7
Specify directory as the base for the File command

Seems like this ought to be easy but I've been unable to figure it out by trial and error or searching here/docs.

I'd like to be able to specify a base source directory so that subsequent File commands grab files relative to it. E.G.

FileBase "..\..\Release\"
File app.exe

I also tried using a variable in front of all my File commands but that didn't work either.

Can this be done?

Thanks.
speedwell is offline   Reply With Quote
Old 25th January 2007, 04:23   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
You need to use !define for this to work. Discussed recently here,
http://forums.winamp.com/showthread....hreadid=262889

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 25th January 2007, 17:53   #3
speedwell
Junior Member
 
Join Date: Jan 2007
Posts: 7
Worked perfectly. Many thanks.
speedwell 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