I'm looking for the best way to find a version of Adobe that's installed on a user's machine. This will determine the installation path of some files to deploy.
I've tried the following: <Property Id="ACROBAT_VERSION"> <RegistrySearch Id="Acrobat_Version" Root="HKLM" Key="SOFTWARE\Classes\AcroExch.Document\AcrobatVersion" Type="raw"/> </Property> <Property Id="ACROBATPATH"> <RegistrySearch Id="AcrobatPath" Root="HKLM" Key="HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\VERSION\InstallPath" Type="raw"/> </Property> The issue I have here is depending on what version the user has installed, "VERSION" changes. Is there a way to pass a Property Id to part of the key, for example: HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\[ACROBAT_VERSION]\InstallPath The above does not work, but was wondering if there's a way to accomplish this? I also thought of going the route of a custom action, I've written an exe that returns the path to Adobe. I've written an .exe and called from a custom action: If there's a way, what is the syntax to return a value from a custom action? Can a Custom action return a value that I can pass to a Directory or use as a DirectoryRef? <DirectoryRef Id="PROPERTYRETURNEDFROMCUSTOMACTION"> <Component Id="FindAdobeLocation.exe" Guid="GUID HERE"> <File Id="FindAdobeLocation.exe" Source="SourceLocation" KeyPath="yes" Checksum="yes" /> </Component> </DirectoryRef> Thanks for any suggestions. Brad ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users