Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 1st September 2003, 00:42   #1
Rovastar
Moderator
 
Join Date: Jun 2001
Location: London, England
Posts: 3,612
Send a message via AIM to Rovastar
File commmand usage?

After playing around and NSIS frying my head on something simple I realise that a space in filepath is causing me grief.

As

File C:\test\mytest\*.*

is ok

where

File C:\test 2\mytest\*.*

fails?

Given that they are valid paths.

Why is this this the case. Using Venis XI UI?

"Rules are for the guidance of wisemen and the obedience of fools"

Visuals - MilkDrop www.milkdrop.co.uk
New Visuals - Morphyre www.Morphyre.com
Rovastar is offline   Reply With Quote
Old 1st September 2003, 00:57   #2
corkhead0
Major Dude
 
Join Date: Oct 2002
Posts: 548
Try putting it in double quotes:

File "C:\test 2\mytest\*.*"

Edit: But then again, this is stuff I dopn't know much about, so if I'm wrong, ignore the fact that I ever existed
corkhead0 is offline   Reply With Quote
Old 1st September 2003, 11:44   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
InstallColors FFFFFF 000000 designates the two different install colours. The two colours are recognised due to the space in between them.
Due to the space that was in your code, the compiler recognised the two parts of the path as two different paths, when you are only allowed one.
Placing quotes around the path "" makes the whole thing one path, or one chunk if you like.

-Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp 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