PDA

View Full Version : Copy File(s)



Prashant
12-13-2012, 11:09 PM
I am trying to copy a single file in installdir from installdir while installation is in progress. For that I am using Copy File(s), where I am using %SB_INSTALLDIR% for path source & destination location. But this is not working.

Same Copy File(s) is working with the hard coded path. Can you please let me know, Do Copy File(s) Function allow Runtime arguments as parameter?

linder
12-14-2012, 01:59 AM
Hello,

Does your %_SB_INSTALLDIR% variable value point to the correct location before you execute the copy command? I would suggest to check this with a simple "Display Message" action.

Yes, the "Copy File(s)..." function supports runtime variables. So if this does not work in your case then you are doing something wrong. IMO, the variable value is incorrect. If you can't find the problem in your project file, just send the .sb7 to support [at] lindersoft [dot] com and we can tell you what the problem is.

Friedrich

Prashant
12-14-2012, 06:39 AM
I checked %SB_INSTALLDIR% path using display box, it was fine. I tried that again n it worked.
Still can't able to figure it out, where I did the mistake?

Whatever, It is working now.

Thanks... Your reply helped a lot..:)

linder
12-14-2012, 06:43 AM
Glad it's working fine now :)

Friedrich