Need a little more help on FileInstall
Posted: 18 Mar 2019, 05:45
Hi there!
Question is pretty obvious. Can someone tell me a bit more about the FileInstall command?
Obviously, it installs something somewhere but how exactly would I do this?
I was playing with it a bit myself and came up with the following. Unfortunately, it doesn't seem to do anything or I am looking at the wrong place.
From the docs, I've read that the first parameter, called Source, is the file that is getting installed at the Dest (destination).
Am I doing something wrong? Also, it seems like %A_Temp% or %A_ProgramFiles% is always needed within the Dest parameter, is that always the case, or could the dest also be just a 'normal' path?
Thanks guys!
Question is pretty obvious. Can someone tell me a bit more about the FileInstall command?
Obviously, it installs something somewhere but how exactly would I do this?
I was playing with it a bit myself and came up with the following. Unfortunately, it doesn't seem to do anything or I am looking at the wrong place.
Code: Select all
IfNotExist, %A_Temp%\TestPic.png
FileInstall, S:\...\AHKStudio.png, %A_Temp%\TestPic.png
return
Am I doing something wrong? Also, it seems like %A_Temp% or %A_ProgramFiles% is always needed within the Dest parameter, is that always the case, or could the dest also be just a 'normal' path?
Thanks guys!