|
Navigation: The Buzz > Installation > Fetch Magic Version |
![]() ![]()
|
Hello guys,
While I am on the topic of patching and updating, is there a way to determine
what version and service pack of eDeverloper is installed, from within an
eDeveloper application? Maybe with a COM call or something?
Thank you,
---Jaco
Jaco,
Use from get.dll "UDF('get.get_version')"
Regards,
Jeroen Bos
Hmmm. No version information on the eDeveloper exe's etc. So, this is not going
to work. :/
--
Jaco van Tonder
We had a similar requirement to check what version and SP was been run. Below is
the solution MSE provided.
The new functionality is that now you can type 'mggenw version >file' or 'mgrntw
version >file' and receive the output inside that file, so the information is
later available for you.
Regards,
Dave
Unfortunately it seems this feature was dropped from eDev 10. Entering
"eDevRTE version" or "eDevStudio version" at a command prompt returns
nothing at all.
Andy
You have to use it as follows "edevstudio.exe version > filename" or
"edevrte.exe version > filename"
Ah, sure enough. There is a behavior change, though -- in v9, "mggenw.exe
version" opens a dialog displaying the version information. In V10,
"edevstudio.exe version" doesn't do anything.
Andy
Its imo better to take the MD5 hash or so anyway.
That you would then lookup in a database or hardcode for comparisons in your
installation program.
A hash you can always calculate - no matter if .exe, .dll, .ini, ...
Best regards,
Andreas.
The hashes are good.
In my opinion this will probably be the best way to go, because you can verify
the version as well as file integrity in one go. :)
Thanks for bringing this up Andreas, not sure why this slipped my mind. :)
---Jaco
Page url: http://www.magic-iug.com/MIUGWeb3/index.html?hm_magic_version.htm