>Source: "D:\Innosetups\programme_9\galorder.exe"; DestDir: {code:getbinpath} >Source: "D:\Innosetups\programme_9\galorder.exe"; DestDir: {code:getprogpath} >>But that does not work, the file is only copied to the dir return by getprogpath. I checked both return values from the functions which return the path and they are correct.
>Source: "D:\Innosetups\programme_Bin9\galorder.exe"; DestDir: {code:getbinpath} >Source: "D:\Innosetups\programme_9\galorder.exe"; DestDir: {code:getprogpath} >>But that does not work either.
lcExeFrom=fullpath("firstfolder\mymain.exe") lcExeTo=fullpath("secondfolder\mymain.exe") copy file (lcExeFrom) to (lcExeTo)