FreeFileSync installer fails when run as system user

Get help for specific problems
Posts: 2
Joined: 4 Aug 2023

AlexArchPT

Hi,

I'm attempting to install FreeFileSync in a headless way as part of our imaging process.

It appears to hang indefinitely and after enabling the log file, it looks like the installer is trying to reference %UserSendTo%, which doesn't exist for the SYSTEM user.

I've tried to use /LOADINF after the /SAVEINF from a manual install, tried to manually specify the /COMPONENTS and /TASKS as well as an attempt to manually set that environment variable to try to trick the installer. None of the above has worked.


Is there any way that we can install FreeFileSync as a system user as a part of our automated imaging process?

Thanks
-Alex
Posts: 1202
Joined: 8 May 2006

therube

(No clue what I'm saying, but...)

Is %UserSendTo% (The path to the current user's Send To folder) a Windows variable, or a variable that is "gathered" (attempted to be gathered) by the installer?

Does it then rely on something like %appdata% (or similar)?

Can you set a %appdata% or %usersendto% prior to calling the installer?
SET usersendto=c:/default/sendto && ffs-installer.exe -xyz
Posts: 2
Joined: 4 Aug 2023

AlexArchPT

It seems like it may be a InnoSetup contruct which adds FFS to the right click context menu in Windows.

https://stackoverflow.com/questions/1041649/how-to-add-a-shortcut-to-the-sendto-menu-that-will-be-available-to-all-users

It seems to correspond to: CSIDL_SENDTO
https://learn.microsoft.com/en-us/windows/win32/shell/csidl

https://jrsoftware.org/ishelp/index.php?topic=consts
{usersendto}
The path to the current user's Send To folder. (There is no common Send To folder.)


I'm not sure if there is any way I can override this