TITLE depending on setup language

Got a problem you cannot solve? Try here.
Post Reply
pfennig

TITLE depending on setup language

Post by pfennig »

I've created a multiligual setup and depending on the selected language
I'd like to change the TITLE variable, so that the application shows up in the control panel with the appropriate name.
But when I change the TITLE at runtime nothing shows up in the CP at all.

How should I accomplish that?

(Dialogs and application paths are not a problem, just the TITLE)

Bets regards
pfennig
Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Post by Alex_Ronquillo »

I haven't tried this. Let me try it and I'll have an answer for you
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Post by Alex_Ronquillo »

In the "Project Properties" section --> "Product Name" you can use a variable in the form $Variable$. Then, in the MSI code youcan set that variable at the begining according to the language the user selects.
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
pfennig

Post by pfennig »

Thanks for your reply, Alejandro,

if this works for you I must be doing something wrong, because that's what I've tried before.
But it has been a while ago and I gave it another shot, again without success.

I attached an image to demonstrate what I did. The compiler variable build_version that I
used for Product Version works fine, so do all others. But runtime variables in Project
Properties or Summery Information are treated as if they were actual strings.

best regards
pfennig

File Attached:

TITLE2.gif
Tinus
Posts: 209
Joined: Tue Jun 20, 2006 8:42 am
Location: Germany

Post by Tinus »

Martin Rothschink

AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware
pfennig

Post by pfennig »

Thanks for the link. It doesn't seem to have solved the problem for those asking, though.

I'd be much more interested in what exactly Alex had done, since he said it worked for him. Putting a MYVAR into the Product name field doesn't work, and changing the title in script causes that no entry in Control Panel | Add/remove apps.
pfennig

Post by pfennig »

I'm still hoping for advice here.

Alex, if you read this, what did you do, that I didn't (see attached image of my earlier message) to get it to work for you?
Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Post by Alex_Ronquillo »

Sorry pfenning, I forgot to follow this post

This is what I did:

I entered a variable, let's say $TitleVar$, in the "Project Properties" --> "Product Name" field. Then I set TitleVar to Test Title at the beginning of the MSI code, and when running the installation file, the title was "Test Title - InstallAware Wizard"
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
pfennig

Post by pfennig »

OK, that part worked for me too. But what did your control panel Add/Remove Programs entry say? The real title or $TITLEVAR$?

That's the unsolved issue for me.
Post Reply