MSI SDK says properties should be modularized.  That's the correct way to use 
them.  When merged there should have been a custom action added to your install 
to set them correctly.  It's a silly design but that is the design.

-----Original Message-----
From: Swadhin Sonowal [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 01:12
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WindowsFolder Property is not resolved properly inside 
merge module

Hi

WindowsFolder Property is resolved to empty string inside merge module.

The wix code snippet where it is looking for the standard WindowsFolder 
property is

  <util:XmlConfig Id="FirstRemove" Action="delete" On="install" Sequence="1"
    
File="[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config"


When I try to install the msi which is built using the above msm. I get an 
error saying
Unable to find the file Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config

When I open the msm file using orca, the xmlconfig section shows that the 
WindowsFolder property is being replaced with
[WindowsFolder.MSM_GUID] the MSM guid sections are separated using '_'.

As per my understanding the standard properties like WindowsFolder should not 
be modularized. Please let me know if I am missing any flag indicating wix 
compiler for  not to modularize some standard Property.

Observation:
This behavior is not observed in the wix version 3.0.2921.0 which i used to 
generate MSI's.
In this version the WindowsFolder Property is not modularized and we were able 
to use it inside the msm
When we upgraded the wix toolset with the build 3.0.4323.0 this behavior is 
observed. I tried with 3.0.4429.0 and is behaving in the same way.

If this is a expected behavior then please let me know a way to use Standard 
Properties like WindowsFolder inside an merge module.


Regards
swadhin

_________________________________________________________________
Want to explore the world? Visit MSN Travel for the best deals.
http://in.msn.com/coxandkings
-------------------------------------------------------------------------
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