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 5369 times)
JohnDavidson
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 4142
xx JB Install Maker Released!
« Thread started on: Jan 9th, 2007, 9:53pm »

JB Install Maker is available in the Advanced Utilities section of the archives.

If you want to see how it works from the user's view, you can download the Full Install version created in JB Install Maker.

If you put a copy of Resource Hacker in your JB Install Maker you can add icons to your runtime and distribution packages.

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/
defcon
Member in Training
ImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 26
xx Re: JB Install Maker Released!
« Reply #1 on: Jan 9th, 2007, 9:58pm »

i'm grabbing a copy!
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 #2 on: Jan 10th, 2007, 3:41pm »

I've got my copy downloaded now. Yay!! With the long weekend coming up, I'll have lots of opportunities for exploring, admiring and kicking tires. smiley

Janet
User IP Logged

Janet Visit me at BASIC Samplings
StarrV
Guest
xx Re: JB Install Maker Released!
« Reply #3 on: Jan 10th, 2007, 4:15pm »

Yay!!! laugh grin, I was waiting for this all the time (Even though I had an idea of creating this, But you got to it before me) . Did you make this with LB, of JB?
User IP Logged

JohnDavidson
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 4142
xx Re: JB Install Maker Released!
« Reply #4 on: Jan 10th, 2007, 4:37pm »

It's written in JB.
The source code is included and it will run in LB or JB.
The files are JB Install Maker.bas and jbinstal.bas.
The latter, Tknized, is the one that is included in distro packages and is the GUI that the end-user sees.

If you intend to use this for LB applications you will need to point to LB's runtime engine instead of JB's.

I suppose it would be possible to add a runtime selector for those who use both JB and LB.
But then, there's a LB version in the works that is much more advanced.

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/
StarrV
Guest
xx Re: JB Install Maker Released!
« Reply #5 on: Jan 10th, 2007, 7:23pm »

Can Jb compress a program into one file to run without having all the files around confusing someone?
User IP Logged

JohnDavidson
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 4142
xx Re: JB Install Maker Released!
« Reply #6 on: Jan 10th, 2007, 8:35pm »

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

User IP Logged

John Davidson
e-me: johnshomeport@yahoo.com
My JB Page: http://john.jbusers.com/
Did ya Libby yet? http://lblibby.com/
Janet Terra
Global Moderator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Female
Posts: 3061
xx Re: JB Install Maker Released!
« Reply #7 on: Jan 10th, 2007, 9:39pm »

I like the program very much. I've sent John a message regarding an issue with the program perhaps not fully waiting for the archive build to finish, but adding a longer delay seems to solve that. Anybody else experience a similar error?

I really like being able to send just one program to the user. I've never felt the need to keep the entire program contained within one file. I have lots of programs that require numerous support files and I've never really thought twice about them. But I do like not having to explain to the user that a folder must first be created, then all the files must be unzipped in that folder. Truly, some of the people who use my programs are just getting comfortable clicking on a screen with a mouse and don't really know how to make a folder. So I find this program very appealling and something I'll definitely use. I'm hoping to be a part of its development.

So, I'm going back to kicking tires. I have several programs that use lots of dll's and resource files, some residing in the same folder as the program, others residing in subfolders. Thus far, though, this program looks awesome!

Looking forward to hearing thoughts / results from everyone else. smiley

Janet

User IP Logged

Janet Visit me at BASIC Samplings
StarrV
Guest
xx Re: JB Install Maker Released!
« Reply #8 on: Jan 11th, 2007, 5:00pm »

on Jan 10th, 2007, 9:39pm, Janet Terra wrote:
I like the program very much. I've sent John a message regarding an issue with the program perhaps not fully waiting for the archive build to finish, but adding a longer delay seems to solve that. Anybody else experience a similar error?

I really like being able to send just one program to the user. I've never felt the need to keep the entire program contained within one file. I have lots of programs that require numerous support files and I've never really thought twice about them. But I do like not having to explain to the user that a folder must first be created, then all the files must be unzipped in that folder. Truly, some of the people who use my programs are just getting comfortable clicking on a screen with a mouse and don't really know how to make a folder. So I find this program very appealling and something I'll definitely use. I'm hoping to be a part of its development.

So, I'm going back to kicking tires. I have several programs that use lots of dll's and resource files, some residing in the same folder as the program, others residing in subfolders. Thus far, though, this program looks awesome!

Looking forward to hearing thoughts / results from everyone else. smiley

Janet



Smae here, Janet. I have to wait 2 hour just for the program to build up and make the installer. Im trying to modify the code to make it less time.
User IP Logged

JohnDavidson
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 4142
xx Re: JB Install Maker Released!
« Reply #9 on: Jan 11th, 2007, 5:23pm »

