StartInstallation dialog treated differently...why?

Got a problem you cannot solve? Try here.
Post Reply
tltaylor76
Posts: 76
Joined: Mon Nov 06, 2006 2:07 pm
Location: Texas
Contact:

StartInstallation dialog treated differently...why?

Post by tltaylor76 »

I have modified the StartInstallation dialog so that my end-users can see the path and components that are selected. I thought I was losing my mind for a while, so I stripped everything from the dialog, then added three labels.

Even though I have a variable set in the caption, the install forces these labels caption to the default text. I have made sure that my dialogs have been updated when running. Thanks.

Design Time
Image

Run-time
Image
tltaylor76
Posts: 76
Joined: Mon Nov 06, 2006 2:07 pm
Location: Texas
Contact:

Using a Static Label fixes the problem...

Post by tltaylor76 »

I don't know why, but using a static label instead of a standard label seems to resolve the problem.
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Try sending me the dialog - I will see if there is a bug and escalate it if so.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
tltaylor76
Posts: 76
Joined: Mon Nov 06, 2006 2:07 pm
Location: Texas
Contact:

Post by tltaylor76 »

Here is the dialog that I am having the trouble with. I am going to re-create this from scratch because as soon as I started adding new labels on there again today, it starting giving me fits again.

File Attached:

startinstallation.zip
tltaylor76
Posts: 76
Joined: Mon Nov 06, 2006 2:07 pm
Location: Texas
Contact:

Post by tltaylor76 »

One more update...One work around seems to be to load the caption in every label with a variable...if you just have text in the Caption and no variable, then it will override your caption text at run-time. But I think it will only work this way with Static labels.
tltaylor76
Posts: 76
Joined: Mon Nov 06, 2006 2:07 pm
Location: Texas
Contact:

Post by tltaylor76 »

OK...I was wrong....it just flat out does not work :( . Sorry for the trouble. I am going to try to create a completely new dialog and see what happens.
tltaylor76
Posts: 76
Joined: Mon Nov 06, 2006 2:07 pm
Location: Texas
Contact:

Post by tltaylor76 »

I can't be the only person that has run into this. I created to dialogs that do not use the name startinstallation and worked through my problem. There is still an issue here, but I created a work around by not using the startinstallation dialog name and recreating the dialog altogether.
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

This is truly a strange case here. I think maybe the dfm.miaf file got corrupted for your dialog. At any rate, I'm glad it works for you now. None of the names are hard-coded, so you can use any name you like (which leads me to think maybe the companion file was corrupt for the old one).
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply