Hi Gábor, Thanks for your help.
I tried to use the command as you said in one batch file. But when run the batch file, there is no action. No dll are generated, nor message return. The command line screen only shows the content as in batch file. What is the problem? There is still not working for Visual Studio 2005. The error message: dutil.lib(precomp.obj) : fatal error LNK1103: debugging information corrupt; recompile module Regards, Chunyan -----Ursprüngliche Nachricht----- Von: DEÁK JAHN, Gábor [mailto:d...@tramontana.co.hu] Gesendet: Dienstag, 3. November 2009 20:07 An: General discussion for Windows Installer XML toolset. Betreff: [WiX-users] Link error for dutil.lib On Mon, 2 Nov 2009 16:20:21 +0100, Jiang, Chunyan (GE Healthcare) wrote: Chunyan, > I tried to compile the sampleListbox from Wix Tutorial 10.1. I > downloaded the source code and tried to build the dll. For such simple jobs like this I don't like the overkill of an integrated development environment but makefiles or even simple batch files. The one I use to build the sample looks like this (of course, you will need to provide the paths): cl.exe /nologo /O2 /WX /GF /EHsc /MD /Gy /I<compiler_include_folder> /I<WiX_SDK_include_folder> /c FillListbox.cpp link.exe /nologo /subsystem:windows /dll /incremental:no /machine:I386 /libpath:<compiler_library_folder> /libpath:<WiX_SDK_library_folder> /out:FillListbox.dll FillListbox.obj kernel32.lib user32.lib gdi32.lib advapi32.lib msi.lib dutil.lib wcautil.lib But, you can work the same parameters into an IDE based solution just as well... Bye, Gábor ------------------------------------------------------------------- DEÁK JAHN, Gábor -- Budapest, Hungary E-mail: d...@tramontana.co.hu ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users