Monthly Archives: May 2012

Executing Commands as Custom Actions in WiX

The two Custom Actions work together to execute an arbitrary command. The first Custom Action sets the actual thing you want to execute as a property and the second executes it. You need to follow this pattern if your command

Tagged with: ,
Posted in WiX

Simulating Slow Network on Virtual Machines

We needed to simulate that our data frameworks will work over a slow network link. There is a VMWare configuration option to limit a virtual NIC to a certain bandwidth. Just edit the VM’s .vmx file and enter the speed

Tagged with: ,
Posted in Virtualization

Java Active Directory Authentication

I had to quickly add some AD authentication to one of our applications and it was becoming cumbersome at best using the built in Java LDAP libraries.  Most things had to have FQDNs, nested groups weren’t supported, the host name

Tagged with: , , ,
Posted in Active Directory, Java

Generate Installer Product IDs Automatically

I had installed some scripting in Jenkins to generate a random guid on each build of our installers and inject it through maven into the WiX source files.  It turns out WiX supports that natively by just placing a ‘*’

Tagged with:
Posted in WiX