Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Updating version number in Add/Remove programs window

We have an application consisting of various parts:

  1. A printer driver build with Inno-Setup.
  2. Custom written C# dll's.
  3. An AutoIt script, packaging and installing the previous two.

The printer driver is listed in the Add/Remove section of Windows, with [name], [publisher] and [installed on] fields displayed as expected. But the [size] and [version] fields are left blank.

Our client wants us to update the [version] field. Where is this information stored (how to update or add this in the Add/Remove section of Windows)?

like image 457
Andre Lombaard Avatar asked Nov 23 '12 09:11

Andre Lombaard


1 Answers

There are several properties under [Setup] that control version numbers:

VersionInfoVersion=
VersionInfoTextVersion=
AppVersion=

The field important for the question is AppVersion directive, which InnoSetup writes into the DisplayVersion registry key.

A complete sample can be found here.

like image 153
Lex Li Avatar answered Sep 19 '22 04:09

Lex Li