For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > December 2004 > Setup Project: how to include version in Welcome dialog?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Setup Project: how to include version in Welcome dialog?
Jeff Stewart

2004-12-16, 4:07 pm

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.


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.
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com