Re: [WiX-devs] WcaSetProperty and WcaSetIntProperty failing

2013-08-21 Thread Rob Mensching
Deferred custom actions have limited access to properties. MSI SDK details this. On Wed, Aug 21, 2013 at 4:43 PM, Karen Mattox wrote: > Thanks for the quick reply Rob. It appears to have something to do with > the custom action being deferred, even calling MsiSetProperty returns the > INVALID_

Re: [WiX-devs] WcaSetProperty and WcaSetIntProperty failing

2013-08-21 Thread Karen Mattox
Thanks for the quick reply Rob. It appears to have something to do with the custom action being deferred, even calling MsiSetProperty returns the INVALID_HANDLE value. This dll method does a lot of things with installed files, and it uses CustomActionData retrieved with WcaGetProperty to retrie

Re: [WiX-devs] WcaSetProperty and WcaSetIntProperty failing

2013-08-21 Thread Rob Mensching
Code fore WcaSetProperty() is in src\ca\wcautil\wcawrap.cpp. Stepping through may show you more info about what is going awry. On Wed, Aug 21, 2013 at 1:26 PM, Karen Mattox wrote: > I have an initialized (using WcaInitialize() I verified with > WcaIsInitialized()) method with a valid looking h

[WiX-devs] WcaSetProperty and WcaSetIntProperty failing

2013-08-21 Thread Karen Mattox
I have an initialized (using WcaInitialize() I verified with WcaIsInitialized()) method with a valid looking handle (value 44 retrieved with WcaGetInstallHandle(), the same as the original hInstall that was passed into the method) that fails on a WcaSetIntProperty or WcaSetProperty call with Er