Hi,
I just had merry time pulling my too complex for its own good installer apart trying to figure out why the product version shown by the Windows 'Add or remove programs' dialog was only showing the initially installed version.
I have two installers:
1. initial
2. update (lots)
Both are a single file with ISPP making the distinctions between initial and update.
Only the version (AppVersion / AppVersionName) from the initial install was showing up in 'Add or remove programs'. The update install does not result in this being updated.
All the simple examples worked fine and updated the product version flawlessly.
I simplified the code functions that populate AppId -> still no joy.
I used a constant for AppId -> still no joy, wtf?!!
Then my eye fell on the (logical) parameter in the [setup] section:
#if type == 'update'
Uninstallable=no
#endif
Since the update cannot be uninstalled separately from the initial install, this made sense to me (years ago). But as a (major nasty) side effect, the product version from the initial install is not updated.
For now I will remove Uninstallable=no from the update installer and keep my fingers crossed that I do not get other side effects.
Thoughts?
Cheers!
Stefan