Thanks Blair for all the help. Now, it takes in the files with that flag and 
I successfully built the wixlib. But, I am facing the same old problem with 
wixlibs too (as like merge modules), i.e. the property value of the main 
module when changed within the wixlib, that change is reflected only within 
the wixlib but, not in the main module. Seems it is not allowed by MSI 
design.

I have found a very hacky method to go around this problem :-). For now, it 
seems I have no alternate ways.



Thanks.




----- Original Message ----- 
From: "Blair" <os...@live.com>
To: "'Sudripta Nandy'" <sudrip...@sarangsoft.co.in>; "'General discussion 
for Windows Installer XML toolset.'" <wix-users@lists.sourceforge.net>
Sent: Friday, August 06, 2010 9:08 PM
Subject: RE: [WiX-users] Changing a main module property value within a 
merge module custom action


> The wixlib will "point" to the files that it refers to. If you need to
> store/move that wixlib from one machine context to another, you will want 
> to
> "bind" the files into the wixlib.
>
> On the lit tool's commandline, look at the -bf flag. In msbuild, check out
> the BindFiles (and LibBindFiles) properties. In nant, set the bindfiles
> property.
>
> -----Original Message-----
> From: Sudripta Nandy [mailto:sudrip...@sarangsoft.co.in]
> Sent: Friday, August 06, 2010 2:36 AM
> To: Blair; 'General discussion for Windows Installer XML toolset.'
> Subject: Re: [WiX-users] Changing a main module property value within a
> merge module custom action
>
> I am not used to wixlibs. I tried creating one which will have a custom
> action file and few files which needs to be installed. What I am seeing is
> that the wixlib which is getting generated is of very little size (around 
> 8
> KB), inspite of the fact that I have files (to install) worth few MBs.
> Clearly, the wixlib is not getting these files within it. I must be doing
> something wrong... but, not sure what?
>
>
> Thanks.
>
>
>
> ----- Original Message ----- 
> From: "Blair" <os...@live.com>
> To: "'Sudripta Nandy'" <sudrip...@sarangsoft.co.in>; "'General discussion
> for Windows Installer XML toolset.'" <wix-users@lists.sourceforge.net>
> Sent: Friday, August 06, 2010 1:00 AM
> Subject: RE: [WiX-users] Changing a main module property value within a
> merge module custom action
>
>
>>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