Component space

Got a problem you cannot solve? Try here.
SITL
Posts: 116
Joined: Tue Sep 27, 2016 12:31 am

Component space

Postby SITL » Thu Oct 27, 2016 2:01 am

Dear Francesco Toscano,

Thanks for your advice for my earlier posts, All worked.
Now, I have five components, I want to display the Memory space requirement for the individual component.
When user selects any one, i display description along with space requirement.
From the Project Design => Features , For each feature description i have something like this.....

This feature of $TITLE$ requires $SampleSpace$ KB Space on your disk.

Problem is
At run time, In the components tree screen, SampleSpace variable is not recognized.
the display is This feature of XYZ product requires $SampleSpace$ KB Space on your disk.
So, How do i get the actual value into the components dialog ?
Actually, SampleSpace is a persistent variable and properly initialised, I am also having a message box where the value is displayed properly.

Appreciate your help.
Regards
SITL

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Component space

Postby FrancescoT » Thu Oct 27, 2016 2:10 pm

Dear STL,

did you use "Get Component Space" command to determine the space requirements of a component previously defined by the Define Component command?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

SITL
Posts: 116
Joined: Tue Sep 27, 2016 12:31 am

Re: Component space

Postby SITL » Wed Nov 02, 2016 1:04 am

Dear Francesco Toscano,

Thanks & Sorry for late response; festival holidays here in Bangalore.
Yes, I have used "Get Component Space" command.
My previous post says -
SampleSpace is a persistent variable and properly initialised, I am also having a message box where the value is displayed properly.

Seems like it's not even recognizing the SampleSpace variable, I'm sure no spelling mistake.

Appreciate your response.
Regards
SITL

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Component space

Postby FrancescoT » Wed Nov 02, 2016 11:29 am

Dear SITL,

if your custom variable has been initialized correctly and this also means, that this gets initialized and defined in your script before that your dialog gets displayed, you should not have any problem to visualize its value within the "caption" of a label control (...supposing you used a label control to visualize that description).

At any rate and by the information you shared, I can only suppose that your custom variable (SampleSpace) has not been initialized as required.

This mainly due the fact the the TITLE pre-defined variable, which it seems you used with your description (This feature of $TITLE$...), it gets resolved correctly ("XYZ Product"), while your custom variable doesn't.

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 236 guests