Hi, I have a customaction and property as defined below in WIX file
<Property Id="CA_Arguments1" Value="1" /> <CustomAction Id=" CA_SetProperty1" Return="check" Property="CA_Arguments1" Value="<somecommand1>" /> <CustomAction Id="CA1" Execute="deferred" Return="check" BinaryKey="mycustom.dll" DllEntry="CAFunction1" HideTarget="no"/> <Property Id="CA_Arguments2" Value="1" /> <CustomAction Id=" CA_SetProperty2" Return="check" Property="CA_Arguments2" Value="<somecommand2>" /> <CustomAction Id="CA2" Execute="deferred" Return="check" BinaryKey="mycustom.dll" DllEntry="CAFunction2" HideTarget="no"/> <Custom Action="CA_SetProperty1" After=" SomeOtherCA">< somecondition ></Custom> <Custom Action="CA1" After="CA_SetProperty1"><somecondition></Custom> <Custom Action="CA_SetProperty2" After="SomeOtherCA">< somecondition ></Custom> <Custom Action="CA2" After="CA_SetProperty2">< somecondition ></Custom> ----------------------------------- I am calling method in C++ source file as below - MsiGetProperty (hInstall, L"CA_Arguments1", szActionData, &dwActionData); MsiGetProperty (hInstall, L"CA_Arguments2", szActionData, &dwActionData); But, I am getting dwActionData value as zero. And I nowhere got in any documentation that which string from the above WIX code should be used as 2nd argument for the above method. So, I am just wondering whether I am using correct string or not. Please help. Regards, Pallavi. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Hamflett Sent: Wednesday, November 08, 2006 2:33 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Property name to be used in MsiGetProperty How are you passing a custom value to your DLL? I thought that you could only receive a handle to the MSI package. Are you sure the property name in the DLL is correct? Rob Pallavi Patrutkar wrote: > Hello, > > > > I am trying to pass a property to a method in a DLL. But I am not > getting the actual property value in my DLL through MsiGetProperty. > > It returns the length of parameter as zero. But still method returns > successfully. > > Can you tell me exactly which string from WXS file should I pass to this > method as a 2^nd parameter to get the correct property value? > > > > Thank you, > > > > Regards, > > Pallavi. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users