Must have developer tools

September 19, 2009 01:23 by andyh
  • Service capture
  • VM Ware workstation
  • Visual studio
  • Notepad ++
  • Firefox add on - ColorZilla
  • Firefox add on -CSS viewer
  • Firefox add on -Measure it
  • Firefox add on - X-Pather
  • Firefox add on -C-PAth checker
  • Firefox add on -FireFTP
  • Firefox add on - Web Developer
  • Subversion
  • TortoiseSVN
  • Ahnk SVN
  • Open Office
  • SQL server

Let me know if you have any other cool add ons or tools that you use regularly.


Dynamically relocating shortcuts in Wise Installation Studio

April 14, 2008 16:42 by andyh

I often find trying to get an all singing all dancing installer working in Wise Installation studio can be a long drag for some features.

I was attempting to create a generic installer using parameters to change the properties i needed. The application was a simple lockdown browser tool but was required by multiple customers.

For this

a) The program(s) should go in a standard location eg: c:\program file\mycompany

b) The installation location should be customer related  to allow for multiple installs eg:  c:\program file\mycompany\myproduct\mycustomer

c) Have different Shortcuts for different customers(so teach release of the installer doesnt overwrite the other

d) Have different installer IDs foreach customer (so they dont end up having to uninstall to install a new instance)

  This solved the problem of location, but i've yet to change the shortcut name dynamically.

 

For this article... c) was causing a problem as there was no obvious way that seemed to work. (There were obvious ways that didnt lol)

 

 

How to change the locations of the shortcut file......

 

1. Goto the [files] section in [Installation Expert]

2. Goto Windows\Profiles\Start Menu\Programs and create yourself a dummy shortcut folder eg: myShortCuts 

3. Create your shortcut in the [Shortcuts] section in [Installation Expert].

4. Set the Dest. Directory to the new location you created (you can tweak icon and name later)

5. In [Setup Editor] go to [Product] ->[properties] and create yourself a propery called MYCUSTOMER and give it a value of 'defaultcustomer'

6. In [MSI Script] interface, use the [Set Directory] action as follows:

  • Call it MyShortCutPlacement
  • For Directory, browse to Windows\Profiles\Start Menu\Programs\myShortCuts. the value will change to MYSHORTCUTS to be referenced by wise.
  • For the Directory Value enter   [ProgramMenuFolder]\[MYCUSTOMER]\ THis should place your shortcut under the programs section with your customer name.
  • I placed the action towards the end of the User Interface script. Anywhere else seems to product the standard unhelpful error codes from windows installer.


This deals with the shortcut once using this parameter, you can alter it however you wish in the interface. I also changed the location of the installed files to be dependant on customer name. to avoid any overwriting of files

 

 


Subversion

March 23, 2008 22:05 by andyh

I have to admit, I have been converted  from the dark side (Microsoft Source Safe) to the Subversion family of tools/add ons.

Thanks to a fellow code monkey, my opinion was changed, in all but a matter of weeks.  I wouldn't say it was a 'kicking and screaming' moment, rather a reluctance to move off the nice warm couch, assume the lotus position and do things in a differently painful way. Similar creaking of joints came from the rest of our team.

The problem is, source code control is an essential  process which can be painful you don't have the right tools. Like a lot of you out there , you may think the commercial offerings are too costly, and i for one have in the past, still managed to lose several  hours of work to source safe due to program oddities, process isues, or just bad practice. 

 

What i'm saying is... pucker up and embrace Subversion. If all yuo've known is SourceSafe, you're going to love this, and all it's little quirks.

 

  Subversion can be found at http://www.tigris.org;