Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Odd problem (http://forums.winamp.com/showthread.php?t=210543)

MechMykl 16th March 2005 02:15

Odd problem
 
1 Attachment(s)
Hey, I've attached my code, for whatever reason when I install my program, it installs to instdir\files, when the setout path is instdir, which is wierd because the installer gets created in the instdir but my other files dont...


Section "The Fro Icon Pack" SecBF

SetOutPath "$INSTDIR"

File /r "C:\Documents and Settings\Michael\My Documents\Web Pages\Projects\Installers\The Fro Icon Pack\files"

;Store installation folder
WriteRegStr HKCU "$PROGRAMFILES\HQubed\The Fro Icon Pack" "" $INSTDIR

;Create uninstaller
WriteUninstaller "$INSTDIR\Uninstall.exe"

Afrow UK 16th March 2005 14:47

Use:

File /r "C:\Documents and Settings\Michael\My Documents\Web Pages\Projects\Installers\The Fro Icon Pack\files\*.*"

You're including the files dir name as well as the files in it. You just want the files in it!

-Stu

MechMykl 16th March 2005 22:46

Thanks man, it worked, www.hqubed.com and in a few hours after I compile and upload it you can see the new version :)

MechMykl 17th March 2005 00:42

Ok its up, check it out if you want :)


All times are GMT. The time now is 04:37.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.