It looks like you're using Wix 2.0/Votive 2.0. Votive 2.0 does not have an msbuild compatibale format. Switch to Votive 3.0 and your trick should work.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of fgc Sent: dinsdag 12 februari 2008 9:34 To: wix-users@lists.sourceforge.net Subject: [WiX-users] how to add pre / post build steps to wixproj Hi all, I'm looking for a way to add pre and post build steps to the wixproj project. According to http://www.mail-archive.com/[EMAIL PROTECTED]/msg02422.html it seems to be possible already but I did not find out how to make it work. I have the following wixproj file: <?xml version="1.0" encoding="utf-8" ?> <VisualStudioProject> <WindowsInstallerXML ProductVersion="2.0.5325.0" ProjectGuid="{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" SchemaVersion="1.0" > <BuildSettings OutputName="MyProject" OutputType="MSI" /> <Configurations> <Configuration Name="Release" RelativeOutputDirectory="bin\Release" RelativeIntermediateDirectory="obj\Release" /> </Configurations> <WixlibReferences /> <Files> <File RelativePath="Installer.wxs" /> <File RelativePath="Installer_en-us.wxl" /> <File RelativePath="InstallerUI.wxs" /> <File RelativePath="WixUI_en-us.wxl" /> </Files> </WindowsInstallerXML> </VisualStudioProject> Now my guess was that I simply have to add a PropertyGroup inside the WindowsInstallerXML tags: <?xml version="1.0" encoding="utf-8" ?> <VisualStudioProject> <WindowsInstallerXML ProductVersion="2.0.5325.0" ProjectGuid="{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" SchemaVersion="1.0" > <BuildSettings OutputName="MyProject" OutputType="MSI" /> <Configurations> <Configuration Name="Release" RelativeOutputDirectory="bin\Release" RelativeIntermediateDirectory="obj\Release" /> </Configurations> <WixlibReferences /> <Files> <File RelativePath="Installer.wxs" /> <File RelativePath="Installer_en-us.wxl" /> <File RelativePath="InstallerUI.wxs" /> <File RelativePath="WixUI_en-us.wxl" /> </Files> <PropertyGroup> <PreBuildEvent>"test.pl"</PreBuildEvent> <PostBuildEvent></PostBuildEvent> <RunPostBuildEvent>Always</RunPostBuildEvent> </PropertyGroup> </WindowsInstallerXML> </VisualStudioProject> But that does not work at all. The output does not show anything, no calls no errors, nothing. Do I misunderstand something here? Thanks! -- View this message in context: http://www.nabble.com/how-to-add-pre---post-build-steps-to-wixproj-tp154 28647p15428647.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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