on Jan 11th, 2007, 5:00pm, SS wrote:
same here, Janet. I have to wait 2 hour just for the program to build up and make the installer. Im trying to modify the code to make it less time.

It should never take two hours to create an install unless you have opted to use every file on your computer!

On my machine, I can create most installs in under a minute.
Some have been around 20 meg before compression.

Have you looked in Task Manager to see if any there are any instances of Winoldap running?
If there are, they should be terminated before building an install.

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/
StarrV
Guest
xx Re: JB Install Maker Released!
« Reply #10 on: Jan 11th, 2007, 6:24pm »

on Jan 11th, 2007, 5:23pm, JohnDavidson wrote:
It should never take two hours to create an install unless you have opted to use every file on your computer!

On my machine, I can create most installs in under a minute.
Some have been around 20 meg before compression.

Have you looked in Task Manager to see if any there are any instances of Winoldap running?
If there are, they should be terminated before building an install.

John



Oh. I had 4 Just BASIC editor open because I was looking at differents codes, etc. Thanks for the tip.
User IP Logged

Janet Terra
Global Moderator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Female
Posts: 3061
xx Re: JB Install Maker Released!
« Reply #11 on: Jan 11th, 2007, 8:57pm »

on Jan 11th, 2007, 5:00pm, SS wrote:
Smae here, Janet. I have to wait 2 hour just for the program to build up and make the installer. Im trying to modify the code to make it less time.


Just to clarify...
An unreasonable wait isn't the issue I was addressing. In fact, my issue is just the opposite -- too fast! Sometimes the While Wend loop is exited before all the files are completely written, or at least before the flag that says those files are done has been set. I need to set an extra 1 or 2 second delay. This 1 or 2 seconds is virtually imperceptible in the running of the program. 2 hours? Wow! I'm glad you got that sorted out. smiley

Janet
User IP Logged

Janet Visit me at BASIC Samplings
Suzi
Member in Training
ImageImage


member is offline

Avatar




PM

Gender: Female
Posts: 69
xx Re: JB Install Maker Released!
« Reply #12 on: Jan 12th, 2007, 01:26am »

Just had a go at your Install program, and after a few go's at compling
it appeared to make the 'running' program, however on starting the EXE
this came up

     runtime Error: "resetProgressDialog" not understood
    
the program does run from within the JB program
(I have never been able to get JB or LB to make a EXE, I have read Janet
and Welopez 'how to make an EXE' pages with no luck)
« Last Edit: Jan 12th, 2007, 01:26am by Suzi » User IP Logged

JohnDavidson
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 4142
xx Re: JB Install Maker Released!
« Reply #13 on: Jan 12th, 2007, 02:50am »

In your JB Install Maker folder is a file named jbinstall.ini.
This file contains the the path to your jbrun101.exe and the path to your JB folder.

You can open this file with notepad and on my machine it looks like Quote:
C:\Program Files\Just BASIC v1.01\jbrun101.exe C:\Program Files\Just BASIC v1.01


If the file does not point to your JB folder you can delete the file.
The next time you run JB Install Maker you will be prompted to select the runtime again.
Be sure it's jbrun101.exe that you select.

When you create an install you will not want to have JB's Dlls, Slls, or a renamed jbrun101.exe in your application's folder.
JB IM will take care of copying the files.
You will, of course, need to compile the Bas source down to a Tkn before you can build an install package.

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/
Suzi
Member in Training
ImageImage


member is offline

Avatar




PM

Gender: Female
Posts: 69
xx Re: JB Install Maker Released!
« Reply #14 on: Jan 12th, 2007, 1:10pm »

Thanks for your suggestion, I had got the wrong file, however after I removed and
changed the JB program to JB 101, I went through this

1. created new subdir

2. copy 'MyProgram.bas' (created with JB) into new subdir

3. run JB, load MyProgram.bas into JB

4. select run-dropdown menu,
choose make *.TKN file,
save TKN file in new subdir

5. close JB

6. run JBInstallMaker.EXE

7. in ProgramName type 'MyProgram'

8. click the orange include folder,
find new subdir
and add MyProgram.tkn file

9. select Build

10. close JBInstallMaker.EXE

11. from the JBInstallMaker subdir find MyProgram.exe and run it

12. change 'Install to' to where I want the program to be, and press 'begin'

13. press 'done'

14. find the new MyProgram subdir open and found the MyProgram.exe and run it

and still get the same error
(I am using a windows ME, could that be the problem?)

Welopez,
you did a great job with the 'how to make EXE'
I just could not get it to work on my JB
my JB and LB will make a TKN but keeps comeing up with that error, but I will try again!
« Last Edit: Jan 12th, 2007, 1:11pm by Suzi » User IP Logged

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