[WiX-users] how to check condition in custom action

2008-11-16 Thread Chandra Vuppala
Hi Bob, I want to run a custom action based on the feature selection, i have feature 1m, feature2, feature3 and appropriate custom actions ca1,ca2,ca3... Now if feature1 is selected for installation i want to custom action ca1,if it is not selected i dont want to run ca1. My sample Fe

Re: [WiX-users] Determining the version of msi installed

2008-11-16 Thread Alexander Shevchuk
It all depends on where you are getting MSI version and/or where you are using it. Good starting point for this is: http://msdn.microsoft.com/en-us/library/aa368280(VS.85).aspx Alex -Original Message- From: Sean Farrow [mailto:[EMAIL PROTECTED] Sent: Sunday, November 16, 2008 3:13 AM

Re: [WiX-users] XmlFile does not support default namespaces?

2008-11-16 Thread Scott Sharpe
Sorry about the clarity. If my xml file does not have a default namespace. Then XPath queries work just fine through the XmlFile element. If my xml file has a default namespace. Then XPath queries do not work. If this was straight-up XSLT then I would add the default namespace to the preproc

[WiX-users] Determining the version of msi installed

2008-11-16 Thread Sean Farrow
Hi: What is the best way of determining what version of msi is installed, currently I am programmatically looking at the version of msi.dll. Is this the best way? if not is there another way such as a registry value. Any help apreciated. Sean. --

Re: [WiX-users] How to implement repair option without UI

2008-11-16 Thread Raj P
Hi Zett, Thanks for the help, Can you please help me how to implement repair for the mentioned scenario (without UI). Currently by using "msiexec /fe sample.msi", I am reinstalling the above mentioned (code) msi. This case is not working for 1. Xp if 3 or more files are missing or corrupted 2.