You should be able to do this by running the setup.exe from the command line and adding the relevant switches. For example "TARGETCOMPUTER=" and "INSTALLASDATADIR".
For even more granular control you could use an INI file with the setup.exe.
You can tell the setup program to use an ini file by means of the "settings" switch like this:-
start /wait setup.exe /qb /settings c:\template.ini
An example of the structure of this INI file is attached.