PDA

View Full Version : Caculating file costs



NewsArchive
12-05-2001, 01:00 AM
Hello,

The knowledge base has nothing on Internal Error 2705, nor do the help
files, but that's what I'm getting. Basically, I want to be able to display
to the user the cost of installation (disk space-wise) without displaying a
dialog that will allow them to deselect features. SdFeatureDialog is
perfect, except the user is able to deselect features. So, I tried using
MsiGetFeatureCost for the default feature and children. The help file says
that several other functions need to be called before it, including
CostInitialize. So I do an MsiDoAction for CostInitialize and receive the
above stated error (exact wording: "Internal Error 2705. Component"). All I
want to do is get the file cost for the default feature and its children.
Thanks...

K.C.