Hi,
I am writing a custom DLL that is used in darice.cub to validate my msi
file. The MessageBox always returns empty string while I validate msi using
smoke validation tool
Using orca tool I could make out that the TARGETDIR property in msi is set
to some defined path such like C:\MyApps
UINT status;
TCHAR szLen[30];
status = MsiGetProperty(hInstall, TEXT("TARGETDIR"), TEXT(""), &length);
if(status == ERROR_MORE_DATA)
{
++length;
Path = new TCHAR[length];
status = MsiGetProperty(hInstall, _T("TARGETDIR"), Path, &length);
if(status == ERROR_SUCCESS)
{
MessageBox(NULL, Path, TEXT("TARGETDIR"), MB_OK);
}
}
Please suggest
Thanks,
Naga Ram M Chavakula | Project Manager
O: 608.448.3118 |M: 0091.9885778079 | [email protected]
Symphony <http://www.symphony.cc/> Corporation | Hyderabad, A.P.India-500
082 | A SEI-CMMI Level 4 Company
We synchronize business, technology and people
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs