/build/static/layout/Breadcrumb_cap_w.png

Need Suggestion on DiskSpace in basic MSI

[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

Answers (4)

Posted by: jmcfadyen 15 years ago
5th Degree Black Belt
0
have a look at the ReserveCost standard action .
Posted by: jmcfadyen 15 years ago
5th Degree Black Belt
0
i suppose i should provide a link too .

http://msdn.microsoft.com/en-us/library/aa371226(VS.85).aspx
Posted by: getIT 15 years ago
Orange Senior Belt
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.
Posted by: jmcfadyen 15 years ago
5th Degree Black Belt
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