Silent install Program Files directory selection on 64-bit
Is there any way to specify in an ISS (silent install) file, the proper installation directories for 32- and 64-bit operating systems? Specifically for the answer to SdAskDestPath in the file I want to specify "c:\Program Files\mydir" for 32 bit and "c:\Program Files (x86)\mydir" for 64 bit.
I think the best approach currently available would be to record two response files, and use a batch file to call the correct one. Alternatively, if you want to enforce the Program Files (x86) directory in your script, you could write script that modified this on a 64-bit machine; then just be sure to record your values on a 32-bit machine.