Change default path for ASTAP in SC4.0

Somewhere to ask questions about the best way to use SharpCap
Forum rules


If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs
Post Reply
zerolatitude
Posts: 156
Joined: Mon Mar 01, 2021 5:24 am

Change default path for ASTAP in SC4.0

#1

Post 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?
User avatar
admin
Site Admin
Posts: 13173
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Change default path for ASTAP in SC4.0

#2

Post 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
zerolatitude
Posts: 156
Joined: Mon Mar 01, 2021 5:24 am

Re: Change default path for ASTAP in SC4.0

#3

Post 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

.
Post Reply