Friday, 31 October 2008

Goodbye Domain Central, Hello GoDaddy

The domain I registered for our band SevenFold is up for renewal in a couple of weeks. I’d received a few reminder emails from Domain Central and as it was getting close I decided today to get around to paying the money.

First stop, I went to their website, but was surprised to see that their online price was now $AU17.95 for .com domains. That’s a fair bit more than the $AU12.50 they’d listed on the tax invoice they mailed me.

Not wanting to pay more than I had to, I then rang them up and tried to pay over the phone. All was fine until they repeated the amount – “Hang on, my bill here says $12.50!”.

“Sorry, our costs have increased so we increased our prices just over a week ago”.

So they refused to let me pay the tax invoice they sent to me, and insisted that it was a “mistake” – even though the invoice wasn’t due until 1st November (and today is the 31st October).

I rang the Office of Consumer and Business Affairs and they confirmed that I should be able to pay the bill I had received for the amounted printed on the bill.

Figuring that I’m not likely to have any more success ringing Domain Central back, I’ve decided instead to take my business elsewhere.

Sunday, 26 October 2008

It was 20 years ago today..

That I was in year 12 at Blackwood High School. So last night we had our 20 year reunion at the Duke of Edinburgh Hotel in Lower Mitcham. It was a very warm evening, otherwise I might have worn my old year 12 top (I’ve managed to keep it and it hasn’t faded too much. And yes, it is blue) -

Front of Blackwood High Year 12 jumper from 1988

In many ways, 1988 doesn’t seem that long ago, and looking around at the many people who turned up, it was interesting to see some faces that had hardly aged a year, and others I completely did not recognise at all. That’s not completely surprising though – there were originally about 245 of us!

I find it is an occasion to reflect on your life – the choices and decisions you’ve made that have led you to where you are today. Remembering those days leaving High School, wondering how things would turn out. Would I ever have a girlfriend, get married, have kids? “Yes”, “yes” and “yes” in that order as it happens!

It’s interesting that out of all those people, there’s probably only a small handful that I have maintained contact. Having said that, it was really nice to catch up with a few old faces that I wouldn’t have seen since school days.

Thanks to Anita, Kendall and Louise for organising the event.

And if that’s got you in an 80’s reminiscing mood, why not listen to a bit of SKY.fm’s Best of the 80s streaming radio.. ah so many memories, so little time :-)

Sunday, 19 October 2008

Building a new Vista 64bit machine

I’m in the process of upgrading my Dad’s PC. He does a bit of video editing, and had noticed his machine was getting slower and slower, combined with the increased minimum requirements of the latest version of Pinnacle Studio.

The existing components that we wanted to reuse include:

Because his machine was a few years old, buying some extra RAM was going to be relatively expensive, so I suggested maybe he do a complete upgrade. Hoping to reuse the old case and drives, I selected the following components:

One thing I realised (from previous experience) was to make sure that there was enough room for the CPU fan. The old case was one of those compact upright boxes, and from examining the old motherboard it became obvious that the location of the existing PSU would prevent anything larger than ~5cm. All was not lost, as I just happened to have another case around that was slightly taller and allowed the PSU to sit alongside rather than over the top of the motherboard.

The GA-MA770-S3 comes with lots of SATA connectors, but only one IDE connector. As we wanted to make use of two existing IDE hard disk as well as the old IDE DVD drive, I bought the extra ATA controller that plugs into the PCI slot. The only downside to this appears to be that you can’t boot off of a drive connected to the PCI card.

Newer motherboards require a 24 pin power connector, hence the new PSU. The Vantec was not my first choice (I had chosen a Cooler Master eXtreme Power 500W but MSY didn’t have that in stock), but it seems a capable unit. I particularly like how all the cords are wrapped in blue mesh to keep things tidy.

I’d decided that I’d use the 80Gb drive as the system drive (apparently it has an 8Mb buffer compared to the 60Gb’s 2Mb so it should be a bit faster).

After connecting all the bits and pieces together, I booted up the Vista 64bit DVD and got as far as installing it onto the correct drive. It then rebooted and I saw the following unhelpful message:

“The computer has restarted unexpectedly or encountered an
unexpected error. Windows installation cannot proceed..”

I found a post to the Microsoft newsgroups by Richard Urban which lists some conditions which can cause this problem (and sure enough they matched my hardware).

Following his advice, I disconnected all the drives except the 80Gb drive and the DVD, which were both attached to the motherboard’s IDE slot. The Vista installation proceeded as normal.

(If the DVD drive ever gets upgraded in the future for a SATA model, this problem would be avoided)

Following the successful restart, I then reconnected all the other drives and put the DVD back on the PCI card. Everything then came up fine, however the DVD wasn’t anywhere to be seen. Vista identified the card as an Integrated Technology Express IT8212F. In the FAQ for this card, it mentions that there are two BIOSes available – a RAID BIOS which only works with hard disks, and “pure” IDE BIOS which also supports ATAPI devices (eg. CD/DVDs). There’s a BIOS upgrade application, but it only works in DOS mode, which won’t work in Vista 64bit.

I tried the BIOS upgrade (on three different machines) but with no success. I was about to give up when I figured out that I could host the two IDE drives (including the Vista system drive) on the PCI adapter as long as the system drive was configured as the first drive. This then allowed the drive to be listed in the main motherboard BIOS’s list of bootable drives.

