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-tp15428647p15428647.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