I think the way we did this originally was to examine how other
installers worked and what changes they made to the Registry.
You can grab the registry content before and after running a
particular installer, eg:
$ virt-win-reg windows.img 'HKLM\SYSTEM' > old-system.reg
# run the installer
$ virt-win-reg windows.img 'HKLM\SYSTEM' > new-system.reg
$ diff -ur old-system.reg new-system.reg
You can also use virt-diff to show the differences between the entire
disk image before and after.
http://libguestfs.org/virt-win-reg.1.html#synopsis
http://libguestfs.org/virt-diff.1.html
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/