Do not modify darice.cub. You should make your own CUB file that you can use in addition. Smoke.exe in WiX supports mulitple CUBs using the -cub switch.
And because ICE validation does not run through Cost* standard actions, there is no reliable TARGETDIR. You can't test the installation using ICE - they are merely for validating relationships / data integrity. In the future, please email these sorts of dev usage questions to wix-users. wix-dev is primarily for people developing public wix code. On Wed, Dec 16, 2009 at 7:06 AM, nagaram.c <[email protected]> wrote: > 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 Corporation <http://www.symphony.cc/>* | 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 > > -- Heath Stewart Deployment Technologies Team, Microsoft http://blogs.msdn.com/heaths
------------------------------------------------------------------------------ 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
