Bugs item #1616064, was opened at 2006-12-14 14:42
Message generated for change (Comment added) made by heaths
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1616064&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: votive
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Kjell-Åke Andersson (spacelord72)
Assigned to: Bob Arnson (barnson)
Summary: Path to executables is hardcoded

Initial Comment:
When WiX is installed on Win x64 Votive will fail to execute when building a 
project with the error:

Error   48      The specified task executable location "C:\Program 
Files\Windows Installer XML v3\bin\candle.exe" is invalid.   C:\Program Files 
(x86)\MSBuild\Microsoft\WiX\v3.0\Wix.targets   109     6       MSMQStudioWiX


It seems like the path to the executables are hardcoded in Votive. Please 
change the installer to put the path to the binaries into a regkey in HKLM and 
use it instead.

----------------------------------------------------------------------

Comment By: Heath Stewart (heaths)
Date: 2007-04-18 16:13

Message:
Logged In: YES 
user_id=1335104
Originator: NO

Using the registry directly or indirectly (say, through a component dir
search) does not work well with build environments. I would suggest writing
out a .config file or some sort of ini/config file that the installer (or
some dev, admin, etc.) writes out, and that's how the WiX tasks find the
executables to launch.

Of course, another way would be to refactor the code for various tools
like candle, light, etc., so that the EXE source is a thin wrapper around
said functionality and the tasks reuse the refactored classes (say, in
wix.dll).

----------------------------------------------------------------------

Comment By: Justin Rockwood (justinrockwood)
Date: 2007-04-17 22:38

Message:
Logged In: YES 
user_id=1054914
Originator: NO

Bob, in Votive.wxs we're writing out a registry key that stores the value
of the [BinDir]. What is the expected behavior here?

----------------------------------------------------------------------

Comment By: Kjell-Åke Andersson (spacelord72)
Date: 2006-12-15 03:18

Message:
Logged In: YES 
user_id=1652392
Originator: YES

This would also be great for other tools that use WiX as well as it will
be easier to find the executables.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1616064&group_id=105970

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to