Archive for February, 2009

Creating Software Installers

Every now and then I have to create an installer for a project I did with Director. I mostly work online and my mind usually goes blank when I need to create one. I’m certainly used to seeing them every day as I install new software to try it out.

On the Mac I typically see the lovely “drag this to applications” statement underneath a folder, and on the PC I get led through a standard sequence of steps where I can place shortcuts in lists, icons in docks, and about five other things I never really glance at (can you tell I’m a Mac guy?). Of course, I also see the dreaded click-thru installer on the Mac…life can’t be perfect.

My tools of choice are both free/donation-ware.

On the Mac you need to install the developer tools that are included on the Mac OSX DVD. Once you’ve done that you can go to HardDrive/Developer/Applications/Utilities and you will find the application called PackageMaker. This is rather easy to use (at least for simple installers), but one of the key things to notice is when the first start the program you have to enter your organization. This line MUST start with a ‘com.yadayada’ statement. A typical example might be “com.myCompany.productName”

After that you can drag content to have it included in the package (usually just one folder full of stuff in my case). You can click on the Edit Interface button to setup the readme text that will get displayed and the software license. After everything is done you click on the Build button.

On the PC side of things you can use Inno Setup. The setup wizard will lead you through all the things that can be included with the installer that you will create including the readme file, options for names in the shortcut menu, folder full of content, the executable of the content, etc.

After going through the steps you can save also go through a build step to create the setup.exe file. The program uses a tagged text file to build the final executable, and making minor edits in that text file are relatively easy if there is a small typo in a name or you decide to change the shortcut menu name.

Both products make it rather easy to create the installers.

1 comment February 22nd, 2009

Director 11.5 Available for Pre-order!!!

As reported on Direct-L, there have been two sightings of Director 11.5 which is now available for pre-ordering.

On Directorforum you can see a link that shows a release date of March 22, 2009, and on Amazon it shows April 4, 2009.

Seems as if Director has nine lives. Or maybe more than eleven and a half 🙂

From Amazon
Image from Amazon

3 comments February 16th, 2009

Good Books for Learning Flash

There was a discussion on Direct-L last week about books that are good when trying to learn Flash (and in particular AS3). Several nice ones were mentioned.

I picked up ActionScript 3.0 Game Programming University the other day and am starting to work my way through it. I feel that learning a new language by programming simple games is a good idea, since you always have a true goal in mind. Even better, a bit of physics gets thrown in so that aliens can behave in a realistic fashion when moving through varying gravitational fields 🙂

The book was written by Gary Rosenzweig, who many might know from years on various Director lists. Be sure to drop by the site that goes along with book called FlashGameU.

ActionScript 3 Game Programming U Book Cover

4 comments February 3rd, 2009

Ceiling and Floor in Lingo

People occasionally have questions when trying to find a ceiling or floor function in the Lingo library so I figured I’d post it here for future googlers.

Lingo didn’t include these two math functions, but you can write your own functions and keep them in your personal library of goodies.

on floor aFloat
 return integer(aFloat) - (aFloat < integer(aFloat))
end

on ceil aFloat
 return integer(aFloat) + (aFloat > integer(aFloat))
end

If you are working with Javascript these functions are built in:

Math.ceil(aFloat);
Math.floor(aFloat);

2 comments February 3rd, 2009


Director Sites

Calendar

February 2009
M T W T F S S
« Jan   Mar »
 1
2345678
9101112131415
16171819202122
232425262728  

Archives

Recent Posts

Recent Comments