Transitive flag does not work with components which include <file> tags. The
setup keeps reinstalling the files to the previous install locations saved
in the registry during installation. I want identical behavior as at install
time as Phil mentioned.

I need to change/select the application folder of a selected/created website
at Reinstall Mode. I could manipulate the designated registry keys at setup
runtime with Custom Actions but this is not recommended. An alternative
solution would be highly appreciated.

Thx & regards,
Houssam

-----Original Message-----
From: Wilson, Phil [mailto:phil.wil...@invensys.com] 
Sent: Tuesday, April 27, 2010 1:31 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] I need the Repair to behave as Reinstall

I think it's more likely Houssam wants identical behavior as at install
time. I assume the conditions are not set properly during the repair and so
the files aren't being installed. Setting the components to be transitive
wouldn't change that situation.  The general answer to this behavior is to
save the critical properties in the registry at install time and restore
them with a registry search during repairs and maintenance operations. 

Phil Wilson 


-----Original Message-----
From: Ramaswamy, Srinivasan [mailto:srinivasan.ramasw...@mckesson.com] 
Sent: Monday, April 26, 2010 12:16 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] I need the Repair to behave as Reinstall

Well it does. But the condition used is the one at fresh install time.
It is is not re-evaluated - unless you set the transitive flag.


You might want to look at 

msidbComponentAttributesTransitive bit flag in Attributes column of
Component table.

http://msdn.microsoft.com/en-us/library/aa368007(v=VS.85).aspx



-----Original Message-----
From: Houssam Hamdan [mailto:houssam.ham...@netiks.com] 
Sent: Monday, April 26, 2010 2:22 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] I need the Repair to behave as Reinstall

Hello All,

 

The Repair operation does not execute Components that include
conditions.

 

Executed during Repair

<Component Id="NoConditionComponent1">

...

</>

 

Not Executed during Repair

<Component Id="ConditionComponent1">

...

<Condition><![CDATA["..."]]></Condition>

</>

 

Not Executed during Repair

<Component Id="ConditionComponent2">

...

<Condition><![CDATA["..."]]></Condition>

</>

 

I need the Repair to behave as Resinstall (With conditions)

 

Thank you in advance.

Houssam Hamdan

------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

----------------------------------------------------------------------------
--
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or
attached files, is intended solely for the individual or entity to which it
is addressed. This e-mail is confidential and may well also be legally
privileged. If you have received it in error, you are on notice of its
status. Please notify the sender immediately by reply e-mail and then delete
this message from your system. Please do not copy it or use it for any
purposes, or disclose its contents to any other person. This email comes
from a division of the Invensys Group, owned by Invensys plc, which is a
company registered in England and Wales with its registered office at
Portland House, Bressenden Place, London, SW1E 5BF (Registered number
166023). For a list of European legal entities within the Invensys Group,
please go to
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77
. You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail
inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be
subject to the terms of any agreements between Invensys (and/or its
subsidiaries and affiliates) and the recipient (and/or its subsidiaries and
affiliates).



----------------------------------------------------------------------------
--
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to