[wix-users] Ability to define a single Wix file and consume in multiple VsixPackage components

Blake Niemyjski bniemyjski at gmail.com
Thu May 25 14:19:02 PDT 2017


I'm getting errors while trying to run this even just for VS2017, I only
depend the core editor. Anyone have any ideas?

Action 16:15:06: vim7D2289F6B4B58066F0FE6C2D1FF7E737.
Error 1721. There is a problem with this Windows Installer package. A
program required for this install to complete could not be run. Contact
your support personnel or package vendor. Action:
vim7D2289F6B4B58066F0FE6C2D1FF7E737, location: , command: /q  /skuName:Pro
/skuVersion:15.0 "C:\Program Files
(x86)\Example\v7.2\VisualStudio\Example.vsix" /admin
MSI (s) (80:A4) [16:15:07:970]: Product: Example 7.2.0.1 -- Error 1721.
There is a problem with this Windows Installer package. A program required
for this install to complete could not be run. Contact your support
personnel or package vendor. Action: vim7D2289F6B4B58066F0FE6C2D1FF7E737,
location: , command: /q  /skuName:Pro /skuVersion:15.0 "C:\Program Files
(x86)\Example\v7.2\VisualStudio\Example.vsix" /admin

looks like it's having a hard time finding the vsixinstaller? I did see
this https://github.com/Microsoft/vsixbootstrapper/wiki/Samples but I'm
getting tons of wix errors and no real sample.. I've never used bundles /
chains and so it's a lot of guess work especially when there are no real
samples that I can find using it..

Thanks
-Blake Niemyjski

On Thu, May 25, 2017 at 9:08 AM, Blake Niemyjski <bniemyjski at gmail.com>
wrote:

> Is there a good way to place a file in a specific folder and then
> reference it from a vsixpackage? I want to share the same vsix file for
> install into VS2015 and VS2017 and I've tried a few different things but
> all failed. The below compiles but won't work...
>
> warning LGHT1076: ICE30: The target file 'mzahm b7y.vsi|Example.vsix' might be installed in '[ProgramFilesFolder]\Example\v1.0\VisualStu dio\' by two different conditionalized components on an LFN system: 'VisualStudio2015Extension' and 'VisualStudio2017Extension'. If the conditions are not mutually exclusive, this will break the component reference counting system.
>
> <DirectoryRef Id="VisualStudioDir" FileSource="$(var.PackageDir)\VisualStudio">
>   <Component Id="VisualStudio2015Extension" Guid="MY_GUID_HERE....">
>     <Condition>Installed OR NETFRAMEWORK45</Condition>
>     <VSExtension:VsixPackage File="ExtensionFile2015" PackageId="MY_ID" Target="professional" TargetVersion="14.0" Vital="yes" Permanent="no" />
>     <File Id="ExtensionFile2015" Name="Example.vsix"></File>
>   </Component>
>
>   <Component Id="VisualStudio2017Extension" Guid="MY_GUID_HERE...">
>     <Condition>Installed OR NETFRAMEWORK45</Condition>
>     <VSExtension:VsixPackage File="ExtensionFile2017" PackageId="MY_ID" Target="professional" TargetVersion="15.0" Vital="yes" Permanent="no" />
>     <File Id="ExtensionFile2017" Name="Example.vsix"></File>
>   </Component>
> </DirectoryRef>
>
> I thought something like this may work (Install vsix package both on
> Visual Studio 2015 and Visual Studio 2017 with WIX) but they have a single
> component and I have a feature selection for installing in different
> versions of vs.
>
> https://stackoverflow.com/questions/44170728/ability-to-
> define-a-single-wix-file-and-consume-in-multiple-vsixpackage-componen#
>
>
> Thanks
> -Blake Niemyjski
>



More information about the wix-users mailing list