PDA

View Full Version : How do I add userinfo to Ready to Install dialog?



Allan Greis Eriksen
07-12-2013, 05:06 AM
The Ready to Install dialog has an option to add user info under "Additional Information Variable:". It is possible to select a variable from this list but how do I format a variable from a Text Resource?

I have added a Resource Text under "Ready to Install" dialog called "1030_DLG_READYTOINSTALL_USERINFO" and this lists all the variables that are initialized during the Loop Wizard. So when the final dialog "Rady to Install" is shown it should list the additional information text.

linder
07-12-2013, 05:18 AM
Allan,

There is a "Ready to Install Dialog.sb8" source code example in the Examples Package that demonstrates this. You can use the "Additional Information Variable" (Advanced Tab) to add this information.

Does this help?

Friedrich

linder
07-12-2013, 05:27 AM
Similar to the attached screenshots (modifications in the above example).

Friedrich

Allan Greis Eriksen
07-12-2013, 06:07 AM
Hi Friedrich

Thanks for your quick reply!

It almost there. But the variable in the text resource is still blank.
3023

3024

3025

linder
07-12-2013, 06:59 AM
I think you are still using an incorrect format. Don't use two lines in your text resource!!! Please see my example. You have to use an '|' for the next line.

Does this help? I can develop a demo for you if you want.

Friedrich

linder
07-12-2013, 10:04 AM
BTW, here is a screenshot...

Friedrich

Allan Greis Eriksen
07-15-2013, 02:54 AM
I tried while making sure that there are no line breaks but without luck.

The problem seems to be that the variable are set just once?

I have modified the Ready to Install Dialog.sb8 example script to illustrate the problem and attached the script here.

3028

As the example shows I have added %_SB_INSTALLDIR% to the value of %ADDITIONALINFO%

Testing the script gives the Install Folder dialog like this
3029

Just hit <Next> and the Ready to Install dialog is shown as this
3030

Now lets go <Back> and change the Destination Folder like this
3031

Go <Next> and the Ready to Install dialog is shown as this
3034

Please note that the runtime value %_SB_INSTALLDIR% is now represented with two different values. Also note that I not used any text resource in this example.

linder
07-15-2013, 03:10 AM
Allan,

You only forgot to "reset" the variable value. See attached screenshot.

Does this help?

Friedrich

Allan Greis Eriksen
07-15-2013, 03:31 AM
That's it! Thanks :)

linder
07-15-2013, 03:49 AM
You are welcome :)

Friedrich