I don't know if this will work, but did you suppress modularization on the
MYPROP variable in your merge module?

BTW, if I can make a plug: if you can get away with using WixLibs instead of
MSMs they are much easier to work with, much more flexible, easier to
understand, and tend to be less buggy.

-----Original Message-----
From: Sudripta Nandy [mailto:sudrip...@sarangsoft.co.in] 
Sent: Thursday, August 05, 2010 5:12 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Changing a main module property value within a merge
module custom action

Hi,
    In my setup project, I am having a main module and a merge module. I 
have a property called 'MYPROP' declared in the main module. I need to do 
some operations in the merge module's custom action and depending on the 
operation result, I need to set the value of 'MYPROP' to '0' or '1'. I am 
able to get the property's value correctly within the merge module's custom 
action using MsiGetProperty. But, when I try to change that value 'MYPROP' 
within that custom action using a call to 'MsiSetProperty' it doesn't get 
reflected within the main module. The main module still has the old 'MYPROP'

value.

    Is there any way in which I can change a main module's property value 
from within a merge module's custom action?



Thanks.
Sudripta. 


----------------------------------------------------------------------------
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to