| Phil Wilson 2004-12-16, 8:57 pm |
| Version isn't a Windows Installer property. Visual Studio's names for
properties sometimes match the ones you need to use, sometimes not. The
actual property name is ProductVersion.
--
Phil Wilson [MVP Windows Installer]
----
"Jeff Stewart" <object01@gmail.com> wrote in message
news:1103226623. 54583e3063f5ffcb61a05cf60c7ac9a2@teranew
s...
> A typical setup project in Visual Studio .NET has the following string for
> WelcomeText in the Welcome dialog of the project's User Interface:
> "The installer will guide you through the steps required to install
> [ProductName] on your computer."
>
> ProductName evaluates to the value specified on the project's Properties
> page.
>
> But why doesn't this work?
>
> "The installer will guide you through the steps required to install
> [ProductName] [Version] on your computer."
>
> In place of Version, I just get an extra space. Is there a way to include
> the version number in the Welcome dialog without manually adjusting it in
> two places every time I build a new release?
>
> --
> Jeff S.
>
>
|