Code: Select all
Set Variable Major to
Set Variable Minor to
Set Variable LowVersion to
Parse String #Version# into Variables Major and LowVersion (Split at first occurrence of pattern)
Parse String $LowVersion$ into Variables Minor and LowVersion (Split at first occurrence of pattern)
Set Variable TITLE to $TITLE$ v$Major$.$Minor$
I'm also using web builds (IA 6.0) so they cache the setup file. When I try to uninstall or add/remove features by running the setup file again then the TITLE variable is set correctly. If I add/remove features by selecting the uninstall link from the start menu then it adds the version number again(i.e. "Product v1.3 v1.3"). It also adds a new entry in the add-remove programs list with the extra long program name. If I try to remove either of those entries then adds the version number another time (i.e. "Product v1.3 v1.3 v1.3"). If you complete add/remove features a few times then you can end up with a really long title. So it appears that when the cached setup is run then the TITLE is persisted but when the original is run then TITLE is not persisted. When discussing the "Set Variable" command, the help file does not list TITLE as a variable persisted by default.
Should TITLE be persisted by default?