How to package and distribute our software written in Gambas

View: New views
7 Messages — Rating Filter:   Alert me  

How to package and distribute our software written in Gambas

by jbskaggs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

After six months I have a package that is nearly finished.

I understand how to make an installation package via Gambas.

What I need though is a one-click means of installing my data directories into the correct area on the user's drive.

IE

user.home/wwmkr.

Using linux's archive manager does not give me that option automatically.  Maybe there is a nice liux packager out there for the data files etc?

Second I need to know how to get the software in front of the people's eyes who need it.  How does one distribute a software efficiently and effectively?  Recruit alpha and beta testers etc.


JB SKaggs

Re: How to package and distribute our software written in Gambas

by richard terry-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 23 Jun 2008 11:51:55 am jbskaggs wrote:

> After six months I have a package that is nearly finished.
>
> I understand how to make an installation package via Gambas.
>
> What I need though is a one-click means of installing my data directories
> into the correct area on the user's drive.
>
> IE
>
> user.home/wwmkr.
>
> Using linux's archive manager does not give me that option automatically.
> Maybe there is a nice liux packager out there for the data files etc?
>
> Second I need to know how to get the software in front of the people's eyes
> who need it.  How does one distribute a software efficiently and
> effectively?  Recruit alpha and beta testers etc.

Use Me!!

As long as its not too onerus time wise, I'll give it a flogging.

As I'm a total computer klutz,  I can kill anything instantly, so I'd be
surprised if your software would be bug free in my hands. Mail me.

