[Gambas-user] I have an error [45] File or directory does not exist. Form1.?.0

skaggs jbskaggs at ...1871...
Fri Mar 28 00:07:29 CET 2008


NO I understand my project directory is read only.

My program runs fine.

If I make an ubuntu installation package.  It installs my application
and runtime libraries.

But to run my application the end user right now has to manually install
the wwmkr directory with all of its subdirectories and data files.  Then
the project executable wwmkr.gambas must be ran from inside of that
directory.  Thats becuase the program is using application.path/themes
or application.path/project to find it's needed files. Of course I could
rewrite the program to use user.path&/"wwmkr" but I would still need to
know how to get the package maker to install the directory and data
files.  Or do I need to have that done as second step in the
installation process.

I am sorry if my explanation is confusing.

JB SKaggs


On Thu, 2008-03-27 at 23:50 +0100, Benoit Minisini wrote:
> On jeudi 27 mars 2008, jbskaggs wrote:
> > Okay I got the installation to install on my system.
> >
> > Here is the problem:
> > my program has the following directory structure:
> >
> > ../wwmkr
> > ../wwmkr/themes with subdirectoies
> >
> > ../wwmkr/project with subdirectories
> >
> > when it installs it has this directory under the src tar.
> >
> > But it is never installed as the working directory for the program.
> >
> > How do I get the installation package maker to create this directory and
> > file structure with my project?
> >
> > My program uses the application.path a lot, which does not exist as
> > installation did not create the folders.
> >
> > So if I manually create the directory and manually start the project from
> > that directory rather than the menu it works.
> >
> > Please help!
> >
> > JB SKaggs
> >
> 
> I don't understand what you are talking about. 
> 
> Maybe you didn't know that files located inside your project directory are 
> read-only?
> 





More information about the User mailing list