[WiX-users] Upgrading from Wix 3.5 to 3.8 and Visual Studio 2013

2014-07-28 Thread Chetan Dabade
Hi all,

I am working on task which includes upgrading Visual Studio 2010 to 2013 as
well as upgrading WiX 3.5 to WiX 3.8. I have the basic knowledge of WiX and
i am not the expertise as such.

Conversion of .NET projects were successful, however in case of WiX
projects conversion from 3.5 to 3.8 i  have outlined the following steps:

1. Locally install WiX 3.8
2. Get latest source code from Source Control.
3. Open the solution file in Visual Studio 2013.
4. Right click on .Wixproj file and click upgrade.

Now all the projects are upgraded to latest version of .Net 4.5/4.5.1. When
i tried to build the solution i am getting the following error for all wix
projects (below mentioned is a sample error list for reference)

   Error 104 The specified task executable location C:\Program Files
(x86)\Windows Installer XML v3.5\bin\candle.exe is invalid. C:\Program
Files (x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets 2066  Error 105 The
specified task executable location C:\Program Files (x86)\Windows
Installer XML v3.5\bin\candle.exe is invalid. C:\Program Files
(x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets 2066  Error 106 The
specified task executable location C:\Program Files (x86)\Windows
Installer XML v3.5\bin\candle.exe is invalid. C:\Program Files
(x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets 2066  Error 107 The
specified task executable location C:\Program Files (x86)\Windows
Installer XML v3.5\bin\candle.exe is invalid. C:\Program Files
(x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets 2066  Error 108 The
specified task executable location C:\Program Files (x86)\Windows
Installer XML v3.5\bin\candle.exe is invalid. C:\Program Files
(x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets 2066




Can anyone guide me on this on how to fix the build issues.

Please do the needful.


-- 
Thanks and Regards
Chetan V Dabade
+91 9663967000
--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrading from Wix 3.5 to 3.8 and Visual Studio 2013

2014-07-28 Thread Chetan Dabade
Hi all,

I found the issue and fixed it. The issue was under each .wixproj file the
value of $(WixToolPath) was referring to older version of Wix (.i.e 3.5)

WixToolPath$(ProgramFiles)\Windows Installer Xml
v3.5\bin\/WixToolPath

I re-visited each individual projects unloaded it, edit the .wixproj file
and change the value to






WixToolPath$(ProgramFiles)\WiX Toolset v3.8\bin\/WixToolPath

By doing this all project are able to build, but at the end i am getting
the following strange issues





*Error 427 The Windows Installer XML variable 'WixUICostingPopupOptOut' is
declared in more than one location.  Please remove one of the declarations.
C:\src\wix38\src\ext\UIExtension\wixlib\Common.wxs 18 1 XInstall**Error*
*430* *The Windows Installer XML variable 'WixUICostingPopupOptOut' is
declared in more than one location.  Please remove one of the declarations.*
*C:\src\wix38\src\ext\UIExtension\wixlib\Common.wxs* *18* *1* *Installer*

i scanned my whole machine but couldn't find file *Common.wxs* and in
addition under Installer.wxs file there is a variable declared as:


*WixVariable Id=WixUICostingPopupOptOut Value=1 Overridable=yes /*
 while googling i found the above mentioned error

http://www.joyofsetup.com/2010/05/20/its-time-to-experiment/

and Bob has addressed on how to avoid the issue :

http://www.joyofsetup.com/2010/05/28/experimental-results-part-i/

http://www.joyofsetup.com/2010/10/09/experimental-results-part-ii/

The above mentioned bug has been addressed in Wix version 3.5/3.6, i have
installed Wix 3.8 (3.8.1128.0)

How do i address these issues ?? Please help

Thanks,
Chetan






On Mon, Jul 28, 2014 at 2:24 PM, Chetan Dabade chetandab...@gmail.com
wrote:

 Hi all,

 I am working on task which includes upgrading Visual Studio 2010 to 2013
 as well as upgrading WiX 3.5 to WiX 3.8. I have the basic knowledge of WiX
 and i am not the expertise as such.

 Conversion of .NET projects were successful, however in case of WiX
 projects conversion from 3.5 to 3.8 i  have outlined the following steps:

 1. Locally install WiX 3.8
 2. Get latest source code from Source Control.
 3. Open the solution file in Visual Studio 2013.
 4. Right click on .Wixproj file and click upgrade.

 Now all the projects are upgraded to latest version of .Net 4.5/4.5.1.
 When i tried to build the solution i am getting the following error for all
 wix projects (below mentioned is a sample error list for reference)

Error 104 The specified task executable location C:\Program Files
 (x86)\Windows Installer XML v3.5\bin\candle.exe is invalid. C:\Program
 Files (x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets 2066  Error 105 The
 specified task executable location C:\Program Files (x86)\Windows
 Installer XML v3.5\bin\candle.exe is invalid. C:\Program Files
 (x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets 2066  Error 106 The
 specified task executable location C:\Program Files (x86)\Windows
 Installer XML v3.5\bin\candle.exe is invalid. C:\Program Files
 (x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets 2066  Error 107 The
 specified task executable location C:\Program Files (x86)\Windows
 Installer XML v3.5\bin\candle.exe is invalid. C:\Program Files
 (x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets 2066  Error 108 The
 specified task executable location C:\Program Files (x86)\Windows
 Installer XML v3.5\bin\candle.exe is invalid. C:\Program Files
 (x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets 2066




 Can anyone guide me on this on how to fix the build issues.

 Please do the needful.


 --
 Thanks and Regards
 Chetan V Dabade
 +91 9663967000




-- 
Thanks and Regards
Chetan V Dabade
+91 9663967000
--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrading from Wix 3.5 to 3.8 and Visual Studio 2013

2014-07-28 Thread Bob Arnson
On 28-Jul-14 08:51, Chetan Dabade wrote:
 i scanned my whole machine but couldn't find file *Common.wxs* and in
 addition under Installer.wxs file there is a variable declared as:


 *WixVariable Id=WixUICostingPopupOptOut Value=1 Overridable=yes /*
   while googling i found the above mentioned error

 http://www.joyofsetup.com/2010/05/20/its-time-to-experiment/

 and Bob has addressed on how to avoid the issue :

 http://www.joyofsetup.com/2010/05/28/experimental-results-part-i/

 http://www.joyofsetup.com/2010/10/09/experimental-results-part-ii/

 The above mentioned bug has been addressed in Wix version 3.5/3.6, i have
 installed Wix 3.8 (3.8.1128.0)
As I said at 
http://www.joyofsetup.com/2010/10/09/experimental-results-part-ii/:

If you've built a customized dialog set, remove the 
WixUICostingPopupOptOut WiX variable definition from your dialog set 
fragment or you're likely to get an error message at link time:

The Windows Installer XML variable 'WixUICostingPopupOptOut' is
declared in more than one location.  Please remove one of the
declarations.

-- 
sig://boB
http://joyofsetup.com/

--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users