OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Setup & Installation => Topic started by: Eric Erickson on September 26, 2023, 04:33:42 pm
-
I know I asked this before, but can not find the answer. Whats the best way to determine the version of ArcaOs installed. I would like a simple command like Ver. I found command that get some information (VER and VERSION) but nothing to give me the ARCAOS Version. I would be nice if there was a simple way to determine this. I have quite a few different installs running around and need whats installed for each. Either add a command file or enhance the Version.Cmd to display the ArcaOs Version.
Thanks
The output of VER and VERSION give me the following in the attached file.
-
Hi Eric
The version can be found by looking in
BootDrive:\sys\install\install.flg
which is a text file.
Regards
Pete
-
Hi Eric
Like Pete says, checking BootDrive:\sys\install\install.flg may be the best way.
ArcaOS 5.0.8 EN
Built 2023-05-31 20:20:23
Installation started: 23-09-06 14:46:33
Installation completed: 23-09-06 14:56:41
"c:\bldlevel os2krnl" will give you the kernel revision version.
[C:\]bldlevel os2krnl
Build Level Display Facility Version 6.12.675 Sep 25 2001
(C) Copyright IBM Corporation 1993-2001
Signature: @#IBM:14.204#@_SMP IBM OS/2 Kernel
Vendor: IBM
Revision: 14.204
File Version: 14.204
Description: _SMP IBM OS/2 Kernel
Strangely in ArcaOS 5.0.8 ver /r gives me 14.103, not exactly sure what release is showing there (build level 14.106 used to be fixpack 6).
"testlog generic" can also give you the ArcaOS version on the first lines.
----- Personalization Information ----------------------------------------------
Hostname: ARCAOS-CB950A1
ArcaOS 5.0.8 EN
Built 2023-05-31 20:20:23
Installation started: 23-09-06 14:46:33
Installation completed: 23-09-06 14:56:41
Convenience Package - OS/2 Warp 4 Base Operating System 4.52 (XR0C008)
IBM OS/2 Base Device Drivers 4.52 (XR0D005)
....
Regards
-
I could only find the version using the install.flg method for ArcaOS. It would be great if a SYSLEVEL file was included. Try the attached. It was something I used to use with ECS and just extended it for ArcaOS. I think this is accessible here if you want to see how I did it:
https://greenenet.ddns.net/os2project/version
If the link works, nver.exe is the executable. It checks for OSDIR, if not present check for ECS, if OSDIR then probably ARCA so check for install.flg and parse the first line.
Mike
-
Thanks Michael for sharing the source.
It is very interesting to see how your nver checks for OS/2, eCS or ArcaOS and shows the corresponding version.
It makes me wonder where does "DosQuerySysInfo (http://www.edm2.com/index.php/DosQuerySysInfo)" get's the OS/2 version. Where is stored that version text?
Regards
-
I could only find the version using the install.flg method for ArcaOS. It would be great if a SYSLEVEL file was included. Try the attached. It was something I used to use with ECS and just extended it for ArcaOS. I think this is accessible here if you want to see how I did it:
https://greenenet.ddns.net/os2project/version
If the link works, nver.exe is the executable. It checks for OSDIR, if not present check for ECS, if OSDIR then probably ARCA so check for install.flg and parse the first line.
Mike
Mike,
Thanks, nver is exactly what I was looking for. It just baffles me that something like this is not part of the base ArcaOs system.
-
Someone may already have said the following more cleverly but here goes: ISTR DOS has an API that returns the DOS version in a way programs can use easily. AFAIR, OS/2's DOS session gives "20" so that apps & utils can be confident it possesses the modern highfalutin' bells & whistles. Could AOS become similarly equipped, thereby removing any need for stray files and such?
-
Wonder if it is a licensing issue? I'd assume the contract with IBM has various conditions which might include leaving all version stuff alone.
-
I could only find the version using the install.flg method for ArcaOS. It would be great if a SYSLEVEL file was included. Try the attached. It was something I used to use with ECS and just extended it for ArcaOS. I think this is accessible here if you want to see how I did it:
https://greenenet.ddns.net/os2project/version
If the link works, nver.exe is the executable. It checks for OSDIR, if not present check for ECS, if OSDIR then probably ARCA so check for install.flg and parse the first line.
Mike
Mike,
Thanks, nver is exactly what I was looking for. It just baffles me that something like this is not part of the base ArcaOs system.
since V2.0.1, AVxCAT shows your OS version (same location as written into previous posts
-
Wonder if it is a licensing issue? I'd assume the contract with IBM has various conditions which might include leaving all version stuff alone.
I know that at the time working on eCS Kim Cheung patches out OS/2 ver version output. And it would return eCS 1.0 instead.
And as it turns out the Lotus Smartsuite 1.7.0. installer checks the ver.exe output. Pretty clumsy, but so goes...
Roderick