[WiX-users] Missing project name preprocessor variable for WiX v3.9 R2 setup project in VS 2012
I having an issue with a WiX setup project I recently added to a Visual Studio 2012 (Ultimate, Update 4) web service project. When the Candle utility processes the Product.wxs file, it's complaining that it can't find any of the var.ProjectName.* preprocessor variables. At first I thought it might be just .ProjectName, but none of the others, such as .ProjectPath, .Configuration, .TargetDir, etc. work, so clearly the whole ProjectName.* set is not being defined. I have used WiX without issue on several other projects, but those are VS 2010 projects, so I'm wondering if there's something special about VS 2012 w/r/t WiX that I'm missing? When I installed WiX, I already had VS 2010 and VS 2012 installed, so WiX project types were added without issue. The target project is called DMICoreService and the setup project is called DMICoreService_Setup. Below are the relevant fragments of the DMICoreService_Setup.csproj and Product.wxs files and build output that I think will be helpful: -- Project reference for target project: -- ItemGroup ProjectReference Include=..\DMICoreService\DMICoreService.csproj NameDMICoreService/Name Project{e793a8ce-2dc7-403d-a43c-566cc846b71c}/Project PrivateTrue/Private DoNotHarvestTrue/DoNotHarvest RefProjectOutputGroups /RefProjectOutputGroups RefTargetDirINSTALLFOLDER/RefTargetDir WebProjectTrue/WebProject /ProjectReference /ItemGroup -- The following fragment is to get the web transforms to happen and pulled into the final build. It also defines some constants to be made available to WiX. This fragment has been used successfully, as-is, in several other projects (as noted above). -- Target Name=BeforeBuild PropertyGroup ProjectReferenceFilename%(ProjectReference.Filename)/ProjectReferenceFilename /PropertyGroup MSBuild Projects=%(ProjectReference.FullPath) Targets=Package Properties=Configuration=$(Configuration);Platform=AnyCPU Condition='%(ProjectReference.WebProject)'=='True' / Copy SourceFiles=%(ProjectReference.RootDir)%(ProjectReference.Directory)obj\$(Configuration)\TransformWebConfig\transformed\web.config DestinationFiles=%(ProjectReference.RootDir)%(ProjectReference.Directory)obj\$(Configuration)\Package\PackageTmp\web.config Condition='%(ProjectReference.WebProject)'=='True' /Copy ItemGroup LinkerBindInputPaths Include=%(ProjectReference.RootDir)%(ProjectReference.Directory)obj\$(Configuration)\Package\PackageTmp\ / /ItemGroup HeatDirectory OutputFile=%(ProjectReference.Filename).wxs Directory=%(ProjectReference.RootDir)%(ProjectReference.Directory)obj\$(Configuration)\Package\PackageTmp\ DirectoryRefId=INSTALLFOLDER ComponentGroupName=$(ProjectReferenceFilename.Replace('-','_'))_Project AutogenerateGuids=true SuppressCom=true SuppressFragments=true SuppressRegistry=true SuppressRootDirectory=true ToolPath=$(WixToolPath) Condition='%(ProjectReference.WebProject)'=='True' / GetAssemblyIdentity AssemblyFiles=%(ProjectReference.RootDir)%(ProjectReference.Directory)bin\%(ProjectReference.Name).dll Output TaskParameter=Assemblies ItemName=AssemblyVersion / /GetAssemblyIdentity PropertyGroup DefineConstantsAssemblyVersion=%(AssemblyVersion.Version)/DefineConstants DefineConstants Condition='$(Configuration)'=='DemoRelease'$(DefineConstants);VirtualDirSuffix=Demo/DefineConstants DefineConstants Condition='$(Configuration)'!='DemoRelease'$(DefineConstants);VirtualDirSuffix=/DefineConstants /PropertyGroup /Target -- Product.wxs fragment (build dies when it gets to the Product element because it can't find the preprocessor variable): -- ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension; Product Id=* Name=$(var.DMICoreService.ProjectName)-PID-839-($(var.Configuration))-v$(var.AssemblyVersion) Language=1033 Version=$(var.AssemblyVersion) Manufacturer=My Employer UpgradeCode=7753fa5e-6c89-4af4-99bb-53653afb1d05 -- Partial build output: -- 1 C:\Program Files (x86)\WiX Toolset v3.9\bin\Heat.exe dir C:\Users\TNewell\Documents\Projects\DMICoreServices\DMICoreService\obj\Debug\Package\PackageTmp\ -cg DMICoreService_Project -dr INSTALLFOLDER -scom -sreg -srd -ag -sfrag -out DMICoreService.wxs 1 C:\Program Files (x86)\WiX Toolset v3.9\bin\candle.exe -v -dAssemblyVersion=1.0.0.0 -dVirtualDirSuffix= -dDevEnvDir=C:\Program Files
[WiX-users] Search for IIS Modules
Hi, I need some help to look to see if IIS modules AppWarmup and DynamicCompression are installed. Productsearch was suggested but there are no ProductCode nor Upgradecode associated with IIS modules (that I could find at least). Any help or examples would be much appreciated. Thanks, George. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Search-for-IIS-Modules-tp7600726.html Sent from the wix-users mailing list archive at Nabble.com. -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Does Burn allow minor upgrades of packages? [P]
Burn handles minor upgrades. _ Short replies here. Complete answers over there: http://www.firegiant.com/ -Original Message- From: Reuss, Matthias [mailto:matthias.mr.re...@sivantos.com] Sent: Friday, June 26, 2015 6:20 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Does Burn allow minor upgrades of packages? [P] Hi Steve, Thanks for your reply. I have been developing MSI installations for a couple of years, and I am familiar with the differences between minor and major upgrades and where to use each of them. We rather need to deploy minor upgrades as full installers (besides the patches), and my question was whether Burn allows an upgrade installation of a bundle where (some or all of) the packages are minor upgrades. So Bundle v1.0 contains MsiPackageA v5.0, MsiPackageB v6.0 Bundle v1.1 contains MsiPackageA v5.1, MsiPackageB v6.1, both with unchanged ProductCodes Best regards Matthias Reuss -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Does Burn allow minor upgrades of packages? [P]
Hi Steve, Thanks for your reply. I have been developing MSI installations for a couple of years, and I am familiar with the differences between minor and major upgrades and where to use each of them. We rather need to deploy minor upgrades as full installers (besides the patches), and my question was whether Burn allows an upgrade installation of a bundle where (some or all of) the packages are minor upgrades. So Bundle v1.0 contains MsiPackageA v5.0, MsiPackageB v6.0 Bundle v1.1 contains MsiPackageA v5.1, MsiPackageB v6.1, both with unchanged ProductCodes Best regards Matthias Reuss -Ursprüngliche Nachricht- Von: Steven Ogilvie [mailto:steven.ogil...@titus.com] Gesendet: Freitag, 26. Juni 2015 14:50 An: General discussion about the WiX toolset. Betreff: Re: [WiX-users] Does Burn allow minor upgrades of packages? [P] Classification: Public Check this out... https://msdn.microsoft.com/en-us/library/aa370579(v=vs.85).aspx Steve -Original Message- From: Reuss, Matthias [mailto:matthias.mr.re...@sivantos.com] Sent: June-26-15 8:34 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Does Burn allow minor upgrades of packages? Hello, Does Burn allow minor upgrades of MsiPackages? Are there some attributes that can be set to achieve that? Or do I have to write custom code that makes the bootstrapper think that the package to be upgraded is not yet there? Best regards Matthias Reuss -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users This message has been marked as Public by Steven Ogilvie on June-26-15 8:50:28 AM. The above classification labels were added to the message by TITUS Message Classification. For more information visit www.titus.com. -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Does Burn allow minor upgrades of packages?
Hello, Does Burn allow minor upgrades of MsiPackages? Are there some attributes that can be set to achieve that? Or do I have to write custom code that makes the bootstrapper think that the package to be upgraded is not yet there? Best regards Matthias Reuss -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Does Burn allow minor upgrades of packages? [P]
Classification: Public Check this out... https://msdn.microsoft.com/en-us/library/aa370579(v=vs.85).aspx Steve -Original Message- From: Reuss, Matthias [mailto:matthias.mr.re...@sivantos.com] Sent: June-26-15 8:34 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Does Burn allow minor upgrades of packages? Hello, Does Burn allow minor upgrades of MsiPackages? Are there some attributes that can be set to achieve that? Or do I have to write custom code that makes the bootstrapper think that the package to be upgraded is not yet there? Best regards Matthias Reuss -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users This message has been marked as Public by Steven Ogilvie on June-26-15 8:50:28 AM. The above classification labels were added to the message by TITUS Message Classification. For more information visit www.titus.com. -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users