OS/2, eCS & ArcaOS - Technical > Setup & Installation

Determine ArcaOs Version installed

(1/2) > >>

Eric Erickson:
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.

Pete:
Hi Eric

The version can be found by looking in
   BootDrive:\sys\install\install.flg
which is a text file.


Regards

Pete

Martin Iturbide:
Hi Eric

Like Pete says, checking  BootDrive:\sys\install\install.flg may be the best way.


--- Code: ---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
--- End code ---

"c:\bldlevel os2krnl"  will give you the kernel revision version.

--- Code: ---[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

--- End code ---

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.


--- Quote -------- 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)
....

--- End quote ---

Regards

Michael Greene:
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

Martin Iturbide:
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" get's the OS/2 version. Where is stored that version text?

Regards

Navigation

[0] Message Index

[#] Next page

Go to full version