cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
lonewolf32
Level 5

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.

Thanks,
Dave
Labels (1)
0 Kudos
(1) Reply
MichaelU
Level 12 Flexeran
Level 12 Flexeran

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.
0 Kudos