the help for FileInstall is somewhat lacking, i hope this can explain it better. consider this example: FileInstall('blabla.bmp', @TempDir, 1) FileInstall does 3 different things in 3 different scenarios: 1) when you compile your script to create an executable: that command takes the file 'blabla.bmp' from the script folder (i never tested relative paths) and attaches it to the executable. the 2nd and 3rd parameters are ignored. 2) when someone runs the executable: