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 Error 0x80070006: failed to set property. As best I can determine, this is probably *ERROR_INVALID_HANDLE*. Which handle could be invalid? I tried to set the property to a string "TRUE" and also to an integer value of 1, both fail with the same error. The property was created in my .wxs file with <Property Id='INSTALLSTATUS' Secure='yes'/>*.* I cannot find any documentation of WcaSetProperty or WcaSetIntProperty.**At the moment I have this:
            hr = WcaSetIntProperty(L"INSTALLSTATUS", 1);
but I have also tried this
            hr = WcaSetProperty(L"INSTALLSTATUS",L"TRUE");
Both fail with the same error code. I have set other properties in a different custom action dll without any issues. Thanks.*
*
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to