Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Make ressources information accessable via commandline #80

Open
azra1l opened this issue Feb 12, 2023 · 5 comments
Open

Suggestion: Make ressources information accessable via commandline #80

azra1l opened this issue Feb 12, 2023 · 5 comments

Comments

@azra1l
Copy link

azra1l commented Feb 12, 2023

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
Copy link
Author

azra1l commented Feb 12, 2023

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

@horsicq
Copy link
Owner

horsicq commented Feb 12, 2023

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

@adoxa
Copy link
Collaborator

adoxa commented Feb 12, 2023

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

@azra1l
Copy link
Author

azra1l commented Feb 12, 2023

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
Copy link
Author

azra1l commented Feb 12, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants