Yes you are right - I forgot uninstall :-( The problem is, that directory with documentation is delivered by third party company and I do not want to check directory structure everytime after documentation delivery... So I created folowing functionality using mallow.exe utility:
1.) Into our .wixproj file (we use autobuild on TFS and wix 3.0 VS2005 targets..) I added folowing PreBuild event, which autogenerates "Help" directory structure: <Target Name="PreBuildEvent"> <Exec ContinueOnError="true" Command=""$(WixToolPath)mallow.exe" -d ..\Help -s DirToInsertTemplate.wxs -w Help -a ..\Help > DirToInsert.wxs" /> </Target> content of DirToInsertTemplate.wxs is folowing: <?xml version="1.0" encoding="Windows-1252"?> <Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi"> <Fragment Id="Fragment_Help"> <DirectoryRef Id="Help"> </DirectoryRef> </Fragment> </Wix> 2.) Then I use in my MSM module source file folowing: <FragmentRef Id='Fragment_Help'/> .... <Directory Id="Help" Name="Help"> <Component Id="HlpFld" Guid="{45E999E7-DC0C-41aa-AD50-2375692D4525}"> <CreateFolder/> </Component> </Directory> ... And it works wel!!! :-) Thanks to all.. David. 2007/9/11, Richard <[EMAIL PROTECTED]>: > > In article <[EMAIL PROTECTED]>, > "Karthik Krishnan" <[EMAIL PROTECTED]> writes: > > > You'll need a custom action for that. You'll have to include code that > > cleans up your unzipped files on uninstall so you don't leave files on the > > system. > > And you'll need code that handles rollback. And you'll have to test > the crap out of it to handle all sorts of errors. And you'll have to > write code to handle repair. And you'll have to write code that > handles modify. And you'll have to write code that handles patching. > > Wait! We just re-implemented most of Windows Installer's engine for a > ZIP file. Why were we doing this again? > > > A semi easier solution is to write something that calls "heat dir" each time > > to generate a .wxs you include in your build. Should take about a day of > > dev/testing. > > Ah, much better, thank you. > -- > "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download > <http://www.xmission.com/~legalize/book/download/index.html> > > Legalize Adulthood! <http://blogs.xmission.com/legalize/> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users