You should be able to write a plug-in for VISE for implementing things like this. However, do you really need to do it in the installer? In fact, do you need an installer at all? You should avoid them where possible, and you could ask for the serial number on the first time you run your application.