PDA

View Full Version : Setting version number in "Add / remove programs"



MarkRiffey
05-09-2022, 12:29 PM
Scenario:

User runs our "full installer" (icons, folders, binaries, etc.. eg: "install everything") to install. This results in the following value in add/remove programs (first image):

5110


User later runs our "update installer" (updates binaries only). In the PRODUCTVER compiler variable, the current build # is provided in the update installer.

When they do this, version info in add/remove programs is not updated. All the guids are the same, so in that context, it appears the version # should be updated in add/remove programs.

I suspect the cause is that the update installer (left side of image below) does not have add/remove program support enabled (next image), while the full installer (right side of image below) does have it enabled:


5111


I cant test this (someone else can but they are traveling) - but even if I could, I want to confirm that enabling add/remove program support is the key to making this value change.

Mark

linder
05-09-2022, 04:08 PM
Hi Mark,

that is correct. If Add/Remove Program support is not enabled then it can't update the version information. What you can do is to manually update the version (if you do not want to enable "Add/Remove Programs"). But the default is to have this option enabled to automate the process.

Friedrich

MarkRiffey
05-09-2022, 05:06 PM
Cool. Thanks for your prompt reply, Friedrich:)

Mark