Need Suggestion on DiskSpace in basic MSI
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)
Please log in to answer
Posted by:
jmcfadyen
15 years ago
i suppose i should provide a link too .
http://msdn.microsoft.com/en-us/library/aa371226(VS.85).aspx
http://msdn.microsoft.com/en-us/library/aa371226(VS.85).aspx
Posted by:
getIT
15 years ago
[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.
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
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
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.
so that the conversation will remain readable.