SHFB icon indicating copy to clipboard operation
SHFB copied to clipboard

Cannot install extension on arm64

Open scegg opened this issue 1 year ago • 1 comments

When trying install SHFB on arm64 Visual Studio 2022, after SHFB main program installed, the extension cannot be installed: This extension is not installable on any currently installed products.

image
2/19/2024 8:16:51 PM - Microsoft VSIX Installer
2/19/2024 8:16:51 PM - -------------------------------------------
2/19/2024 8:16:51 PM - vsixinstaller.exe version:
2/19/2024 8:16:51 PM - 17.9.3174+fce230bb0d
2/19/2024 8:16:51 PM - -------------------------------------------
2/19/2024 8:16:51 PM - Command line parameters:
2/19/2024 8:16:51 PM - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,C:\Users\allen\AppData\Local\Temp\_tc0\InstallResources\SHFBVisualStudioPackage_VS2022AndLater.vsix
2/19/2024 8:16:51 PM - -------------------------------------------
2/19/2024 8:16:51 PM - Microsoft VSIX Installer
2/19/2024 8:16:51 PM - -------------------------------------------
2/19/2024 8:16:52 PM - Initializing Install...
2/19/2024 8:16:52 PM - Searching for applicable products...
2/19/2024 8:16:53 PM - Found installed product - Visual Studio Enterprise 2022
2/19/2024 8:16:54 PM - Found installed product - Global Location
2/19/2024 8:16:54 PM - Extension Details...
2/19/2024 8:16:54 PM - 	Identifier         : SHFB.A8C96335-DAF7-4D30-89E2-B004400E4525
2/19/2024 8:16:54 PM - 	Name               : SHFB (VS2022 and Later)
2/19/2024 8:16:54 PM - 	Author             : EWSoftware
2/19/2024 8:16:54 PM - 	Version            : 2024.2.18.0
2/19/2024 8:16:54 PM - 	Description        : Visual Studio integration for the Sandcastle Help File Builder.
2/19/2024 8:16:54 PM - 	Locale             : en-US
2/19/2024 8:16:54 PM - 	MoreInfoURL        : https://ewsoftware.github.io/SHFB/html/bd1ddb51-1c4f-434f-bb1a-ce2135d3a909.htm
2/19/2024 8:16:54 PM - 	InstalledByMSI     : False
2/19/2024 8:16:54 PM - 	SupportedFrameworkVersionRange : [4.7,)
2/19/2024 8:16:54 PM - 	SignatureState     : Unsigned
2/19/2024 8:16:54 PM - 	Supported Products : 
2/19/2024 8:16:54 PM - 		Microsoft.VisualStudio.Community
2/19/2024 8:16:54 PM - 			Version : [17.0,18.0)
2/19/2024 8:16:54 PM - 			ProductArchitecture : amd64
2/19/2024 8:16:54 PM - 	References         : 
2/19/2024 8:16:54 PM - 	Prerequisites      : 
2/19/2024 8:16:54 PM - 		-------------------------------------------------------
2/19/2024 8:16:54 PM - 		Identifier   : Microsoft.Component.MSBuild
2/19/2024 8:16:54 PM - 		Name         : MSBuild
2/19/2024 8:16:54 PM - 		Version      : [16.0,)
2/19/2024 8:16:54 PM - 		-------------------------------------------------------
2/19/2024 8:16:54 PM - 		Identifier   : Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites
2/19/2024 8:16:54 PM - 		Name         : .NET desktop development tools
2/19/2024 8:16:54 PM - 		Version      : [17.0,)
2/19/2024 8:16:54 PM - Signature Details...
2/19/2024 8:16:54 PM - 	Extension is not signed.
2/19/2024 8:16:54 PM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
   at VSIXInstaller.ExtensionService.GetInstallableDataImpl(String vsixPath, 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()

scegg avatar Feb 19 '24 12:02 scegg

The main tools might have installed but the MSI installer doesn't do any platform specific checks. The VSIX extension and tools are built using AnyCPU as the target platform so should work. However, I have no hardware on which I can test an arm64 version. I can't guarantee there aren't dependencies that won't work. Help 1 most likely isn't an option as that depends on the HTML Help Workshop to build the output. The other formats should be fine. The standalone GUI might work but may have issues with the editor since it uses NHunSpell for spell checking and that's not arm64 compatible.

If someone else wants to have a go at getting it to build and run, feel free to do so. It may be as simple as adding the installation target to the VSIX manifest. I'm willing to merge any such changes into the project but unfortunately, it's not something I can support or fix if there are issues in the future.

EWSoftware avatar Feb 19 '24 17:02 EWSoftware