Hallo zusammen,
ich hoffe, ich bin hier nicht ganz falsch mit meiner Frage. Ich möchte programmiertechnisch feststellen (c++) wie viel Platz eine MSI-Installation benötigt. Dabei bin ich bei "MsiGetFeatureCost" hängengeblieben. Soweit funktioniert das alles wunderbar.
Es gibt nur ein Problem. Sobald ich das MSI-File installiere und danach die Größe berechnen will, erkennt MSI-Installer, dass das Feature schon installiert ist und gibt mir Größe 0 zurück. was kann ich dagegen tun??????
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Größe einer MSI-Installation feststellen
Started by
Dattel
, Jan 14 2004 16:08
2 replies to this topic
Posted 06 May 2004 - 17:19
Hi,
was hast Du MsiGetFeatureCost als iState übergeben?
Kannst Du mir mal den kompletten Aufruf mailen?
Gruß,
Peter
was hast Du MsiGetFeatureCost als iState übergeben?
Kannst Du mir mal den kompletten Aufruf mailen?
Gruß,
Peter
Ciao for Now[br]PeKaWe
Posted 06 May 2004 - 18:04
hmm ich hab eigentlich alle mal ausprobiert... aber ich denke mal primär interessiert INSTALLSTATE_LOCAL.
iState
[in] Specifies the installation state. This parameter can be one of the following values. Value Meaning
INSTALLSTATE_UNKNOWN The product or feature is unrecognized.
INSTALLSTATE_ABSENT The product or feature is uninstalled.
INSTALLSTATE_LOCAL The product or feature is installed on the local drive.
INSTALLSTATE_SOURCE The product or feature is installed to run from source, CD, or network.
INSTALLSTATE_DEFAULT The product or feature will be installed to use the default location: local or source.
Quelle: http://msdn.microsof...featurecost.asp
den Aufruf sollte dann net wirklich schwer sein.... nur das resultat ist halt nicht das, was ich haben will
iState
[in] Specifies the installation state. This parameter can be one of the following values. Value Meaning
INSTALLSTATE_UNKNOWN The product or feature is unrecognized.
INSTALLSTATE_ABSENT The product or feature is uninstalled.
INSTALLSTATE_LOCAL The product or feature is installed on the local drive.
INSTALLSTATE_SOURCE The product or feature is installed to run from source, CD, or network.
INSTALLSTATE_DEFAULT The product or feature will be installed to use the default location: local or source.
Quelle: http://msdn.microsof...featurecost.asp
den Aufruf sollte dann net wirklich schwer sein.... nur das resultat ist halt nicht das, was ich haben will