[font="microsoft sans serif"][font="trebuchet ms"]Hi,

I am using basic MSI. Total disk space required by the application is 130 MB.
I have custom action through which I am installing another setup which requires 30MB.
So, a total disk space of 160 MB is required.

But when i run the application with low disk space, it is showing only 130 MB required (not taking the 30 MB required by the other setup).

When i have around 135 MB free disk space, it starts installing. Installs the other setup, then proceeds with installing the appl., but at that time since 30 MB has been used by the setup, the low disk space error is thrown which says 130 MB required.

Can't the installer show low disk space of 160 MB and proceed based on that?

Thanks.


0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
have a look at the ReserveCost standard action .
Answered 11/03/2008 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
0
i suppose i should provide a link too .

http://msdn.microsoft.com/en-us/library/aa371226(VS.85).aspx
Answered 11/03/2008 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
0
[font="trebuchet ms"]Hi John,

Went through ReserveCost action. But, I am afraid this would not solve my problem. Because,
1. I am calling the CA (which installs a setup), in the 'ReadyToInstall' dialog.That is, when we click the Install button, this CA is executed.
2. And I beleive the ReserveCost should be sequenced between CostInitialize and FileCost actions. But I need to execute the CA in ReadytoInstal dialog.
3. Also ReserveCost action would reserve some disk space for installation. But I need to show the reqd space in the OutofSpace Dialog.

I hope i have explained my problem.

Thanks.
Answered 11/06/2008 by: getIT
Orange Senior Belt

Please log in to comment
0
in which case you will need to refer to the API to do feature / component costing for you as a CA.

session.featurecost and session.componentcost

http://msdn.microsoft.com/en-us/library/aa371657(VS.85).aspx
http://msdn.microsoft.com/en-us/library/aa371644(VS.85).aspx
Answered 11/09/2008 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity