galevsky06 Posted August 31, 2013 Posted August 31, 2013 Hi, I have created an installer for a Pack that set up different files (skins, mods etc...) and I want to read the current version of DCS. I back up original files for mods that do changes, and I want to store the DCS version. Because my Pack can be uninstall, and the back-up files are restored. But I don't want to restore them if the version of DCS has changed ! In the win registry, I can read: HKEY_CURRENT_USER\Software\Eagle Dynamics\DCS World\version = 1.2.2.7570 HKEY_CURRENT_USER\Software\Eagle Dynamics\DCS World\FC3\version = 1.2.2.7570 HKEY_CURRENT_USER\Software\Eagle Dynamics\DCS World\CA\version = 1.2.2.7570 HKEY_CURRENT_USER\Software\Eagle Dynamics\DCS World\KA-50\version = 1.2.3.9871 HKEY_CURRENT_USER\Software\Eagle Dynamics\DCS World\A-10C\version = 1.2.3.9871 HKEY_CURRENT_USER\Software\Eagle Dynamics\DCS World\P-51D\version = 1.2.3.10201 Question: Is the version number v1.2.5.16508 only available in the .exe ? Can I find it somewhere easily ? If I should use HKEY_CURRENT_USER\Software\Eagle Dynamics\DCS World\version instead, can somebody confirm me that each time a new update is released, this registry key value changes accordingly ? Thanks for your help !
galevsky06 Posted September 11, 2013 Author Posted September 11, 2013 No one knows how my installers can not-so-hardly find the current DCS World version ? :cry:
TimeKilla Posted September 11, 2013 Posted September 11, 2013 dcs already backs up and stores any mods before updating your client/install :joystick: YouTube :pilotfly: TimeKilla on Flight Sims over at YouTube.
galevsky06 Posted September 11, 2013 Author Posted September 11, 2013 Not what I want. I want to be able to do my own back-up of original DCS files, then restore them if the guy uninstall MY mods via MY installer, but I don't want to restore outdated stuff, so I have to care about DCS versions. ;)
galevsky06 Posted September 12, 2013 Author Posted September 12, 2013 I am really stuck with that issue. Could somebody translate my question to Russian forum below ?!?? :(
SkateZilla Posted September 13, 2013 Posted September 13, 2013 Right Click any of the DLLs in the Bin Folder and goto Properties and over a Tab to Version, and it will show the version. Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2), ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9) 3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs
galevsky06 Posted September 13, 2013 Author Posted September 13, 2013 Ok, I am looking for an automated way to get it from an installer. The installation process cannot do right clicks... :(
Recommended Posts