Could you embed a version ID somewhere. Even if just declaring as a variable in the install.bat script would suffice. I'm trying to auto-convert all my imdisk installations with AIMtk. For imDisk I asked you before to embed a version ID which you did and it enabled me to write a "auto-update" script. Would like to do the same/re-use parts of that code for AIMtk after a one-time-only conversion... Thanx...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is no change with ImDisk Toolkit about that: the version is returned by config.exe with the switch /version in both the standard output and the exit code.
However, calling install.bat with this switch does not work (there is another command after config.exe and it creates a new process of cmd).
Not sure to understand what you need.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You put fileversion in ImDiskTk-x64.exe on my request in the past. I was using that to determine update-status through my scripts and auto-update if newer... Since AIMtk is just a zip/7z I can't do that 'trick' anymore... Don't know if, perhaps, you could add the fileversion to the zip/7z ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It would suffice if you add a DOS-variable like set version=2025.08.18.0 to the install.bat. I can simply extract that and use it as the versionnumber... Or better, but don't know if possible, add file-version to the .cab ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Why not use the folder name inside the ZIP file?
But yes, I can also add the version in install.bat.
Please try the file below. If you use "install.bat /version", it will return the version in both the standard output and in the %ERRORLEVEL% variable. Is that fine for you?
To be honest with ya, I didn't think about it/notice it (Foldername). That's already good enough... No need to have a switch from running install.bat as I'm not running that anyways. I was asking to just have a set version=20250818 in it (or even a rem 20250818 or something like that would suffice, so my script would just read install.bat and interprete that, but then, indeed, I might aswell just read the foldername for that... Thanks for pointing that out...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could you embed a version ID somewhere. Even if just declaring as a variable in the install.bat script would suffice. I'm trying to auto-convert all my imdisk installations with AIMtk. For imDisk I asked you before to embed a version ID which you did and it enabled me to write a "auto-update" script. Would like to do the same/re-use parts of that code for AIMtk after a one-time-only conversion... Thanx...
There is no change with ImDisk Toolkit about that: the version is returned by config.exe with the switch /version in both the standard output and the exit code.
However, calling install.bat with this switch does not work (there is another command after config.exe and it creates a new process of cmd).
Not sure to understand what you need.
You put fileversion in ImDiskTk-x64.exe on my request in the past. I was using that to determine update-status through my scripts and auto-update if newer... Since AIMtk is just a zip/7z I can't do that 'trick' anymore... Don't know if, perhaps, you could add the fileversion to the zip/7z ?
Not sure to find something really helpful...
Could you please show me your update script?
It would suffice if you add a DOS-variable like set version=2025.08.18.0 to the install.bat. I can simply extract that and use it as the versionnumber... Or better, but don't know if possible, add file-version to the .cab ?
Why not use the folder name inside the ZIP file?
But yes, I can also add the version in install.bat.
Please try the file below. If you use "install.bat /version", it will return the version in both the standard output and in the %ERRORLEVEL% variable. Is that fine for you?
To be honest with ya, I didn't think about it/notice it (Foldername). That's already good enough... No need to have a switch from running install.bat as I'm not running that anyways. I was asking to just have a set version=20250818 in it (or even a rem 20250818 or something like that would suffice, so my script would just read install.bat and interprete that, but then, indeed, I might aswell just read the foldername for that... Thanks for pointing that out...