OS/2, eCS & ArcaOS - Technical > Setup & Installation
Determine ArcaOs Version installed
Eric Erickson:
--- Quote from: Michael Greene on September 30, 2023, 01:09:12 pm ---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
--- End quote ---
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.
Andrew Stephenson:
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?
Dave Yeo:
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.
Remy:
--- Quote from: Eric Erickson on October 05, 2023, 03:40:02 am ---
--- Quote from: Michael Greene on September 30, 2023, 01:09:12 pm ---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
--- End quote ---
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.
--- End quote ---
since V2.0.1, AVxCAT shows your OS version (same location as written into previous posts
Roderick Klein:
--- Quote from: Dave Yeo on October 05, 2023, 04:40:54 pm ---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.
--- End quote ---
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
Navigation
[0] Message Index
[*] Previous page
Go to full version