I shipped a couple CTPs of Live Mesh using that code. It worked for me then.
On Thu, Jul 22, 2010 at 11:16 PM, Elfe Xu <elf...@microsoft.com> wrote: > > Thanks. After adding the version resource, add a <EnsureTable > Id="RemoveFile" > /> element, the RemoveFoldersEx action executed successfully. > > Action 14:10:30: RemoveFoldersEx. > Action start 14:10:30: RemoveFoldersEx. > MSI (s) (A8:24) [14:10:30:747]: Invoking remote custom action. DLL: > C:\Windows\Installer\MSI8168.tmp, Entrypoint: RemoveFoldersEx > MSI (s) (A8!60) [14:10:30:747]: PROPERTY CHANGE: Adding > _dirCB80BB8E7C4DF6458FEC42C79CD3833C_0 property. Its value is 'C:\Program > Files\Foo\bar\abc\'. > MSI (s) (A8!60) [14:10:30:762]: PROPERTY CHANGE: Adding > _dirCB80BB8E7C4DF6458FEC42C79CD3833C_1 property. Its value is 'C:\Program > Files\Foo\bar\Logs\'. > MSI (s) (A8!60) [14:10:30:762]: PROPERTY CHANGE: Adding > _dirCB80BB8E7C4DF6458FEC42C79CD3833C_2 property. Its value is 'C:\Program > Files\Foo\bar\'. > Action ended 14:10:30: RemoveFoldersEx. Return value 1. > > Then, the installer hit the same fatal 2727 error, as I have by using my > own > c# CA: > > DEBUG: Error 2727: The directory entry > '_dirCB80BB8E7C4DF6458FEC42C79CD3833C_0' does not exist in the Directory > table > The installer has encountered an unexpected error installing this package. > This may indicate a problem with this package. The error code is 2727. The > arguments are: _dirCB80BB8E7C4DF6458FEC42C79CD3833C_0, , > MSI (s) (A8:5C) [14:14:36:492]: Product: System Center Atlanta -- The > installer has encountered an unexpected error installing this package. This > may indicate a problem with this package. The error code is 2727. The > arguments are: _dirCB80BB8E7C4DF6458FEC42C79CD3833C_0, , > > Does this approach really work? > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/The-DirProperty-in-RemoveFile-table-must-be-a-property-name-in-Directory-table-tp5317922p5328465.html > Sent from the wix-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users