Ok, what you want to do is recompile the installer to take a directory value.. on the install complete action run a batch script to modify all configs needed but sending in the directory root from the installer.

This way you can always use the batch script in other ways for example.. Relocation .. migrating tto and from usb -> pc / pc -> usb..

This is a god idea.