Is XXX in this case referring to another property?  The reason it deletes is 
because it has no value.

-----Original Message-----
From: Swaroop Kare [mailto:swaroop.k...@ifdspercana.com] 
Sent: Friday, October 25, 2013 9:41 AM
To: General discussion about the WiX toolset.
Subject: [WiX-users] SetProperty Behaviour

Hi,

 

   I am using wix element SetProperty to preserve a value of the property 
during repair/ patch installation as shown in the below snippet

 

<SetProperty Id="USER_SERVICE_ACCOUNT" Value="XXXX" After="CostFinalize"
Sequence="execute">

                     <![CDATA[PATCH]]>

</SetProperty>

 

My property declaration is as follows

<Property Id="USER_SERVICE_ACCOUNT" Secure="yes">YYYY</Property>

       

In the verbose log

 

Action ended 12:40:35: CostFinalize. Return value 1.

MSI (s) (40:28) [12:40:35:951]: Doing action: SetUSER_SERVICE_ACCOUNT

Action 12:40:35: SetUSER_SERVICE_ACCOUNT. 

Action start 12:40:35: SetUSER_SERVICE_ACCOUNT.

MSI (s) (40:28) [12:40:35:967]: PROPERTY CHANGE: Deleting USER_SERVICE_ACCOUNT 
property. Its current value is 'YYYY'.

Action ended 12:40:35: SetUSER_SERVICE_ACCOUNT. Return value 1.

              

 

The result I was expecting was something like this

PROPERTY CHANGE: Modifying USER_SERVICE_ACCOUNT property. Its current value is 
'YYYY'. Its new value: 'XXXX'.

 

I see a link with the similar issue
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Patching-e
rror-td7586521.html and I have taken care of points that have explained here. 
Is there anything I am still missing?

 

 

Thanks

 


This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to which it is addressed and may 
contain information which is privileged, confidential or prohibited from 
disclosure or unauthorised use. You are hereby notified that any use, any form 
of reproduction, dissemination, copying, disclosure, modification, distribution 
and/or publication of this e-mail message or its attachments other than by it's 
intended recipient is strictly prohibited by the sender. If you have received 
this email in error, please notify the system manager by email at 
ad...@ifdspercana.com Please note that any views or opinions presented in this 
email are solely those of the author and do not necessarily represent those of 
the company. Finally, this email has been scanned for the presence of viruses. 
The recipient should also check this email and any attachments for the presence 
of viruses. The company accepts no liability for any damage caused by 
 any virus transmitted by this email 
______________________________________________________________________________________

IFDS Percana Group Limited, no. 307152, is registered in Ireland at 16 Joyce 
Way, Park West Business Park, Dublin 12, Ireland.
Directors: Eugene Larmon, Patrick Concannon, William Slattery, Paul O'Neil 
(UK), Simon Hudson-Lund (UK) and Stephen Parkinson (UK) IFDS Percana 
International Managed Services Limited, no. 368022, is regulated by the Central 
Bank of Ireland. Registered in Ireland at 16 Joyce Way, Park West Business 
Park, Dublin 12, Ireland.
IFDS Percana International Managed Services Limited is a wholly owned 
subsidiary of IFDS Percana Group Limited and provides support services to the 
life and pensions industry.
Directors: Eugene Larmon, Patrick Concannon, Stephen Parkinson (UK) and Paul 
O'Neil (UK).
www.ifdspercana.com

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com 
______________________________________________________________________
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register > 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to