Hello Robert

You can't set the value of a property from another property that way.
Not supported in the MSI.

If you wish to do this you need to use a custom action type 51 to do
this.

Regards

Michael 

-----Original Message-----
From: Robert O'Brien [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 20 November 2008 12:23 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] CreateDatabase processing failing because
databasehostname public property assignment using [%ComputerName]
doesn't appear to be working

If I use the following
<Property Id="DATABASESHOSTNAME" Value="[%ComputerName]"> my log output
shows something other than what I'd expect
Property(S): DATABASESHOSTNAME = [%ComputerName] and my CreateDatabase
call that uses the public property DATABASESHOSTNAME fails

If I use the following
<Property Id="DATABASESHOSTNAME" Value="localhost"> my log output shows
what you'd expect
Property(S): DATABASESHOSTNAME = localhost and my CreateDatabase call
that uses the public property DATABASESHOSTNAME succeeds

Question - Shouldn't the public property assignment using the runtime
environment syntax above work?
------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge Build the coolest Linux based applications with Moblin SDK &
win great prizes Grand prize is a trip for two to an Open Source event
anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to