Source language: Translate to:

GiveAway of the Day Launcher v1.01 - SourceCode

Share sample pubs, scripts, etc. with other NeoBook users

Moderator: Neosoft Support

GiveAway of the Day Launcher v1.01 - SourceCode

Postby tjchan » Fri Jan 19, 2007 8:26 pm

Dear friends of the NeoBook community,

I'm happy to release to you the source code for the GiveAway of the Day Launcher.

Included is the PUB and associated files, web pages, and Inno setup script.

I sure had a lot of fun making this - learned quite a bit about parsing. Also I'm wanting to see what I can do to make things more efficient. So if any of you could go over my code and teach me to be more efficient - that would be greatly appreciated!

Also there this PUB uses rtFSM for only one thing: rtFileSearch

Is there a way to make it not have to use a plugin at all?

In anycase, you are free to modify / add / use this code as you like (NB OpenSource).

Source Code:


What this program does:
1. Check offerings.
2. Download offerings.
3. Un-zips the file.
4. Run installer(s) (this includes activation stuff).
5. Deletes files downloaded.

As soon as you launch the program, it will connect to get ticker information. If the ticker does not show up (offering information), that means that either GAotD is down (no offering for the day), my website which I have the ticker code on is down, or that the program is not connecting to the internet properly.

Also a quick note regarding parsed entries:
ID1 Offerring ID
ID2 Year
ID3 Month
ID4 Day
ID5 Name of Program

Enjoy and thanks for all the help you've provided me on my projects!
-Timothy Chan

EDIT: Links fixed.
Posts: 70
Joined: Thu Mar 31, 2005 11:02 pm
Location: Dallas, TX

Postby AlfB » Sat Jan 20, 2007 12:01 pm

thx Tichan,
seems to be useful, as the GaotD-site is a pretty good idea.

Does it have a facility to know if you already installed the program of the day on your computer before? Could be quite useful.

User avatar
Posts: 132
Joined: Sun Apr 03, 2005 12:43 am

Postby tjchan » Sat Jan 20, 2007 12:41 pm

It does not. Though it can be easily adapted to do so - create a textfile history of what offerings were installed. As for checking if an installation actually can't do that (I don't know how, people could also just cancel the install process and the Launcher would have no idea) as it just creates a list of EXE files and runs them all excluding the PUB or Test-PUB and it's uninstall file.
Posts: 70
Joined: Thu Mar 31, 2005 11:02 pm
Location: Dallas, TX

Postby Neosoft Support » Fri May 07, 2010 10:59 am

Maybe giveawayoftheday changed something on their site?
NeoSoft Support
Neosoft Support
NeoSoft Team
Posts: 5612
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby smartmedia » Tue Nov 02, 2010 3:23 am


This domain is expired..
User avatar
Posts: 889
Joined: Fri Apr 01, 2005 6:50 am
Location: Hellas

Postby Wrangler » Tue Nov 02, 2010 8:41 am

I just checked the site, and it's working fine.
"You never know about a woman. Whether she'll laugh, cry or go for a gun." - Louis L'Amour

Windows 7 Ultimate SP1 64bit
16GB Ram
Asus GTX 950 OC Strix
Software made with NeoBook
User avatar
Posts: 1512
Joined: Thu Mar 31, 2005 11:40 pm
Location: USA

Return to Sample NeoBook Pubs

Who is online

Users browsing this forum: No registered users and 2 guests