You may have to post more code than that. However it doesn't look correct because your TEXT("") parameter is where that API call wants to store the property value.
Phil Wilson -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ran Didi Sent: Sunday, September 14, 2008 2:01 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] MsiGetProperty failed on new CA Hi, I successfully converted an InstallShield project to WIX 3. when i tried to add a new custom action - it failed on MsiGetProperty(hInstall, szName, TEXT(""), &nSizeCount); (gets nSizeCount == 0 & return ERROR_MORE_DATA), while i was trying to get the CustomActionData property from the msi package. when i call the new CA by changing the DLLEntry propery of a working CA - the call succeeded, i.e. i have a a working foo_ca_old CA (foo_old DLLEntry) and a broken foo_ca_new CA (foo_new DLLEntry) and i build the msi while changing foo_ca_old to invoke foo_new DLLEntry. this test showed that the problem is in the wix source file and not in the CA code. i went over the source several times - and didn't notice a thing that is different between foo_ca_old and foo_ca_new, can someone suggest a ptr where to start looking? -- Didi Ran... ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users