Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to convert vdproj file to WiX format?

I need to convert a vdproj file to WiX format so that I can get it building using msbuild. One solution was to call the devenv executable from msbuild and build the vdproj file from there but that's just nasty. I thought that I would try manually converting the file to WiX format but looking at its contents scared me quite a bit. Are there any tools or elegant solutions that could possibly help with this conversion?

like image 744
Draco Avatar asked Jul 27 '09 13:07

Draco


People also ask

How to convert VDProj to WiX?

Convert your VDProj to a WiX setup in one click Right after installation, the VDProj to WiX Converter lets you switch from VDProj to WiX (Windows Installer XML). Just open your solution with a Visual Studio setup project, right click it and choose "Convert to WiX project".

Is VDProj deprecated?

vdproj is a MSI creation project for Visual Studio. Its been deprecated and most people have moved on to either WIX or NSIS or a professional grade installer creation tools such as Install Shield.

How do I open VDProj in Visual Studio 2012?

You can't open this project in Visual Studio 2012 because it doesn't support that project type. We recommend that you use InstallShield Limited Edition for Visual Studio (ISLE), a free deployment solution that directly supports most Windows platforms and application runtimes.


2 Answers

You can try work with Dark which converts any MSI into Wix. You will need to remove a lot of "junk" especially in the UI areas but it will give you a decent start.

like image 76
Shay Erlichmen Avatar answered Sep 25 '22 08:09

Shay Erlichmen


There is a utility by Chris Oldwood that converts a .vdproj to .wxs (using powerscript command line) I hope that helps, this is my current research and I will report back on any issues. Once converted do not forget WixEdit. Microsoft have removed .vdproj from VS2012.

like image 22
craig salon software Avatar answered Sep 23 '22 08:09

craig salon software