labscript-suite-oldfinal1 / installer

The installer for the labscript suite. This repository is used used to build zip files containing an install script and all the labscript suite python packages.
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Start Menu Shortcuts Point to Wrong Directory #33

Closed philipstarkey closed 4 years ago

philipstarkey commented 4 years ago

Original report (archived issue) by Anonymous.


After installing labscript, the start menu shortcuts point to the copies of the labscript programs in the directory with the installer, rather than the copies in the target install directory. This occurred on a machine in which I was using an Anaconda environment other than base. This issue didn't occur on a separate machine in which I simply installed in the base environment, so that may be relevant.

Steps to reproduce:

To see the result:

Generally this isn't a big issue because there is a copy of the labscript suite in the installer directory which runs fine, so I've marked this bug as minor. However, it did cause some confusion when updating the mercurial repo for Lyse in the target install directory didn't affect the copy of Lyse that opens from the start menu. Additionally, the fact that the "Target" text box truncates the command makes it difficult to update the link to point to the correct location manually.

It's maybe worth noting that importing lyse in python imports the desired copy in the target directory (according to its __file__ attribute it's from %userprofile%\Software\Labscript\labscript_suite), so this is only an issue with the start menu link.

Version info: Labscript suite installer changeset 44d0c0eb1828c3d26cc9962bf084f47499150c88 Anaconda 2019.10 Python 3.7.4 Windows 10, 64 bit

philipstarkey commented 4 years ago

Original comment by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington).


Fixed in 004fa5dc443f705af0486c0ca819572d68876141