Are you interested in knowing how many users install and uninstall your softwarei through your MSI/Windows Installer? You came to the right place! To get started download the DeskMetrics Analytics MSI DLL ANSI or Unicode.
Add a new custom action:
You need to edit the MSI package properties and the custom actions. You will need to use ORCA to do this. For information about how to use ORCA, see the MSDN Web site.
To edit a MSI package using ORCA:
You’re done!
Windows Installer XML (Wix) is a toolset that builds Windows Installer (MSI) packages from an XML document. More details can be found here. Here is what you need to add in orther to track installations and Uninstallations:
<Binary Id="DeskMetricsMSI.dll" SourceFile="DeskMetricsMSI.dll" />
<CustomAction Id="DeskMetricsTrackInstallation" DllEntry="DeskMetricsTrackInstallation"
BinaryKey="DeskMetricsMSI.dll" Execute="immediate" Return="ignore" />
<CustomAction Id="DeskMetricsTrackUninstallation" DllEntry="DeskMetricsTrackUninstallation"
BinaryKey="DeskMetricsMSI.dll" Execute="immediate" Return="ignore" />
<CustomAction Id="DeskMetricsTrackRollback" DllEntry="DeskMetricsTrackRollback"
BinaryKey="DeskMetricsMSI.dll" Execute="immediate" Return="ignore" />
<Property Id="DeskMetricsID" Value="YOUR APPLICATION ID" />
Add new customs actions with these properties:
Track Installations
Track Uninstallations
You’re done!