You'll need some sort of error logging though, cause I can't tediously record
everything (but then maybe you are such a good software engineer I won't have
to.

Regards

Richard

>
> JB SKaggs



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: How to package and distribute our software written in Gambas

by Stefano Palmeri :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Il lunedì 23 giugno 2008 03:51:55 jbskaggs ha scritto:

> After six months I have a package that is nearly finished.
>
> I understand how to make an installation package via Gambas.
>
> What I need though is a one-click means of installing my data directories
> into the correct area on the user's drive.
>
> IE
>
> user.home/wwmkr.
>

Oh well. If you just need to copy some data in user.home
there's an easy way to do it.

I.E. in your project directory there's a file called "mydata.txt"
and you want to install it when you distribute the installation package.
When you create the executable or the installation package the
file "mydata.txt" is integrated in the binary too.

Now you want to install it in user.home &/ blabla.

The only thing you need when you start the app is
to check if exist user.home &/ "blabla" &/ "mydata.txt".

If not exist just copy it:

COPY "mydata.txt" TO user.home &/ "blabla" &/ "mydata.txt".

"mydata.txt" is integrated in the binary: it's just a matter
of extracting it with COPY.

If you need to install files in a directory where you need
root permissions, you can do the same thing asking root
password to the user, or tell the user that to "complete the installation"
the app must be run as root for the first time.

> Using linux's archive manager does not give me that option automatically.
> Maybe there is a nice liux packager out there for the data files etc?
>
> Second I need to know how to get the software in front of the people's eyes
> who need it.  How does one distribute a software efficiently and
> effectively?  Recruit alpha and beta testers etc.
>

account on freshmeat.net or kde-apps.org.

Stefano


>
> JB SKaggs

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: How to package and distribute our software written in Gambas

by jbskaggs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I replied to this via email.

But I'd love any help.

The website where I host my stuff is www.wwmkr.com.

I will be posting a new release this evening that rewrites several complete modules.

JB
richard terry-2 wrote:
On Mon, 23 Jun 2008 11:51:55 am jbskaggs wrote:
> After six months I have a package that is nearly finished.
>
> I understand how to make an installation package via Gambas.
>
> What I need though is a one-click means of installing my data directories
> into the correct area on the user's drive.
>
> IE
>
> user.home/wwmkr.
>
> Using linux's archive manager does not give me that option automatically.
> Maybe there is a nice liux packager out there for the data files etc?
>
> Second I need to know how to get the software in front of the people's eyes
> who need it.  How does one distribute a software efficiently and
> effectively?  Recruit alpha and beta testers etc.

Use Me!!

As long as its not too onerus time wise, I'll give it a flogging.

As I'm a total computer klutz,  I can kill anything instantly, so I'd be
surprised if your software would be bug free in my hands. Mail me.

You'll need some sort of error logging though, cause I can't tediously record
everything (but then maybe you are such a good software engineer I won't have
to.

Regards

Richard

>
> JB SKaggs



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: How to package and distribute our software written in Gambas

by jbskaggs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Does this have to be done for each file or can I copy whole directories?

JB Skaggs

Stefano Palmeri wrote:
Il lunedì 23 giugno 2008 03:51:55 jbskaggs ha scritto:
> After six months I have a package that is nearly finished.
>
> I understand how to make an installation package via Gambas.
>
> What I need though is a one-click means of installing my data directories
> into the correct area on the user's drive.
>
> IE
>
> user.home/wwmkr.
>

Oh well. If you just need to copy some data in user.home
there's an easy way to do it.

I.E. in your project directory there's a file called "mydata.txt"
and you want to install it when you distribute the installation package.
When you create the executable or the installation package the
file "mydata.txt" is integrated in the binary too.

Now you want to install it in user.home &/ blabla.

The only thing you need when you start the app is
to check if exist user.home &/ "blabla" &/ "mydata.txt".

If not exist just copy it:

COPY "mydata.txt" TO user.home &/ "blabla" &/ "mydata.txt".

"mydata.txt" is integrated in the binary: it's just a matter
of extracting it with COPY.

If you need to install files in a directory where you need
root permissions, you can do the same thing asking root
password to the user, or tell the user that to "complete the installation"
the app must be run as root for the first time.

> Using linux's archive manager does not give me that option automatically.
> Maybe there is a nice liux packager out there for the data files etc?
>
> Second I need to know how to get the software in front of the people's eyes
> who need it.  How does one distribute a software efficiently and
> effectively?  Recruit alpha and beta testers etc.
>

account on freshmeat.net or kde-apps.org.

Stefano


>
> JB SKaggs

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: How to package and distribute our software written in Gambas

by Stefano Palmeri :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Il martedì 24 giugno 2008 09:43:47 jbskaggs ha scritto:
> Does this have to be done for each file or can I copy whole directories?
>
> JB Skaggs
>

COPY manages only single files.

you could create a *.tar archive file of your data, then COPY
the single *.tar file and then extract it. Not very clean...

Stefano


> Stefano Palmeri wrote:
> > Il lunedì 23 giugno 2008 03:51:55 jbskaggs ha scritto:
> >> After six months I have a package that is nearly finished.
> >>
> >> I understand how to make an installation package via Gambas.
> >>
> >> What I need though is a one-click means of installing my data
> >> directories into the correct area on the user's drive.
> >>
> >> IE
> >>
> >> user.home/wwmkr.
> >
> > Oh well. If you just need to copy some data in user.home
> > there's an easy way to do it.
> >
> > I.E. in your project directory there's a file called "mydata.txt"
> > and you want to install it when you distribute the installation package.
> > When you create the executable or the installation package the
> > file "mydata.txt" is integrated in the binary too.
> >
> > Now you want to install it in user.home &/ blabla.
> >
> > The only thing you need when you start the app is
> > to check if exist user.home &/ "blabla" &/ "mydata.txt".
> >
> > If not exist just copy it:
> >
> > COPY "mydata.txt" TO user.home &/ "blabla" &/ "mydata.txt".
> >
> > "mydata.txt" is integrated in the binary: it's just a matter
> > of extracting it with COPY.
> >
> > If you need to install files in a directory where you need
> > root permissions, you can do the same thing asking root
> > password to the user, or tell the user that to "complete the
> > installation" the app must be run as root for the first time.
> >
> >> Using linux's archive manager does not give me that option
> >> automatically. Maybe there is a nice liux packager out there for the
> >> data files etc?
> >>
> >> Second I need to know how to get the software in front of the people's
> >> eyes
> >> who need it.  How does one distribute a software efficiently and
> >> effectively?  Recruit alpha and beta testers etc.
> >
> > account on freshmeat.net or kde-apps.org.
> >
> > Stefano
> >
> >> JB SKaggs
> >
> > -------------------------------------------------------------------------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user@...
> > https://lists.sourceforge.net/lists/listinfo/gambas-user

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: How to package and distribute our software written in Gambas

by Benoit Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On lundi 23 juin 2008, jbskaggs wrote:

> After six months I have a package that is nearly finished.
>
> I understand how to make an installation package via Gambas.
>
> What I need though is a one-click means of installing my data directories
> into the correct area on the user's drive.
>
> IE
>
> user.home/wwmkr.
>
> Using linux's archive manager does not give me that option automatically.
> Maybe there is a nice liux packager out there for the data files etc?
>
> Second I need to know how to get the software in front of the people's eyes
> who need it.  How does one distribute a software efficiently and
> effectively?  Recruit alpha and beta testers etc.
>
>
> JB SKaggs

Hi,

Files and directories that must go to the user directory are never packaged
directly, because you do not know what are the user directories at packaging
time.

So they must be copied to the user directory by the program at first
execution, as all programs do.

At the moment, Gambas IDE can only put the executable in the final package, so
you have to put your initialization file inside the project and copy them by
hand.

This can be a problem if you have a lot of initialization files. In that case,
I suggest you create an archive of these file, so that you have only one file
in your project, and that you unpack it in the user directory. You must
suppose that the 'tar' and 'gzip' are present on the system, but this is
usually true.

In the future, the Gambas IDE packager my have support for packaging external
files and/or adding manual dependencies.

Regards,

--
Benoit Minisini

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user
LightInTheBox - Buy quality products at wholesale price