Hi,
Did u ever get the custom action working when using the [WindowsFolder]
property? I use the line below inside the msi wxs file and still no luck...
<CustomAction Id="SetWindowsFolder" Property="WindowsFolder.msm_guid"
Value="[WindowsFolder]"/>
<InstallExecuteSequence>
<Custom Action="SetWindowsFolder" Before="AppSearch" />
</InstallExecuteSequence>
Heeeelp...
Regards
hegsie
Swadhin Sonowal wrote:
>
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
--
View this message in context:
http://n2.nabble.com/WindowsFolder-Property-is-not-resolved-properly-inside-merge-module-tp1336042p1455703.html
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users