You'll need to set both WixTasksPath and WixTargetsPath. They need to point to 
the WixTasks.dll and Wix.targets file respectively.
Try:
/p:WixTasksPath=C:\wix3.0\bin\WixTasks.dll 
/p:WixTargetsPath=C:\wix3.0\bin\Wix.targets

Normally these files don't get installed to the WiX installation directory, but 
rather to the ProgramFiles\MSBuild\Microsoft\WiX\v3.0 directory so the paths in 
my example might not work for you.

-----Original Message-----
From: INRO(Robert Inzinger) [mailto:robert.inzin...@skidata.com] 
Sent: Thursday, February 04, 2010 12:13 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Msbuild/Votive Change WIX Path

Hi

Sorry I need more help, please
I have an old and working installation with Wix 3.0. this works fine For new 
installation projects now I use wix 3.5. If I try to build the old installation 
project with msbuild the version 3.5 is used.
I copied the old wix version in a seperate directory and change the path set 
the wix environment varaible to this directory but msbuild uses the new wix 
version.
I tried:

msbuild TestProject.sln /p:wix=C:\wix3.0\bin /p:Configuration=Release /t:rebuild

Does not work.

msbuild TestProject.sln /p:WixTasksPath=C:\wix3.0\bin /p:Configuration=Release 
/t:rebuild

Does not work.

Any ideas?

regards
Robert

-----Ursprüngliche Nachricht-----
Von: Blair [mailto:os...@live.com]
Gesendet: Mittwoch, 20. Jänner 2010 19:20
An: 'General discussion for Windows Installer XML toolset.'
Betreff: Re: [WiX-users] Msbuild/Votive Change WIX Path

Sorry, I was incorrect.

Wix.targets uses the $(WixTasksPath) property, which defaults to a path that 
looks like 

"$(MSBuildExtensionsPath)\Microsoft\WiX\v3.5\WixTasks.dll"

-----Original Message-----
From: Blair [mailto:os...@live.com]
Sent: Wednesday, January 20, 2010 10:16 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: RE: [WiX-users] Msbuild/Votive Change WIX Path

Votive (and the related WiX support for MSBuild) use the $(WIX) property (which 
is normally set from the %WIX% environment variable).

-----Original Message-----
From: INRO(Robert Inzinger) [mailto:robert.inzin...@skidata.com]
Sent: Wednesday, January 20, 2010 5:06 AM
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] Msbuild/Votive Change WIX Path

Hi

How can I change the path of the WIX-Tools for Msbuild/Votive?
I have old installer projects (build with Wix 3.0) an I want to build them, but 
if I try to build them msbuild use the new wix version.

regards

Robert


----------------------------------------------------------------------------
--
Throughout its 18-year history, RSA Conference consistently attracts the 
world's best and brightest in the field, creating opportunities for Conference 
attendees to learn about information security's most important issues through 
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the 
world's best and brightest in the field, creating opportunities for Conference 
attendees to learn about information security's most important issues through 
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation Stay 
online with enterprise data centers and the best network in the business Choose 
flexible plans and management services without long-term contracts Personal 
24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to