Archive: Odd problem


Odd problem
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"


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


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


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