Board Logo
« JB Install Maker Released! »

Welcome Guest. Please Login or Register.
Sep 23rd, 2017, 3:03pm


Conforums Terms of Service | Membership Rules | Home | Search | Recent Posts | Notification | Format Your Message | Installation FAQ


« Previous Topic | Next Topic »
Pages: 1 2  Notify Send Topic Print
 hotthread  Author  Topic: JB Install Maker Released!  (Read 5370 times)
defcon
Member in Training
ImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 26
xx Re: JB Install Maker Released!
« Reply #15 on: Jan 12th, 2007, 4:07pm »

on Jan 10th, 2007, 4:37pm, JohnDavidson wrote:
But then, there's a LB version in the works that is much more advanced.

Why don't you intergate them into one? Make them select what type of install they want to do, and it runs the program. It first be an LB/JB compatible task launcher but the LB Installer would be LB only.
« Last Edit: Jan 12th, 2007, 4:17pm by defcon » User IP Logged

So what if I use Windows 95?
Janet Terra
Global Moderator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Female
Posts: 3061
xx Re: JB Install Maker Released!
« Reply #16 on: Jan 12th, 2007, 5:13pm »

John will, I'm sure, respond to this with a lot more knowledge and eloquence, but let me just offer a two word explanation: Open Source.

Creating the program in LB leaves the JB programmers out in the cold. Open Source projects are meant to invite the participation of other programmers to get the best the community can offer. As an example, look at the great job uncleBen has done with his Freeform-J improvements.

The idea is to take the JB Installer as far as the JB community can take it, and to take the LB Installer as far as the LB community can take it (both under John's tutelage and guidance of course). Beyond the obvious anticipation of seeing a program of this quality develop, it will also be interesting to see how each program handles similar tasks and outputs.

Janet
User IP Logged

Janet Visit me at BASIC Samplings
Facundo
Board Moderator


member is offline

Avatar




PM

Gender: Male
Posts: 1289
xx Re: JB Install Maker Released!
« Reply #17 on: Jan 27th, 2007, 1:59pm »

I have the same problem that Janet has, I think the
while/wend loop is too fast. The line is :

fsize = val(info$(1,1))

The debugger says:

Program halted : system primitive failed


I fixed it checking for file existence with:
Code:
if val(info$(0,0))<>0 then fsize = val(info$(1,1))
 
User IP Logged

cundo aka MSlayer
ValorSolo
Junior Member
ImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 113
xx Re: JB Install Maker Released!
« Reply #18 on: Dec 20th, 2010, 9:16pm »

on Jan 10th, 2007, 8:35pm, JohnDavidson wrote:
Yes, JB Install has the ability, using 7zr, to wrap JB applications.
I am a bit hesitant to enable the feature for a couple of reasons, not least of which is the extra code a JB app might need.

When you run a wrapped application a temporary folder is set up and everything is extracted there.
This temporary folder is where your JB app runs and when the program terminates, the temp folder is deleted.
If your code does not read/write to files then everything is ok.

If your app does read/write, a folder needs to be setup, outside of the temp folder, to hold the files.
Your application would need to know where to find this folder.

It's not a great problem but one that could cause headaches if were to be overlooked.
Imagine someone downloading your database application and spending a couple of hours inputting info only to find out the data was deleted when they closed the program!

John



Do you offer instructions for enabling JB Install Maker to do this?
I understand what you are talking about, and can work around that.
User IP Logged

Yoda: No. Try not. Do... or do not. There is no try.

Just BASIC 1.01, Ubuntu 12.04, HP Pavilion zv6000, AMD Sempron 3000+ 1.79 Ghz, 2 GB RAM.
JohnDavidson
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 4142
xx Re: JB Install Maker Released!
« Reply #19 on: Dec 21st, 2010, 12:32pm »

This is normally handled inside of the JB application you are writing.
Most often DefaultDir$ is used to create files in the folder your application is run from.
As long as your program is installed in a non-protected folder, ie c:\my application, everything works fine.

Vista and Win7 doesn't allow users to create or write files to \Program Files\ so your application needs to find the appdata folder and create a folder there to store files.
With LB a simple API would do the job of finding the %APPDATA% folder.

Environment_Variables, at the JB WIKI, shows how to find this folder in JB.
This can, and probably should, be used for installs on Xp systems as well.

John
User IP Logged

John Davidson
e-me: johnshomeport@yahoo.com
My JB Page: http://john.jbusers.com/
Did ya Libby yet? http://lblibby.com/
ValorSolo
Junior Member
ImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 113
xx Re: JB Install Maker Released!
« Reply #20 on: Dec 22nd, 2010, 3:52pm »

I understand the whole bit about Environment Variables and Protected Folders.
I was just wondering if you offered instructions for using JB Install Maker to wrap all files into one EXE.
User IP Logged

Yoda: No. Try not. Do... or do not. There is no try.

Just BASIC 1.01, Ubuntu 12.04, HP Pavilion zv6000, AMD Sempron 3000+ 1.79 Ghz, 2 GB RAM.
ki4jgt
Full Member
ImageImageImageImage


member is offline

Avatar



ICQ AIM
Homepage PM

Gender: Male
Posts: 215
xx Re: JB Install Maker Released!
« Reply #21 on: Jan 24th, 2011, 01:05am »

I'm packing SmashIndex Logger in this. Thanks John! smiley
User IP Logged

http://www.smashindex.com
Rule #51: Sometimes you're wrong!
Pages: 1 2  Notify Send Topic Print
« Previous Topic | Next Topic »

Conforums Terms of Service | Membership Rules | Home | Search | Recent Posts | Notification | Format Your Message | Installation FAQ

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls