[SOLVED] Total Required Space & Feature Independent Files

Got a problem you cannot solve? Try here.
phoffman
Posts: 19
Joined: Tue Jan 15, 2013 10:40 am

[SOLVED] Total Required Space & Feature Independent Files

Postby phoffman » Sat Feb 02, 2013 12:49 pm

How do you get total required space to reflect the space consumed by feature-independent files? I tried using Get Component Space without an argument, but it displays 0 as well when I select the Compact setup type.
Last edited by phoffman on Mon Mar 11, 2013 11:22 am, edited 1 time in total.

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

Re: Total Required Space & Feature Independent Files

Postby FrancescoT » Mon Feb 04, 2013 6:15 am

Dear User,

please have a look at the attached project that demostrates "Get Component Space" command.

The sample includes as well the builded setup package ready to run.

Regards
Attachments
Components space.rar
(1.89 MiB) Downloaded 384 times
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

phoffman
Posts: 19
Joined: Tue Jan 15, 2013 10:40 am

Re: Total Required Space & Feature Independent Files

Postby phoffman » Mon Feb 04, 2013 8:22 am

Well it wasn't my use of Get Component Space that was the problem. It was my use of Get Component State. I did something like this...

Code: Select all

Get Component Documentation Selection State into Variable SELECTED
if Variable SELECTED Equals TRUE
    Install Files C:\PRODUCT\disc 1\common\docs\*.* to $ALLAPPDATA$$COMMONDIR$\docs, include subfolders
end

Comment: Install/Re-Install Product
Install Files C:\PRODUCT\disc 1\target\bin\*.* to $TARGETDIR$\bin, include subfolders

When I looked back at the Files page in the Designer I saw that my files were associated with the Documentation feature. Is there anyway to avoid this other than ordering the setup to install the feature-independent items first?

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

Re: Total Required Space & Feature Independent Files

Postby FrancescoT » Mon Feb 04, 2013 11:24 am

Dear User,

If I haven't missed your question ...

From InstallAware Design View you can remove those files from a feature and then you can add them again under the correct feature.

Alternatively, you can move the Install Files commands to place them under the correct feature (within the appropriate IF statement).

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 111 guests