Page 1 of 1

Change default path for ASTAP in SC4.0

Posted: Wed Aug 04, 2021 8:32 am
by zerolatitude
Hi,

I have installed ASTAP on D drive for space reasons.

However, when trying to platesolve, SC shows it was not found. Probably because it seems to look for ASTAP only in the default location of c:\program files\...

How do I get SC to look in the actual installation folder for ASTAP?

Re: Change default path for ASTAP in SC4.0

Posted: Wed Aug 04, 2021 2:26 pm
by admin
Hi,

at the moment you cannot tell SharpCap to look in an alternative location, but you may be able to trick SharpCap into working anyway - create a symbolic link at

Code: Select all

c:\Program Files\Astap\Astap.exe
pointing to the real location of Astap.exe using the 'mklink' command (https://www.howtogeek.com/howto/16226/c ... -or-linux/) - I think that should do the trick.

cheers,

Robin

Re: Change default path for ASTAP in SC4.0

Posted: Wed Aug 04, 2021 5:10 pm
by zerolatitude
Thanks, that worked.

Suggestion for future releases - the installation path for any supporting software should ideally be picked up from the registry. If this is not possible for whatever reason, then allow a manual find.

For anyone else who may want to do this,
1. Windows has to be in developer mode (easy to do) to enable symbolic links
2. You have to link the entire directory, not just the exe. The exact command I used is below (change D:\Installs\Astap to wherever your astap is installed)
mklink /D "c:\Program Files (x86)\Astap" D:\Installs\astap

.