That's irrelevant. It's like saying "my code worked on XP why doesn't it work 
on Vista"?  You have to give us more information than a fragment of code and 
the assertion that it worked an old install but not in the new.

As Bob says, you must have an immediate custom action in your sequence that 
will set the CustomActionData value that you're trying to get via your 
MsiGetProperty code (and that doesn't mean you set a property called 
CustomActionData).  Without that, it makes no difference if your *code* is the 
same in the new install as the old install, or that it looks the same in Orca. 
It must be preceded with an immediate custom action to set the value.

Post your code. It might help. For example, if you're trying to get the value 
of the CustomActionData property as you stated before, why don't you have that 
string in your MsiGetProperty code instead of szName?

Phil Wilson

-----Original Message-----
From: Ran Didi [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 20, 2008 1:09 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] MsiGetProperty failed on new CA

The 'MsiGetProperty(hInstall, szName, TEXT(""), &nSizeCount); ' works great
on the old CA,
the old & new CA content in Orca are exactly the same (on the CustomAction
table) - except for the target column of course.
the InstallSeqance table contains both new & old CAs.

On Thu, Sep 18, 2008 at 7:41 AM, Bob Arnson <[EMAIL PROTECTED]> wrote:

> Ran Didi wrote:
> > 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.
> >
>
> The most likely cause is that the CA data wasn't set correctly in the
> immediate CA.
>
> --
> sig://boB
> http://joyofsetup.com/
>
>
>
> -------------------------------------------------------------------------
> 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
>



--
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

Reply via email to