Hello,
It would be nice to have an option to add the app in the autostart folder from the user:
_C:Users\YOURUSER\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup_
_shell:startup_
Or registry based:
_REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /V "My App" /t REG_SZ /F /D "C:\MyAppPath\MyApp.exe"_
What you mean?
Thanks for your cool project :-)
can that start without logging into the system?
can that start without logging into the system?
No, that requires you to write to HKLM which you won't have privileges to do, not to mention, we always install to a user's directory
Hi, but HTCU should not be a problem.. Do you think this could be an option for squirrel? Would be nice :-)
How to use it? @paulcbetts
private void OnInitialInstall(UpdateManager mgr)
{
mgr.CreateShortcutForThisExe();
mgr.CreateShortcutsForExecutable("MyApp.exe", ShortcutLocation.StartUp, false);
mgr.CreateShortcutsForExecutable("MyApp.exe", ShortcutLocation.Desktop, false);
mgr.CreateShortcutsForExecutable("MyApp.exe", ShortcutLocation.StartMenu, false);
mgr.CreateUninstallerRegistryEntry();
}
Most helpful comment
How to use it? @paulcbetts