Now everything is working well. The only outstanding issue is to check whether the Epson Perfection 2400 PHOTO scanner can work properly with Vista 64bit. There are Vista drivers but it appears the Epson Smart Panel software requires a non-free upgrade to a compatible version.

Thursday, 16 October 2008

Major upgrades with WiX

I thought I was going crazy.. I’d built an installer using WiX and set the product version to 1.0.0.1. The plan was that installing a new version would automatically uninstall any old versions.

I then updated the version to 1.0.0.2 and installed the new version, only to end up with two installations.

Turns out that Windows Installer only looks at the first 3 digits of the ProductVersion (as the first Note mentions in the Windows Installer documentation on Major Upgrades) – so twiddling that 4th digit is not going to have any effect.

Here’s a sample .wxs file that works for me:

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
  <?define version = "1.1.3.11" ?>
  
  <Product Id="*" Name="WixUpgrading $(var.version)" Language="1033" Version="$(var.version)" Manufacturer="WixUpgrading" 
           UpgradeCode="630aaa2d-a583-46db-85c4-eaf237590c61">
		<Package InstallerVersion="200" Compressed="yes" />
		<Media Id="1" Cabinet="WixUpgrading.cab" EmbedCab="yes" />
		<Directory Id="TARGETDIR" Name="SourceDir">
			<Directory Id="ProgramFilesFolder">
				<Directory Id="INSTALLLOCATION" Name="WixUpgrading">
					 <Component Id="ProductComponent" Guid="c768bc29-e2d6-4f1c-b711-2dcf91641fab">
             <File Id="TextFile1.txt" Name="TextFile1.txt" KeyPath="yes" Source="TextFile1.txt" />
           </Component> 
				</Directory>
			</Directory>
		</Directory>
		<Feature Id="ProductFeature" Title="WixUpgrading" Level="1">
			<ComponentRef Id="ProductComponent" />
		</Feature>
    <Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes" />
    <Property Id="ALLUSERS" Value="1" />
    <Upgrade Id="630aaa2d-a583-46db-85c4-eaf237590c61">
      <UpgradeVersion Property='PREVIOUSVERSIONSINSTALLED' OnlyDetect="no" IncludeMinimum='yes' Minimum='0.0.0' IncludeMaximum='no' Maximum='$(var.version)' />
      <UpgradeVersion Minimum="$(var.version)" IncludeMinimum="no" OnlyDetect="yes" Language="1033" Property="NEWERPRODUCTFOUND" />
    </Upgrade>
    <InstallExecuteSequence>
      <Custom Action="PreventDowngrading" After="FindRelatedProducts">NEWERPRODUCTFOUND AND NOT Installed</Custom>
      <RemoveExistingProducts Before='InstallInitialize' />
    </InstallExecuteSequence>
    <CustomAction Id="PreventDowngrading" Error="Newer version already installed." />
    <CustomAction Id="UIandAdvertised" Error="Something about the UI."/>
    <InstallUISequence>
      <Custom Action="UIandAdvertised" Sequence="3">ProductState=1</Custom>
    </InstallUISequence>
  </Product>
</Wix>

Wednesday, 8 October 2008

Using SQL Server 2008 for Enterprise Applications

Timothy Walters, Ben Laan and I will be the speakers at tomorrow’s Adelaide SQL User Group meeting.

We’ll be sharing some of our experiences using SQL Server 2008, including:

  • Change Tracking
  • Replication
  • Synchronisation
  • Integrating with legacy SQL 2000 databases that have no referential integrity worth speaking of

Register if you’d like to come along – hope to see you there!

Tuesday, 7 October 2008

A new TV

I finally decided on a new TV for the home theatre, after my attempts at getting the 1970’s era CRT to work failed.

I chose a Kogan 1080P-32 – a Full-HD LCD TV. Importantly, it supports HDMI input and as the name suggests can display full high definition – 1080 Progressive. Kogan are an online store, so it did mean that I had to order something sight-unseen – a bit scary when you’re spending a reasonable amount of money. Happily, the TV was couriered quickly and safely and I haven’t had any problems with stuck pixels.

I then had to connect the screen to the home theatre box. Some retails sell HDMI cables for more than $100, but instead I bought a 5m cable from MSY for $10.

It seems to work quite well with Media Center. The only issue I’ve had is that when you close Media Center and do other stuff in Vista, the display is a bit blurry. I’m not sure if that’s a problem with the graphics card or something else. Not a huge problem but it would be nice to sort it out.

I then hired a Blu-Ray DVD to try out. This also worked ok, once I realised I hadn’t installed all the PowerDVD bits. For some reason, PowerDVD doesn’t integrate with Media Center, so you either have to manually swap over to PowerDVD, or install another player like ArcSoft's TotalMedia Theatre. This is a bit better, though it still isn’t completely integrated as the stop/play buttons on the remote control didn’t work properly.

The net result is that everything is working well. The monitor that we were using for the TV is now back on my home computer, and we’re now looking around furniture shops for a nice home entertainment unit to put it all in.

One sad note – A couple of weeks ago we were watching TV when the machine started locking up (always in the most crucial part of the TV program!). I eventually discovered that my 1Tb WD disk had developed a bad case of badsectoritis. It was just over 1/2 full and had been fine up until now, so I can only guess that maybe there were a bunch of bad sectors in the second half of the disk that we started to hit, or some kind of electronic malfunction. In any case it will need to be sent back under warranty to get sorted out. In the meantime we can survive on the other disk.