[wix-users] VSIX Install Falling
Coryat, Jim
Jim.Coryat at softprocorp.com
Wed Feb 16 14:50:46 PST 2022
I Have an install that installs an SDK for internal consumption. One of the components is a .vsix file for VS2019 and/or VS2022
In the component file for the vsix the VsixPackage element looks like this:
<vs:VsixPackage PackageId="MyVisxPackage.a5326796-1266-4b41-8a6c-0db3d89547f6" />
This fails because it chooses the VS2014 VSIXInstaller.exe which does not know about any later versions. That's what I deduced when I executed the command line at a command prompt and looked in the log file and reviewed the error.
Looking through the source code I see that the property VS_VSIX_INSTALLER_PATH contains the location of the VSIXInstaller.exe so I added a SetProperty similar to what is in the VsixPackage.wks and set it to the VSIXInstaller.exe that is installed with VS2019/VS2022, using the location identified in AppSearch using a file search.
This is the error displayed:
MSI (s) (D0:40) [17:43:37:769]: Executing op: ActionStart(Name=vim925A50D7601FA96A310238BC0296ED40,,)
Action 17:43:37: vim925A50D7601FA96A310238BC0296ED40.
MSI (s) (D0:40) [17:43:37:774]: Executing op: CustomActionSchedule(Action=vim925A50D7601FA96A310238BC0296ED40,ActionType=3122,Source=C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,Target=/q "C:\Program Files (x86)\SoftPro\Exchange\v3.1\vsix\x86\SoftPro.Exchange.Product.VisualStudio.Package.vsix" /admin,)
CustomAction vim925A50D7601FA96A310238BC0296ED40 returned actual error code -2146233088 (note this may not be 100% accurate if translation happened inside sandbox)
The visx installs running it interactively. What am I missing?
________________________________
NOTICE: The information contained in this message is proprietary and/or confidential and may be privileged. If you are not the intended recipient of this communication, you are hereby notified to: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately.
More information about the wix-users
mailing list