I'm bumping this up because it still doesn't seem to work. Since the last couple of wix builds there has been a directorysear...@assigntoproperty, but the created .msi files still look the same and the returned value is the file path, not the folder. Just tested with Build 4923.
Anyone having success using a FileSearch and have the folder returned? Best regards, Sebastian Brand Instyler Software - http://www.instyler.com From: wix-users-boun...@lists.sourceforge.net [mailto:wix-users-boun...@lists.sourceforge.net] On Behalf Of martin lavelle Sent: Thursday, July 05, 2007 12:37 To: wix-users@lists.sourceforge.net; b...@joyofsetup.com Subject: Re: [WiX-users] File Search that returns a folder path This simple example returns the folder path of notepad.exe to the property NOTEPAD_FOLDER (If it finds it). Appsearch Table Property | Signature -------------------------------------------- NOTEPAD_FOLDER | NotepadFolderSignature DrLocator Table Signature | Parent | Path | Depth ----------------------------------------------------------- NotepadFolderSignature| NotepadFileSignature NotepadFileSignature | | | 5 Signature Table Signature | FileName ------------------------------------ NotepadFileSignature |notepad.exe Bob Arnson wrote: If you have current MSI rows that work, you should post them; that might help. Martin Lavelle wrote: I'm trying to author a file search that returns the folder path of a file search. In other words, I don't want the file name on the end of the path. My Property / DirectorySearch / FileSearch attempts just won't create the right table entries, will someone show me how to do this please. Incidentally, I've tried using Dark.exe to reveal the WiX syntax, but without success. _____ See what you're getting into.before you go there. Check it out! <http://newlivehotmail.com> ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users