adding files outside the exe directory

Issues related to Enigma Virtual Box
Post Reply
Rattlehead
Posts: 3
Joined: Thu Dec 13, 2012 1:07 pm

adding files outside the exe directory

Post by Rattlehead » Thu Dec 13, 2012 1:15 pm

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?

Enigma
Site Admin
Posts: 2521
Joined: Wed Aug 20, 2008 2:24 pm

Re: adding files outside the exe directory

Post by Enigma » Thu Dec 13, 2012 1:57 pm

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.

Rattlehead
Posts: 3
Joined: Thu Dec 13, 2012 1:07 pm

Re: adding files outside the exe directory

Post by Rattlehead » Thu Dec 13, 2012 4:45 pm

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 '..' ?

Rattlehead
Posts: 3
Joined: Thu Dec 13, 2012 1:07 pm

Re: adding files outside the exe directory

Post by Rattlehead » Fri Dec 14, 2012 1:11 am

i have it now, thx :P

Post Reply