Page 1 of 1

Using filecopyto in session_setup

Published: June 1, 2017 - 7:05 PM
by fbetil
Good morning,
I'm trying to add a copy of a file from my package to the user's profile in the session_setup section of my package:

Code: Select all

filecopyto('profiles.ini',user_appdata()+'\Mozilla\Firefox')
I should point out that the profiles.ini file is located in the root directory of my package.
The file is not copied; it seems as if it cannot find the source file... :shock:
This command works fine if I place it in the install section of the same package.
Thank you in advance
Sincerely

Re: Using filecopyto in session_setup

Published: June 1, 2017 - 9:58 PM
by htouvet

Re: Using filecopyto in session_setup

Published: June 2, 2017 - 09:19
by fbetil
It was so clear... :oops:

Thanks again...