Since this turned out to be pretty high in Googleβs results - anyone who wants to put a file on a drive that is not a Windows volume (i.e. a network drive, or if Windows is not located on drive C):
Follow the answer provided by @Cosmin above (add a special folder to the installer file system), but enter the drive literal.
For example, set DefaultLocation to c:\MyApp or z:\desired\location .
source share