javawindows-7addremoveprograms

Setting value for Publisher, Size, and Version in Win 7's Programs and Features for a Java app


I have a Java application that is running on Windows 7. When I look at the uninstaller inside control panel>Programs and Features I see that other apps have values for Publisher, Size, and Version.

I would like to set these values in my application, but I do not know how.

Could any of you kind people please point me to an article or explain to me how I can accomplish this? I've done a bit of searching but I am not coming up with anything.

Thank you,

Mattimus


Solution

  • I believe another alternative is to add these values directly to the registry.

    http://msdn.microsoft.com/en-us/library/aa372105(v=vs.85).aspx

    I don't know how "best-practice" this is, but it's basically what the windows installer is doing.