Can I suggest an option to say "yeah I know I don't have Acrobat, but install anyway"? Acrobat isn't the only PDF viewer.
Rob Antony Briggs wrote: > Hi all, > > I'm deploying an application that generates and displays PDF files and need > to add a condition of acrobat 8 (reader or full version) on the installer > (and preferably allow them to install it) > > I'm trying to detect the version of Acrobat installed using the version of > the AcroPDF.dll Dll on the users system. > > The following snippet obtains the location of the DLL file: > > <Property Id="ACROBATDLL"> > <RegistrySearch Id='AcrobatDLLRegistry' Type='raw' > Root='HKCR' > Key='CLSID\{CA8A9780-280D-11CF-A24D-444553540000}\InprocServer32' /> > </Property> > > Result: > Property(S): ACROBATDLL = C:\Program Files\Adobe\Acrobat > 7.0\ActiveX\AcroPDF.dll > > Now I need to get the version of the dll, which needs to be version 8.0.0.0. > To this end I'm trying to do a filesearch as follows: > > <Property Id="ACROBATVERSION8"> > <FileSearch Id='AcrobatVersion8File' > Name='[ACROBATDLL]' > MinVersion='8.0.0.0'/> > </Property> > > This isn't returning any results, presumably because I don't have a > directorysearch element. > > Can anybody answer any of the following questions: > 1) Can I make FileSearch work with a full path in the Name property > 2) can I separate the name & path so that I can populate a DirectorySearch > and FileSearch > 3) Is there an easier way to get the FileVersion of the dll into a property? > (custom action?) > 4) Finally, once I've detected that Acrobat is missing, how can I allow the > user to install it (it will be shipped on the product CD). > > Thanks, > > Antony > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users