Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Program Announcements / TPC Installer v1.0 download

Author
Message
David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 12th Jul 2004 23:00 Edited at: 12th Jul 2004 23:02
Hi,

TPC Installer v1.0 is now available to download. Features:

Creates setup EXEs for your TPC
Supports DLL files, keyword files and help files
Extensive branding
Rich text readme support built in
Reads DBPro dir from registry, so you don't have to
Free

http://www.davidtattersall.me.uk/db/downloads/TPCInstaller.zip

[2.83mb]

EXE Overhead

The current overhead is 404kb. However, this literally disappears when zipped.
A 250kb DLL has a zipped setup file of only 212kb!

In version 1.1
Automatic help generation from keywords file
Pack activex controls in exe

The editor requires visual basic runtime, which is included in the setup file.
The compiled EXE also requires VB runtime. As well, it requires mscomctl.dll, rich text support and mstabctl.dll.
These files are very comonly already on a windows installation. mscomctl.dll is instaled by windows.

The "Pack controls" option will pack these controls with the setup so anybody who doesn't have them can still use hte setup. This feature is scheduled for version 1.1.

Screens

Pretty little icons



The install editor



The finished product




Let me know what you think

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 13th Jul 2004 00:17
Does this allow you to use VB to create DLLs? Or is it a VB program that wraps up "normal" DLLs written in C++?

Whatever, looks very well presented.

BatVink
http://biglaugh.co.uk/catalog AMD 3000+ Barton, 512Mb Ram, 120 Gig Drive space, GeForce 5200 FX 128 Mb, Asus A7N8X Mobo.
Terms & Conditions apply
David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 13th Jul 2004 00:33
Quote: "Does this allow you to use VB to create DLLs? Or is it a VB program that wraps up "normal" DLLs written in C++?"


No, it creates an installer exe (much like installshield) for your TPC dlls. To use vb to create DLLs, search the dbpro forum - exeat posted how a while ago.

Quote: "Whatever, looks very well presented."


Thanks

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
flibX0r
21
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 13th Jul 2004 00:52
Quote: "Web: cmc101@yahoo.com"


So David is really C M C...

Just downloaded it, looks really cool. If I ever release a TPC dll I will probably use this


http://www.jellystudios.tk
Current Project: Choplifter Remake
David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 13th Jul 2004 00:55
lol, others have noticed the CM[/b]C thing. It's just a joke

Get [b]15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 13th Jul 2004 01:28
DT I downloaded and installed ok. I am fiddling with it now...

one small comment: main form FormResize isnt set to a locked value like FixedSingle or FixedToolWindow so I can do all sorts of weird things to the gui which you prolly didnt intend - not a big deal tho


DBP_NETLIB_v1.4.3 - 65 FREE Functions * Click Logo
David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 13th Jul 2004 01:35
Is that the editor or compiled exe? I might have forgotten to set it to a locked value, but that doesn't really matter - its only behind the scenes stuff.

Let me know how you get on.

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 13th Jul 2004 01:45
no its the editor's main window - the window you get when you run the shortcut (installer.exe I believe)

Also: I have had two installs bomb out when trying to copy the help file, even though I specified a folder name in the editor, I purposely chose one that didn't exist, but the app doesn't check or ask to create the folder, it goes ahead with attempting to copy the help file to the location - ERROR 76 Path not found

You may want to add some code that checks for the path and offers to create it if not found, prior to attempting the file copy

