How did you fix it? It would be useful to have that information. -------------------------------------- David Bartmess Configuration Management [email protected] Work: 303-216-3918 Cell: 303-883-9117
From: "Rohit Sharma (AIDC)" <[email protected]> To: General discussion for Windows Installer XML toolset. <[email protected]> Date: 07/31/2012 08:40 AM Subject: Re: [WiX-users] Update value of newVersion Never mind, I fixed it! -----Original Message----- From: Rohit Sharma (AIDC) [mailto:[email protected]] Sent: Tuesday, July 31, 2012 5:56 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Update value of newVersion Gentle reminder! -----Original Message----- From: Rohit Sharma (AIDC) [mailto:[email protected]] Sent: Monday, July 30, 2012 9:32 PM To: [email protected] Subject: [WiX-users] Update value of newVersion Hello I have a web.config which the following entries in the runtime tag: <configuration> ..... <runtime> <assemblyBinding> <dependentAssembly> <assemblyIdentity name="Assemblyname1" publicKeyToken="somevalue"/> <bindingRedirect oldVersion="6.6.0.0-6.8.0.9999" newVersion="6.9.0.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Assemblyname2" publicKeyToken="somevalue"/> <bindingRedirect oldVersion="6.6.0.0-6.8.0.9999" newVersion="6.9.0.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Assemblyname3" publicKeyToken="somevalue"/> <bindingRedirect oldVersion="6.6.0.0-6.8.0.9999" newVersion="6.9.0.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Assemblyname4" publicKeyToken="somevalue"/> <bindingRedirect oldVersion="6.6.0.0-6.8.0.9999" newVersion="6.9.0.0"/> </dependentAssembly> <assemblyBinding> <runtime> <configuration> I need to update the value of newversion, How do I use xmlconfig or xmlfile to update the newversion for all 4 of them? Tried: <util:XmlFile Id="test" File="[INSTALLLOCATION]myservice\web.config" Action="setValue" ElementPath="configuration/runtime/assemblyBinding/dependentAssembly[\[]assemblyIdentity[\[]@name='Assemblyname4'[\]][\]]" Name="newVersion" Value="SOMETHING" PreserveModifiedDate="yes" Sequence="2"/> But that changes the <dependentAssembly> to <dependentAssembly newVersion="SOMETHING"> instead. Rohit ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users ----------------------------------------- The information contained in this communication (including any attachments hereto) is confidential and is intended solely for the personal and confidential use of the individual or entity to whom it is addressed. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this communication in error and that any review, dissemination, copying, or unauthorized use of this information, or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. Thank you ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

