[wix-users] Error updating from wix 3.0 to wix 3.6

Andrei Barsa andrei.barsa at visma.com
Mon Mar 20 04:52:16 PDT 2017


Hi,

Thank you for your answers.

Yes, I have a custom UI that implement the IEmbeddedUI.
The strange thing is that with the old wix everything is compiling.

Andrei

On 17 March 2017 at 19:18, Hoover, Jacob <Jacob.Hoover at greenheck.com> wrote:

> Actually, I'll correct myself.  I went back to 3.0 and the ProcessMessage
> method was still defined on the IEmbeddedUI interface. Does your custom UI
> implement the IEmbeddedUI interface?
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Hoover, Jacob
> Sent: Friday, March 17, 2017 11:53 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] Error updating from wix 3.0 to wix 3.6
>
> It looks like you are using an external UI for a MSI and you are missing
> an added callback from the engine to the Embedded UI.  I would strongly
> recommend upgrading to the latest version of wix (3.10.3). WiX 3.10.3
> contains an important security fix and improvements. I would also urge you
> to move away from an embedded UI and instead use Burn and a custom BA.
>
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Andrei Barsa
> Sent: Friday, March 17, 2017 12:47 AM
> To: wix-users at lists.wixtoolset.org
> Subject: [wix-users] Error updating from wix 3.0 to wix 3.6
>
> Hi,
>
> I have an old app build with vs2008 and wix 3.0 and .net 3.0.
> I want to update the.net framework of the app to ver 4.5.
>
> Because I use vs2012 to do the upgrade, I saw that wix 3.6 is the common
> version supported by VS2008 and VS2012.
>
> VS2008 failed to proper convert the project to wix 3.6. In order to be
> able to open the project I manually replaced 3.0 with 3.x in the paths in
> the wixproj file.
>
> <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND
> '$(MSBuildExtensionsPath32)' != ''
> ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.
> targets</WixTargetsPath>
> <WixTargetsPath Condition=" '$(WixTargetsPath)' == ''
> ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
>
> Build the project with vs2008 and wix 3.6 on a win 10 machine I receive
> this error:
>
> Error 8 System.TypeLoadException: Method 'ProcessMessage' in type
> 'VismaUpdate.ClientSetup.UI.VPMClientSetupUI' from assembly
> 'VismaUpdate.ClientSetup.UI, Version=1.0.6284.22138, Culture=neutral,
> PublicKeyToken=null' does not have an implementation.
> C:\VismaUpdate2\branch\2.3RC2\Setup\VismaUpdate.ClientSetupUI\EXEC
> VismaUpdate.ClientSetupUI
>
> Error 9 The command ""C:\Program Files\WiX Toolset
> v3.6\bin..\sdk\MakeSfxCA.exe"
> "C:\VismaUpdate2\branch\2.3RC2\Setup\VismaUpdate.
> ClientSetupUI\obj\x86\Release\VismaUpdate.ClientSetup.UI.CA.dll"
> "C:\Program Files\WiX Toolset v3.6\bin..\sdk\x86\SfxCA.dll"
> "C:\VismaUpdate2\branch\2.3RC2\Setup\VismaUpdate.
> ClientSetupUI\obj\x86\Release\VismaUpdate.ClientSetup.UI.dll"
> "C:\Program Files\WiX Toolset
> v3.6\SDK\Microsoft.Deployment.WindowsInstaller.dll;....\References\
> ForEmbeddeUICustomAction\Visma.Core.Deployment.Target-
> YYYYMM.dll;....\References\ForEmbeddeUICustomAction\
> Visma.Core.Globalization-YYYYMM.dll;....\References\
> Visma.Core-201004.dll;....\References\Visma.Services.
> Installer.EmbeddedUI.Base.dll;....\References\Visma.
> Services.Installer.EmbeddedUI.dll;....\References\Visma.
> Services.Installer.EmbeddedUI.StandardPages.dll;C:\
> VismaUpdate2\branch\2.3RC2\VismaUpdate.Lib\bin\Release\
> Visma.Services.VismaUpdate.Lib.dll;....\References\Visma.
> Core.Globalization-201004.dll;C:\VismaUpdate2\branch\2.3RC2\
> VismaUpdate.Lib\bin\Release\Visma.Services.VismaUpdate.
> ClientLibrary.dll;....\References\ForEmbeddeUICustomAction\
> Visma.Core-YYYYMM.dll;C:\VismaUpdate2\branch\2.3RC2\Setup\VismaUpdate.
> ClientSetupUI\CustomAction.config""
> exited with code 1. VismaUpdate.ClientSetupUI
>
> The same error I get also building the project with VS2012 and wix 3.6 on
> a win 7 machine.
> I also tried and changed in the project .net ver to 4.5 on the win 7
> machine and build with VS2012 and I have the same error.
>
> Any suggestion?
>
> Thank you
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list