Page 1 of 1

adding files outside the exe directory

Posted: Thu Dec 13, 2012 1:15 pm
by Rattlehead
I have an app i am trying to package, and i cant figure out how to add my files

see in the VB it acts like the %DEFAULT FOLDER% is the directory that the exe is sitting in, and it will not let me add a directory above that?

my tree is set up like this:

Main Folder
- bin (for exe)
- data (for data files)

no matter what i do the VB wants to make it like this:

Main folder
- exe file
- data folder


but i need it like this:

-main folder
- bin
* exe file
- data
* data file

is there a way to set it up like this in VB?

Re: adding files outside the exe directory

Posted: Thu Dec 13, 2012 1:57 pm
by Enigma
Hi Rattlehead,

You should add a %DEFAULT FOLDER% and then add a folder ".." (two dots, without quotes) to it, this .. folder will point outside of exe folder.

Hope this is what you are requiring.

Re: adding files outside the exe directory

Posted: Thu Dec 13, 2012 4:45 pm
by Rattlehead
so to clarify i would do this:

[%DEFAULT FOLDER%]
- exe file
- [..]
- - [data]
- - - datafile


and it would give me the proper tree by putting the data folder inside the folder i name '..' ?

Re: adding files outside the exe directory

Posted: Fri Dec 14, 2012 1:11 am
by Rattlehead
i have it now, thx :P