I installed git-annex in windows using the file git-annex-installer.exe, and now each time I'm starting my computer I get a message telling me that "C:\Program Files\Git\cmd\git-annex-autostart.vbs" cannot be found.
This is very annoying and I don't need git-annex to be started at startup. I looked in msconfig.exe and I didn't find any entry for git-annex. Is there a way to disable this?
I finally saw thanks to the file
Build/NullSoftInstaller.hs
and to NirSoft Program WhatInStartup that the startup script is located in%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup
.It would be nice to have an option to activate this or not in the installation.
It seems to me that the real bug here is that somehow "C:\Program Files\Git\cmd\git-annex-autostart.vbs" either does not exist, or it fails to run it.
Does that file actually exist? It's supposed to be installed the same as git-annex.exe gets installed, in the same directory.
C:\Program Files\Git
). Is this required? Won’t this cause problems when Git for Windows updates? That’s why I installed it toC:\Program Files\git-annex
, but yeah, the link that gets put intoStartup
apparently doesn’t take the real installation directory into account and just uses a hard-coded path…?The autostart file is generated by the nullsoft installer, and uses
$INSTDIR/cmd
, it does not hard code any path.It's installed into
Program Files/Git/cmd
because that is the only way to make sure that git finds the git-annex command when you run "git annex".