Can you try chaning your condition to "NOT FindDotNet40ClientInstallRegValue" and let's see if that works. I agree this should work, I'm a little surprised it doesn't.
What version of WIX toolset are you using? On Wed, Jan 11, 2012 at 2:00 AM, James Green <jgr...@mango-solutions.com>wrote: > Hi Again, > > I spoke too soon. > > I've confirmed that .NET 4.0 isn't installed on the machine. My Bundle > has an install condition of: > > FindDotNet40ClientInstallRegValue = 0 > > Which is a RegistrySearch: > > <util:RegistrySearch Id="FindDotNet40ClientInstallRegValue" > Root="HKLM" > Key="SOFTWARE\Microsoft\NET Framework > Setup\NDP\v4\Client" > Value="Install" > Variable="DotNetFramework40ClientInstallRegValue" > /> > > [011C:0408][2012-01-11T09:44:42]: Condition > 'FindDotNet40ClientInstallRegValue = 0' evaluates to false. > > Which according to the log evaluated to false, I'm obviously terribly > mistaken but I would assume that if the key isn't present it would evaluate > to 0 meaning that " FindDotNet40ClientInstallRegValue = 0" would evaluate > to true and install .net on the machine. > > [011C:0408][2012-01-11T09:44:40]: Registry key not found. Key = > 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client' > [011C:0408][2012-01-11T09:44:40]: Registry key not found. Key = > 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full' > > Then the entire packaged failed to install anything subsequently. > > [011C:0408][2012-01-11T09:44:46]: Error 0x80070643: Failed to execute > apply. > > > -----Original Message----- > From: Rob Mensching [mailto:r...@robmensching.com] > Sent: 11 January 2012 05:26 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] My First Bundle! :) > > Take a look at the log file that should be created in your %TEMP% > directory. Hopefully that will show how the condition evaluated and explain > why uninstall failed. > > On Tue, Jan 10, 2012 at 12:00 PM, Jammer <jam...@jammer.biz> wrote: > > > Hi All, > > > > I'm creating my first bootstapper installer and I have a few questions. > > > > My entire script looks like this: > > > > <?xmlversion="1.0"encoding="UTF-8"?> > > <Wixxmlns="http://schemas.microsoft.com/wix/2006/wi" > > xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> > > > > <BundleName="MangoSetup" > > Version="1.0.0.0" > > Manufacturer="Mango-Solutions" > > UpgradeCode="340fe3b1-b98d-42fc-9a15-d1d36ca83922" > > HelpTelephone="+44 (0)1249 767700" > > HelpUrl="http://www.mango-solutions.com" > > Compressed="yes"> > > > > > > <BootstrapperApplicationRefId="WixStandardBootstrapperApplication.RtfL > > icense"/> > > > > <util:RegistrySearchId="FindDotNet40ClientInstallRegValue" > > Root="HKLM" > > Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client" > > Value="Install" > > Variable="DotNetFramework40ClientInstallRegValue"/> > > > > <util:RegistrySearchId="FindDotNet40FullInstallRegValue" > > Root="HKLM" > > Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" > > Value="Install" > > Variable="DotNetFramework40FullInstallRegValue"/> > > <Chain> > > > > <ExePackageVital="no" InstallCondition="NOT > > FindDotNet40ClientInstallRegValue" Id="DOTNET4CP" > > SourceFile="..\..\lib\net_client_profile\dotNetFx40_Client_x86_x64.exe > > "/> <MsiPackageVital="yes" Id="MANGOANALYSE" > > SourceFile="..\Build\Mango.Analyse.Installer.msi"/> > > </Chain> > > </Bundle> > > </Wix> > > > > Even though I have a conditional set on the client profile exe it > > always runs this package. As far as I can tell this is correct syntax. > > > > I also just noticed that in the Add/Remove Programs under winXP SP3 I > > ended up with .NET 4.0 client profile installed, the Mango.Analyse > > application AND an entry for this boot strapper ... when I tried to > > uninstall the bootstrapper it just gave an error saying that it > > couldn't proceed ... > > > > Would appreciate any pointers as I don't seem to be able to find much > > documentation for this task. > > -- > > *Jammer* > > WWW.JAMMER.BIZ <http://www.jammer.biz> TWITTER > > <http://twitter.com/findjammer> LINKEDIN > > <http://uk.linkedin.com/in/findjammer>** > > > > ---------------------------------------------------------------------- > > -------- > > Write once. Port to many. > > Get the SDK and tools to simplify cross-platform app development. > > Create new or port existing apps to sell to consumers worldwide. > > Explore the Intel AppUpSM program developer opportunity. > > appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > -- > virtually, Rob Mensching - http://RobMensching.com LLC > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > LEGAL NOTICE > This message is intended for the use of the named recipient(s) only and > may contain confidential and / or privileged information. If you are not > the intended recipient, please contact the sender and delete this message. > Any unauthorised use of the information contained in this message is > prohibited. > Mango Business Solutions Limited is registered in England under No. > 4560258 with its registered office at Suite 3, Middlesex House, Rutherford > Close, Stevenage, Herts, SG1 2EF, UK. > > PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users