Old 20th June 2007, 17:27   #1
Johnseph
Junior Member
 
Join Date: Jun 2007
Location: USA
Posts: 1
On the fly File installation

Question put simply: Is there a way to enable/fake a file command useing a variable.
"File "FileToInstall.slg" to File $R1

Im designing a script that will enable a non-computer oriented person to modify the files that will be installed to a dir. Because of the other needs of the installer, Im unable to use one of the simpler install builders where files are simply specified.
Johnseph is offline   Reply With Quote
Old 20th June 2007, 21:28   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Files are placed into the installer on compile time and thus their paths must be hard coded. You cannot use a variable as they are for run time use.

Stu
Afrow UK 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