PDA

View Full Version : %LANHost% in edit boxes scr 6.0.1.3


Luc
12-02-2003, 02:57 PM
Hi,

Since I have upgraded to the latest version (6.0.1.3), I have the following issue:

The %LANHost% or %LANIP% resolves to "Unknown" when displayed the FIRST time in edit box screen default value and you did not use these LAN variable previously in the project.

Here is how I can easily reproduce the behavior:

1st test:
1-Create a new project
2-Delete all "before installing" screens
3-Add a Edit Boxes screen in "before installing"
4-In Custom applet, select "Question One" field
5-Type %LANHost% in the "Default text in Edit field" box
6-Build the project
7-Run the generated "setup.exe"
8-Result in edit box: "Unknown" as default value

2nd test:
1-Do the same than 1st test util step 5
2-Add a startup action: Assign value %test%=%LANHost%
3-Build the project
4-Run
5-Result in edit box is the correct host name.

I am having same behavior with %LANIP%.

I did not have this issue with the previous version.

Looking forward to hear from you soon on this matter.

Regards,

Luc

Darryl
12-02-2003, 03:30 PM
I've replicated the behaviour you have described and have submitted a bug report. Due to complaints about the population of these variables initially and the alerts by some firewall programs, the LAN variables in the latest version were supposed to be poplulated when they were used.

It seems that if the variables are accessed on any of the actions tabs, they will be populated, however if they are used directly on any of the screens, they will not.

Again, thank you for the report and for now, you will need to access them at least once on one of the actions tabs before you can display them on screens.

We're sorry for the inconvenience this has caused you.