DIE-engine icon indicating copy to clipboard operation
DIE-engine copied to clipboard

Suggestion: Make ressources information accessable via commandline

Open azra1l opened this issue 2 years ago • 5 comments

Would it be possible to have the information provided under ressources (especially version) be accessable through diec.exe?

I would like to automate some tasks regarding package creation for our software deployment, and if i could gather name and version of the software via script, that would really help.

I really just need diec.exe to give me the output of this section for every exe file it scans:

2023-02-12 01_44_53-PE

Or am i just dumb, and the information is already accessable on the commandline and i just didn't find it :S

I am looking for ways to detect and process this sort of information reliably via script for years now :S It may appear like a minor QoL issue, but it would really help me alot for what i am trying to do.

azra1l avatar Feb 12 '23 00:02 azra1l

Or, is there any other way i could access the DIE engine via PowerShell, to get the info i need? 🤔

azra1l avatar Feb 12 '23 01:02 azra1l

Hello! Thanks a lot for the idea. I will add it to diec.exe

horsicq avatar Feb 12 '23 01:02 horsicq

You can get version information directly from PS, e.g. https://stackoverflow.com/questions/30686/get-file-version-in-powershell

adoxa avatar Feb 12 '23 12:02 adoxa

Hello! Thanks a lot for the idea. I will add it to diec.exe

Thanks alot, but apparently i don't even need DIE to access this information 😅. Then again, having more information available on the commandline is always better of course.

azra1l avatar Feb 12 '23 12:02 azra1l

You can get version information directly from PS, e.g. https://stackoverflow.com/questions/30686/get-file-version-in-powershell

🤔 To be fair, i am coming from ubuntu/bash and just recently converted all my stuff to windows/pwsh, so i didn't even think about accessing windows file properties 😵 i guess my life got a whole lot easier and i didn't even see the obvious solution right infront of me 🤩 DIE already reliably detects 99% of setup types i get to deal with, so i will see how far i can take this.

azra1l avatar Feb 12 '23 12:02 azra1l