Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Greg: Develop a way to detect if a newer VPE is loaded but not installed #56

Open
shabiel opened this issue Aug 29, 2019 · 0 comments
Open

Comments

@shabiel
Copy link
Owner

shabiel commented Aug 29, 2019

Would it be useful to check to see if a newer VPE is loaded but not installed and remind them to run UPDATE^XV? (This could be placed in the issues area IF you think it is a worthwhile thing to consider.)

Right now the X ^%XVEMS("VER") code is reading the 2nd line from the XVEMSU2 routine, so that wouldn't help. What if the UPDATE code created a new node in ^XVEMS (called "VERSION") that has the installed version number. Then the VERSION code could see if there is a difference between the routine's ver and the "VERSION" node.

From VERSION^XVEMSU2 make the change below.

VERSION ;VShell Version Information
32 D:'$D(XVV("RON")) REVVID^XVEMKY2
33 W !?3,@xvv("RON")
34 W " VPE version ",$P($T(+2),";",3)," "
35 W @xvv("ROFF"),!
36 Q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant