Uhh, why would you want to do that?  I suggest reading about the Component 
Rules to see why you can't have the same resource in different Components.  A 
Property *might* be able to get you close to what you want but this sounds like 
a very difficult design that probably should be solved a different way.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of k shridhar
Sent: Friday, December 08, 2006 07:51
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Need help to fix Wix installation/maintenance registry 
issue


Hi

I need help to fix below stated problem regarding WiX.

Problem Description:
----------------------
I need to install two features lets name it F1 (in install mode) and F2 (in 
maintenance mode). Also here F1 is parent of F2.
On installation of F1 a registry key R1 is created with value "ABC"
On installation of F2 in maintenance mode the same registry key R1 is 
overwritten/updated with value "XYZ" which is as required.

Now when F2 is uninstalled/removed I need to update registry key R1 with 
previous value that is "ABC".

Here the registry key R1 is removed instead of getting updated with value "ABC".

Current Implementation:
-----------------------
I have a component containing this registry key definition and the same is 
referred in both F1 and F2 features.

What should be my approach to achieve the requirement? Any help in this would 
be helpful.

Thanks,
Shridhar

[http://adworks.rediff.com/cgi-bin/AdWorks/sigimpress.cgi/www.rediff.com/signature-home.htm/[EMAIL
 
PROTECTED]&PARTNER=3]<http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/[EMAIL
 PROTECTED]>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to