the other files (dll's, keywords, readme) all were ok


DBP_NETLIB_v1.4.3 - 65 FREE Functions * Click Logo
David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 13th Jul 2004 01:56
Thanks for that.

I've just realised, stupid me, of course I have to create the help folder first

Although having said that I'm sure I've tested it and it did create the directory. I'll look into it.

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
Surreal Studio IanG
20
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Cyberspace...I think
Posted: 13th Jul 2004 03:04
massive problem - when ever you got to add a file then press cancel it adds a file of nothing, then you go and add the same type of file it errors and crashes.

Also when you go to compile and then click cancel it crashes. You need to add some code so that it can handle every possibility, due to visual basics being the windows api with a basic language wrapped around

PC Spec- AMD Athlon 2.0Ghz, GeForce FX5200 128mb, 512MB of ram, Win XP Home SP1

Error 0 = no error - how is this an error the???
David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 13th Jul 2004 03:45
Yeah, I meant to add that . Easy enough. It'll be in the new version, probably released tonight / tomorrow which'll have a load of bug fixes.

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 13th Jul 2004 03:56 Edited at: 13th Jul 2004 03:57
also you may want to consider adding a Save feature so if someone builds an installer, then updates a file in that package, they don't have to rebuild the entire script each time, they can load the data - should be simple enough using a plain old text/flat file to hold the data


DBP_NETLIB_v1.4.3 - 65 FREE Functions * Click Logo
David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 13th Jul 2004 04:28
Agreed. Also on the list for version 1.1

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
Surreal Studio IanG
20
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Cyberspace...I think
Posted: 13th Jul 2004 04:30
Quote: "I meant to add that"

my favourite excuse

PC Spec- AMD Athlon 2.0Ghz, GeForce FX5200 128mb, 512MB of ram, Win XP Home SP1

Error 0 = no error - how is this an error the???
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 13th Jul 2004 04:37
LOL Phoenix, I also like:

"It's in the mail"
"We didn't know"



DBP_NETLIB_v1.4.3 - 65 FREE Functions * Click Logo
David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 13th Jul 2004 04:54 Edited at: 13th Jul 2004 05:00
Quote: "Quote: "I meant to add that"
my favourite excuse"


Lol

Cancel support now added.

Editor is no longer resizable.

Just adding help dir checking.

[edit - help dir checking now done]

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 13th Jul 2004 05:09
cool


DBP_NETLIB_v1.4.3 - 65 FREE Functions * Click Logo
David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 13th Jul 2004 05:16
I have some questions about the auto-help generator.

I'll have to explode the INI-file into an array, using "=" as the separator.

So, in a normal situation I'd get:



and I can just loop in blocks of 3 reading the data and making help pages.

However, some people tend to like to add bits before the commands, some like to add = signs in the paramaters area etc. and that all mucks it up.

Any ideas?

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 13th Jul 2004 07:01
are you reading the ini file with win32api?
if so it will split on the first = character, leaving others in tact


DBP_NETLIB_v1.4.3 - 65 FREE Functions * Click Logo
David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 13th Jul 2004 07:05
No, I was planning on using simple file load functions and split()

I suppose there are alot of free vb ini libaries that'd make my life alot easier!

I've just noticed another mistake, when you first start a compiled setup is says "press next to continue". There's one button called 'start'

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 13th Jul 2004 07:12
if you need a vb6 (com) dll that has the ini file api already in it I have one that I wrote a long while ago for use in my vb6 programs that needed ini access.

or...



you could stick that in a module or a dll project and compile it


DBP_NETLIB_v1.4.3 - 65 FREE Functions * Click Logo
David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 13th Jul 2004 07:28
Cool thanks

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 13th Jul 2004 20:49 Edited at: 13th Jul 2004 20:50
Cool.


"Computers are useless they can only give you answers."
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 29th Jul 2004 23:41 Edited at: 29th Jul 2004 23:46
I finally got around to using this on an actual DLL but everytime I try to compile a file that has a space in it, I get this error:

"Error 331: Invalid Property Name"

There's also the bugs mentioned above, such as the editor bombing out when you cancel adding a file, or adding 2 files with the same name, etc. Just got another:

"Run-time error 380:

Invalid property value [value]: Value must lie between minimum value and maximum value"




"Computers are useless they can only give you answers."
David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 30th Jul 2004 03:02
Unfortunately I bowed to demands to release it quickly. Most of those bugs have been fixed and I know I keep promising a new version soon but I hopefully will get the bugfixes for the editor out by the end of the week.

Regarding the errors you get:

- File with space in - probably a problem with the treeview not liking keys with a space in. I'll fix it now.
- Cancellation - fixed.
- Two files with same name - again treeview keys. Realistically, when will you use files with the same name - DLLs won't have the same names, as they're going to the same directory and the same goes for keywords and help files.
- Invalid property value - progressbar during compilation it looks like. Something is odd there, can you tell me what exactly was included with the install? How many of each type of file etc.

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 30th Jul 2004 19:42
Quote: "- File with space in - probably a problem with the treeview not liking keys with a space in. I'll fix it now."


That happens when I compile btw, it adds to the treeview fine, it's just when I press the 'Compile' button, about halfway through it errors.


Quote: "- Two files with same name - again treeview keys. Realistically, when will you use files with the same name - DLLs won't have the same names, as they're going to the same directory and the same goes for keywords and help files."


The problem was with accidentally adding the same file, it's not hard to accidentally add the wrong one.


Quote: "- Invalid property value - progressbar during compilation it looks like. Something is odd there, can you tell me what exactly was included with the install? How many of each type of file etc."


One DLL, One Keyword file and 9 Help files. I'll try and narrow down why it happens.


"Computers are useless they can only give you answers."
David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 30th Jul 2004 19:59 Edited at: 30th Jul 2004 20:07
Okay thanks.

re: File with spaces

I add a file with a space, get no error but no exe is created either. Odd.

[edit]

Here's an updated version.

http://www.davidtattersall.me.uk/download/installer.exe

It fixes a few bugs that've been mentioned. Haven't found what causes your three though exeat

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 30th Jul 2004 21:08
does your TPC installer can be used freely with shareware/commercial products ?

David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 30th Jul 2004 22:26
Yes, it's royalty free. All I ask is that you let me know so I can build a list of products that use it

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"

Login to post a reply

Server time is: 2024-05-19 16:22:34
Your offset time is: 2024-05-19 16:22:34