[SOLVED] Total Required Space & Feature Independent Files
[SOLVED] Total Required Space & Feature Independent Files
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.
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Total Required Space & Feature Independent Files
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
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
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
Re: Total Required Space & Feature Independent Files
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...
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?
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?
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Total Required Space & Feature Independent Files
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
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
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
Who is online
Users browsing this forum: No registered users and 104 guests