See this: http://msdn.microsoft.com/en-us/library/ee332502.aspx
Apparently it's a bad idea to run VSIXInstaller from an MSI. On 13 March 2013 15:31, Rob Mensching <r...@robmensching.com> wrote: > That error means the VsixInstaller failed. Doesn't the VsixInstaller create > a log file somewhere? That's your best bet. > > > On Wed, Mar 13, 2013 at 8:25 AM, Thomas <thomas.wu...@hotmail.com> wrote: > >> Hi, >> >> I'm also having some issue with this with VsixPackage. I can build the >> installer fine but when it runs I get an error. >> >> I have installed latest Wix. Does this wxs look ok? >> >> <?xml version="1.0" encoding="UTF-8"?> >> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" >> xmlns:VSExtension="http://schemas.microsoft.com/wix/VSExtension"> >> <Product Id="*" Name="TemplateInstaller" Language="1033" >> Version="1.0.0.0" Manufacturer="ThomasSoft" >> UpgradeCode="52cf0ec5-a9cb-4617-8f69-ef45f389d965"> >> <Package InstallerVersion="200" Compressed="yes" >> InstallScope="perMachine" /> >> >> <MajorUpgrade DowngradeErrorMessage="A newer version of >> [ProductName] is already installed." /> >> <MediaTemplate EmbedCab="yes" /> >> >> <Feature Id="ProductFeature" Title="TemplateInstaller" Level="1"> >> <ComponentGroupRef Id="ProductComponents" /> >> </Feature> >> </Product> >> >> <Fragment> >> <Directory Id="TARGETDIR" Name="SourceDir"> >> <Directory Id="ProgramFilesFolder"> >> <Directory Id="INSTALLFOLDER" Name="TemplateInstaller" /> >> </Directory> >> </Directory> >> </Fragment> >> >> <Fragment> >> <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> >> <Component Id="ProductComponent"> >> <VSExtension:VsixPackage File="MyVSIX_ID" >> PackageId="MyVSIX..2df7ae50-f029-40a6-af69-49aa4a76e3f5" >> Target="professional" TargetVersion="11.0" Vital="yes" Permanent="yes"/> >> <File Id="MyVSIX_ID" Name="MyVSIX.vsix" >> Source="..\MyVSIX\bin\Debug\MyVSIX.vsix"/> >> </Component> >> </ComponentGroup> >> </Fragment> >> </Wix> >> >> I get a generic error saying "There is a problem with this Windows >> Installer >> package. A program run as part of the setup did not finish as expected. >> Contact your support personnel or package vendor" >> >> If I only run the vsix like this: >> "C:\Program Files (x86)\Microsoft Visual Studio >> 11.0\Common7\IDE\VSIXInstaller.exe" /q /skuName:Pro /skuVersion:11.0 /admin >> "C:\Dev\Temp\MyVSIX.vsix" >> >> it works. >> >> I have built my vsix with VS2012 SDK and tried with the option "The VSIX is >> installed by Windows Installer" both enabled and not. >> >> >> please advice :) >> >> Thanks, >> //Thomas >> >> >> >> -- >> View this message in context: >> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Does-anyone-have-a-VSIX-example-tp7580711p7584296.html >> Sent from the wix-users mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_mar >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users