vun
13th September 2004 08:36 UTC
Hey, I was wondering if it was possible to include a whole folder in my installer instead of single files one at a time. I know this can be done if I compress my folder into a .zip file etc. But is it also possible to inlclude the folder without it being compressed?
Thanks!
kichik
13th September 2004 10:17 UTC
Use File /r.
*split from java thread*
vun
13th September 2004 10:50 UTC
Hey kichik, thanks for your help but i'm still a little bit cinfused. Should I write File /r and then my file name or write down my file name followed by /r?
Eg. File "C:\blah\blah" /r
or File /r"C:\blah\blah"
Thanks!
Davion
13th September 2004 10:56 UTC
You should use
File /r "C:\Folder"
Dave
vun
14th September 2004 04:04 UTC
Thanks Davion, it works. But I do have one more question. For the uninstaller section, this is how i placed the code but the compiler prompted me with an error:
Delete /r $INSTDIR\folder
Am I going about this completely wrongly? Thanks!
Davion
14th September 2004 07:15 UTC
Use RMDir /r "$INSTDIR\folder" instead ;) this should work
greetz Dave
btw: ever use the "" because a path can contain spaces and you will get an error if there are spaces and no " " ;)
vun
14th September 2004 07:45 UTC
Thanks Davion, it works fine for now :D.