Open ofarrill opened 2 years ago
Wix toolset 3.14 isn't working too with VS2022 17.3 Preview ARM64. The VS2022 Wix Extension seems to install correctly but is not shown under installed extensions. Wix projects are shown correctly in the Solution Explorer window. I get this error when building: `>------ Build started: Project: GitterWixSetup, Configuration: Release x64 ------
C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\wix.targets(2305,5): error MSB4062: The "WixAssignCulture" task could not be loaded from the assembly C:\Program Files (x86)\WiX Toolset v3.14\bin\WixTasks.dll. Could not load file or assembly 'Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the
declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. Done building project "GitterWixSetup.wixproj" -- FAILED.
When I use the latest 3.14 wix toolset [3.14.0.5721], Wix successfully builds my MSI files on Windows 11 ARM64 on a M1 macbook Air (Parallels) with VS2022 17.3.0 Preview 2.0 ARM64. The VS2022 Wix Extension still shows as not installed in the Extension Manager, but Wix Projects and Wix Extention Projects are loading without errors. For the wix extention project I needed to renew the refenerence to the wix.dll file.
Yes, even for me on my Windows 11 machine with VS 17.2 installation fails, anyone has any clue how to resolve this?
@adhip94 see #6803
FireGiant (a Visual Studio partner) was sent a bit of information from the Visual Studio team about the expectations for extensions in VS ARM64:
Do you need to start migrating your extensions immediately?
Ultimately, ARM64 VS is very much a work in progress since many of the expected Visual Studio workloads and features are not going to be enabled initially. Some of this in-progress work currently includes enabling support for making your extensions ARM64-compatible. As a result, we're currently not pushing you and other extenders to migrate your extensions to ARM64 at the same velocity that we did with VS 2022.
...
When will you be able to start migrating to ARM64?
We hope to have the support for ARM64 extensions in place within the next few weeks. Once the support is completed, we'll release an additional blog post and documentation with details on how to properly migrate your extension.
At this point, there is no additional information about supporting Visual Studio ARM64 in an extension.
After installing the latest Wix VS2022 extension 1.0.0.20 and running devenv /safemode, the extenstion is showing as installed.
We'll keep this issue around until when Microsoft indicates extensions are supported on ARM64.
Extension support for ARM64 was released a few days ago: https://devblogs.microsoft.com/visualstudio/now-introducing-arm64-support-for-vs-extensions/
VS2022 17.5.0 preview 2 ARM64 and VS2022 17.4.3 ARM64 only accept arm64 extensions. When can we expect an arm64 Wix VS 2022 ARM64 extension?
When I try to install latest votive2022.vsix I get:
12/15/2022 10:16:07 AM - Microsoft VSIX Installer
12/15/2022 10:16:07 AM - -------------------------------------------
12/15/2022 10:16:07 AM - vsixinstaller.exe version:
12/15/2022 10:16:07 AM - 17.5.2046-preview2+g01cdd57f27
12/15/2022 10:16:07 AM - -------------------------------------------
12/15/2022 10:16:07 AM - Command line parameters:
12/15/2022 10:16:07 AM - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,\\Mac\Home\Downloads\Votive2022 (1).vsix
12/15/2022 10:16:07 AM - -------------------------------------------
12/15/2022 10:16:07 AM - Microsoft VSIX Installer
12/15/2022 10:16:07 AM - -------------------------------------------
12/15/2022 10:16:08 AM - Initializing Install...
12/15/2022 10:16:09 AM - Extension Details...
12/15/2022 10:16:09 AM - Identifier : WixToolset.VisualStudioExtension.Dev17
12/15/2022 10:16:09 AM - Name : WiX v3 - Visual Studio 2022 Extension
12/15/2022 10:16:09 AM - Author : WiX Toolset
12/15/2022 10:16:09 AM - Version : 1.0.0.22
12/15/2022 10:16:09 AM - Description : Visual Studio integration for the WiX v3 Toolset - the most powerful set of tools available to create your Windows installation experience.
12/15/2022 10:16:09 AM - Locale : en-US
12/15/2022 10:16:09 AM - MoreInfoURL : https://wixtoolset.org/
12/15/2022 10:16:09 AM - InstalledByMSI : False
12/15/2022 10:16:09 AM - SupportedFrameworkVersionRange : [4.5,)
12/15/2022 10:16:09 AM - SignatureState : ValidSignature
12/15/2022 10:16:09 AM - SignedBy : WiX Toolset (.NET Foundation)
12/15/2022 10:16:09 AM - Certificate Info :
12/15/2022 10:16:09 AM - -------------------------------------------------------
12/15/2022 10:16:09 AM - [Subject] : CN=WiX Toolset (.NET Foundation), O=WiX Toolset (.NET Foundation), L=Redmond, S=Washington, C=US, SERIALNUMBER=603 389 068, OID.2.5.4.15=Private Organization, OID.1.3.6.1.4.1.311.60.2.1.2=Washington, OID.1.3.6.1.4.1.311.60.2.1.3=US
12/15/2022 10:16:09 AM - [Issuer] : CN=.NET Foundation Projects Code Signing CA2, O=.NET Foundation, C=US
12/15/2022 10:16:09 AM - [Serial Number] : 02FB939AB63B1F73AC9184F12FA400B0
12/15/2022 10:16:09 AM - [Not Before] : 4/6/2022 2:00:00 AM
12/15/2022 10:16:09 AM - [Not After] : 4/6/2025 1:59:59 AM
12/15/2022 10:16:09 AM - [Thumbprint] : C832C5A08718E880B35FF10FA8F41C5B6FF6F561
12/15/2022 10:16:09 AM - Supported Products :
12/15/2022 10:16:09 AM - Microsoft.VisualStudio.Community
12/15/2022 10:16:09 AM - Version : [17.0,18.0)
12/15/2022 10:16:09 AM - ProductArchitecture : amd64
12/15/2022 10:16:09 AM - References :
12/15/2022 10:16:09 AM - -------------------------------------------------------
12/15/2022 10:16:09 AM - Identifier : WixToolset.VisualStudioExtension.Schemas3
12/15/2022 10:16:09 AM - Name : WiX Toolset v3 Schemas for Visual Studio
12/15/2022 10:16:09 AM - Version :
12/15/2022 10:16:09 AM - MoreInfoURL :
12/15/2022 10:16:09 AM - Nested : Yes
12/15/2022 10:16:09 AM - Prerequisites :
12/15/2022 10:16:09 AM - -------------------------------------------------------
12/15/2022 10:16:09 AM - Identifier : Microsoft.VisualStudio.Component.CoreEditor
12/15/2022 10:16:09 AM - Name : Visual Studio core editor
12/15/2022 10:16:09 AM - Version : [17.0,18.0)
12/15/2022 10:16:09 AM - Signature Details...
12/15/2022 10:16:09 AM - Extension is signed with a valid signature.
12/15/2022 10:16:09 AM - Searching for applicable products...
12/15/2022 10:16:09 AM - Found installed product - Visual Studio Professional 2022
12/15/2022 10:16:09 AM - Found installed product - Visual Studio Professional 2022 Preview
12/15/2022 10:16:09 AM - Found installed product - Global Location
12/15/2022 10:16:09 AM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
at VSIXInstaller.ExtensionService.GetInstallableDataImpl(IInstallableExtension extension, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
at VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
at VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
at VSIXInstaller.App.Initialize()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Here is a arm64 version of Votive 2022 which installs correctly under ARM64 Visual Studio 17.4.3 and 17.5.0 preview 2.
@fobrs - thanks for your installer!!
FYI, I don't have an ARM64 system, only normal X86 64-bit system, but I could never get past the following install issue with the official Votive2022.vsix
using VS 2022 Community Edition:
12/28/2022 02:26:58 PM - Certificate is invalid: Votive2022.vsix
12/28/2022 02:26:58 PM - Cache failed. Retrying download of 'WixToolset.VisualStudioExtension.Dev17,version=1.0.0.22'.
12/28/2022 02:26:58 PM - Value cannot be null.
I read all the closed issues, I have the latest VS, tried all the work arounds, etc. but nothing worked. I've been using the WiX installer with VS for years with no issues, this was a showstopper for me. So, I figured I would try yours -- why not, nothing else was working. Amazingly, it installed!!
Interestingly it also "basically" worked - just would not show the settings dialog from right-click properties on the WiX project - but everything would build, etc.
Then I thought, since I got "something" installed, why not try uninstalling your ARM64 version, then reinstalling the official. There was some error during uninstall of the ARM64 version, but it continued and finished - then normal Votive2022.vsix
finally worked!!!
I have no idea why this works?! However, perhaps this can give someone knowledgeable about WiX / vsix installers a clue as to what the "real issue" is here?
Regardless, sharing here for the next hapless, struggling soul in case this solution - using your ARM64 build as an intermediate step - works for them too...
I expect the private build works because it is not signed. The official build is signed. The VsixInstaller seems to have issues installing signed VSIXes in some situations. Someone that reproduces those issues could work with the Visual Studio team to help root cause the underlying install issue.
You're right. It is not signed. When can we expect an official signed version that works with Visual Studio ARM64?
I expect the private build works because it is not signed. The official build is signed. The VsixInstaller seems to have issues installing signed VSIXes in some situations. Someone that reproduces those issues could work with the Visual Studio team to help root cause the underlying install issue.
I may not be a good candidate since the official .vsix
will install now. Regardless, I think this has to do with some kind of root cert issue on some Windows machines, which, I think, i.e., would hope, would be managed automatically via Windows updates. Obviously, something is not quite right there.
Hi, is there any update regarding a release for Visual Studio ARM64?
ARM64 is supported in WiX v4 and HeatWave for VS2022.
Hi, Is there any chance to see ARM64 support for WIX 3.x in VS2022 any soon ?