If anyone else is interested I found and fixed the problem
In GamingExtension src\ext\GamingExtension\ca\gaming.cpp | SchedGameExplorer
// we need to know if the component's being installed, uninstalled,
or reinstalled
WCA_TODO todo = WcaGetComponentToDo(pwzComponentId);
This is called for files that have a gaming extension element to determine
if the custom action should try to process the Game Explorer data.
The check is incomplete it only checks for install / uninstall states not
WCA_TODO_UNKNOWN (seems to mean 'do nothing/not used')
adding
if(WCA_TODO_UNKNOWN == todo)
{
continue;
}
as an extra check fixed the problem
Gavin
On Thu, Sep 29, 2011 at 11:04 AM, Gavin Dodd <[email protected]> wrote:
> Hi
> I'm trying to set up an install of multiple games from one package.
> All games are optional installs.
> When adding game explorer data using the gaming extension I get MSIHANDLE
> leaks if some of the games (and therefore the gaming data) is not installed.
> The leaks are during the WixSchedGameExplorer action.
> If I install all the games or move the gaming:Game elements to a single
> component that is always installed then everything works.
> Though in the latter case games are registered that are not installed.
>
> Am I doing something wrong or is this a known problem?
>
> Gavin
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users