I guess I spoke too soon... Early in the Wix 2.0 => 3.5 upgrade, I was seeing the error: Error 54 The Directory with Id 'INSTALLDIR' is not a valid root directory. There may only be a single root directory per product or module and its Id attribute value must be 'TARGETDIR' and its Name attribute value must be 'SourceDir'.
So I switched the root Directory Id="TARGETDIR" and the error stopped happening - *but* when I looked more closely at the output, my .msi was nearly empty and all the subdirectories that were supposed to be *in* the msi are instead peer directories to it in MyProduct\bin\Release\. Seems like there's some 2.0/3.5 incompatibility speed bump I haven't internalized yet... Any tips? Thanks Mark -----Original Message----- From: Mark Modrall [mailto:mmodr...@mzinga.com] Sent: Monday, July 18, 2011 5:15 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to burn petrified wood? Upgrading from VS 2005 to 2010 Thanks for your response, Pally... I've got things converted over for the most part but am still puzzled by a few new warnings. One is this one: Warning 58 ICE25: Possible dependency failure as we do not find <module>@1033 v in ModuleSignature table light.exe 0 1 MyProduct All my modules have Language="1033" in them, so I'm puzzled what the warning is about. The other is that when I have: <Media Id="1" Cabinet="Product.cab" EmbedCab="yes" /> In my build projects, I get the warning The cabinet 'Product.cab' does not contain any files. If this installation contains no files, this warning can likely be safely ignored. Otherwise, please add files to the cabinet or remove it. But if I don't have it, I get a lot of errors about having an undefined media reference with the DiskId="1" attributes on file and module refs. If I take the DiskId="1" off, it says it's required. Warnings are better than errors, but I'm trying to understand what's driving them. Thanks Mark -----Original Message----- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: Monday, July 18, 2011 7:00 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to burn petrified wood? Upgrading from VS 2005 to 2010 I don't think there is an upgrade from v2.0 .wixproj to v3.x. Votive was very much experimental & unsupported in WiX v2.0. You're probably better off creating new .wixproj files in v3.5 as it's pretty quick to do. Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Mark Modrall [mailto:mmodr...@mzinga.com] Sent: 17 July 2011 15:16 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to burn petrified wood? Upgrading from VS 2005 to 2010 I had been running msbuild to product my msis and it wasn't throwing any errors, but now I went into my solution using the IDE (both 2005 and 2010). In both I get the error that I have to use the IDE to upgrade my .wixproj (2.0) files but in the IDE it just says all the projects are (unavailable). I'm not prompted for upgrade nor does VS appear to do them. It 2.0 => 3.5 just too big a jump for automated upgrade? Thanks Mark -----Original Message----- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Saturday, July 16, 2011 1:03 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to burn petrified wood? Upgrading from VS 2005 to 2010 The Windows Installer Error Message http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx says: 2756 The property '[2]' was used as a directory property in one or more tables, but no value was ever assigned. That suggest something is wrong in your MSI. A verbose log file will probalby tell you more. On Fri, Jul 15, 2011 at 2:39 PM, Mark Modrall <mmodr...@mzinga.com> wrote: > Hi everybody... > > I imagine I'll take some flak for this, but we still have > installers being cobbled together by Wix 2.0. > > Recently I was tasked with upgrading our product builds from VS 2005 to VS > 2010 (and moving our production environment from Windows Server 2003 to > 2008). I just got all the product build converted and running under VS 2010 > (with a side nightmare thanks to Sourcegear Vault). My Wix project cranked > out .msis without complaint. > > But when I went to install the msi on Windows 2008, it threw > an exception 2765. Not a lot of information on what the problem is. Not > sure if it's some kind of difference between W2003 and 2008, the version of > the msi installer on the os or what. It did say there was one specific > merge module at the time, a .net assembly that was going to be put in the > gac. > > I'd run Wix under VS 2005 figuring that the bundling of the > build product didn't need to be upgraded, but to start eliminating variables > I upgraded the Wix solution to VS 2010 and tried the msi outcome of that. > Same error. > > I went to install Wix 3 (baby steps), but that installer > still only offered VS 2005 integration. > > I haven't worked with Windows Server 2008 much and I haven't > seen this installer error before. Is this a Wix compatibility issue or an > OS issue? > > Thanks > Mark > > > ------------------------------------------------------------------------------ > AppSumo Presents a FREE Video for the SourceForge Community by Eric > Ries, the creator of the Lean Startup Methodology on "Lean Startup > Secrets Revealed." This video shows you how to validate your ideas, > optimize your ideas and identify your business strategy. > http://p.sf.net/sfu/appsumosfdev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users