I’m trying to get some custom info to be seen in the file->properties view of our NSIS installers, mostly who built what when a developer is building an installer on his/her own machine. (For testing, etc)
I thought PrivateBuild and Comments would suit nicely, but they don’t show up when viewing File Properties -> Details.
According to this answer by Rong-Chun Zhang (scroll down a bit) these properties aren’t shown any more. The workaround is to implement a shell extension, but that seems to be over the top for just some text strings that we need to track.
Adding mercurial rev-hash and build user/computer to versions or description makes the string too long, and line-breaks don’t work properly. 🙁
Any good workarounds?
I guess you just have to accept the fact that Vista/7 are dumbed down compared to XP.
It is possible to check the command line for arguments in NSIS, so perhaps you could add support for a /dumpversion parameter and just open a MessageBox and quit in .onInit