VDProj to WIX - Error on conversion

Add-in Express™ Support Service
That's what is more important than anything else

VDProj to WIX - Error on conversion
Conversion function reports The Application for project <Path>\Setup1_wix.wixproj is not installed 
Ian Holwill




Posts: 7
Joined: 2013-10-24
Hi,

I have just purchased and freshly installed VDProj to WIX converter and aim to convert my existing VSTO setup project to WIX (and ultimately a converted ADX solution too).

I have installed WIX 3.7.1224.0
Addin Express 7.4.4067
VDProj to WIX converter 1.4.129

This is on VS 2005 and WIN 2003 R2 SP2

I put together a simple test solution with and ADX add-in and a basic setup project with no frills.

However when using the convert to WIX project on the setup context menu i get a dialog reporting that some errors occurred during conversion.

In the error list i get :-

Error 1 VDProj to WiX Converter error: The application for project 'C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\MyAddin1\Setup1\Setup1_wix.wixproj' is not installed.

Make sure the application for the project type (.wixproj) is installed.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Date and Time: 4/12/2013 10:28:27 p.m.
Machine Name: WS2003KR2
IP Address: 192.168.1.125
Current User: WS2003KR2\Administrator

Application Domain: DefaultDomain
Assembly Codebase: file:///C:/WINDOWS/assembly/GAC/EnvDTE/8.0.0.0__b03f5f7f11d50a3a/EnvDTE.dll
Assembly Full Name: EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Assembly Version: 8.0.0.0

Exception Source:
Exception Type: System.Runtime.InteropServices.COMException
Exception Message: The application for project 'C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\MyAddin1\Setup1\Setup1_wix.wixproj' is not installed.

Make sure the application for the project type (.wixproj) is installed.
Exception Target Site: AddFromFile

---- Stack Trace ----
EnvDTE.SolutionClass.AddFromFile(FileName As String, Exclusive As Boolean)
EnvDTE.dll: N 00000 (0x0) JIT
AddinExpress.Installer.VDProjConverterAddin.Exec(commandName As String, executeOption As vsCommandExecOption, varIn As Object&, varOut As Object&, handled As Boolean&)
EnvDTE.dll: N 0756 (0x2F4) IL


VDProj to WiX Converter 0 0 Setup1

Would appreciate any help - I must be doing something basic wrong...

thanks,
Ian
Posted 04 Dec, 2013 03:36:02 Top
Andrei Smolin


Add-in Express team


Posts: 14108
Joined: 2006-05-11
Hello Ian,

I suppose you use VS 2013. If so, you need to install WiX 3.8, see http://wix.codeplex.com/releases/view/115492.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 04 Dec, 2013 03:43:36 Top
Ian Holwill




Posts: 7
Joined: 2013-10-24
Hi Andrei,

I am on VS 2005 and WIN 2003 R2 SP2 OS.

Once converted i will be moving the wix project to VS 2012.

regards,
Ian
Posted 04 Dec, 2013 14:31:39 Top
Andrei Smolin


Add-in Express team


Posts: 14108
Joined: 2006-05-11
Ian,

Do you have WiX listed on the About page of VS 2005?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 05 Dec, 2013 01:02:45 Top
Ian Holwill




Posts: 7
Joined: 2013-10-24
Andrei,

I believe i have the solution.

Having tried Wix 3.8 (Package Load Error) and Wix 3.7 (issues as above) I installed WiX 3.6 and it seems to be OK.

For my combination of VS 2005 and Server 2003 R2 SP2 it looks like WiX 3.6 is the best fit.

Hopefully i won't need any features of the later versions and perhaps Codeplex will fix the problem in 3.8.

regards,
Ian
Posted 05 Dec, 2013 02:31:17 Top
Andrei Smolin


Add-in Express team


Posts: 14108
Joined: 2006-05-11
Thank you for sharing the solution with forum readers!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 05 Dec, 2013 02:45:50 Top