Archive: Adobe Acrobat


Adobe Acrobat
Hi,

I'm trying to run the latest version of Adobe Acrobat Installer inside an NSIS installer. Previously I had used the Adobe Acrobat 6 Installer and this worked fine. I used the
ExecWait command as shown below

Execwait 'AdbeRdr6_enu_full.exe"

I am now trying to use the Acrobat 7 Installer but as soon as I get to this line the program (the Acrobat Installer, I think) throws an error saying it can not find the Installer file.

I think this is a problem with the Acrobat Installer, some sort of incompatiblity with running from NSIS. Has anyone encountered anything similiar to this and is there a possible fix?

Thanks,
William


Hi,

I switched from Adobe Reader 6 to Adobe Reader 7 a little while ago and i never had a problem apart from the fact that Reader 7 is not compatible with Microsoft Windows 98 anymore.

What is the exact error message ?


Message
I've attached a picture of the error message. From the title I'm guessing it is coming from the packager of Adobe Acrobat.

I don't know how the attachments work on the forum so I will write out the error message as well.

"The system cannot find the file specified.
File : AdbeRdr70_enu_full.exe
Errorcode : 2.796.03.2.2312"


Check file exists and path is correct. File might be corrupted. Good idea is to use NSIS MessageBox with path\name before ExecWiat line if you use something like
ExecWait "$EXEDIR\AdbeRdr70_enu_full.exe"


Ok here are the points I know..

File exists because if I change the name slightly then the NSIS installer skips over the line and continues to the next part of the installer. The path is in the same directory that the script runs from therefore eliminating the path error.

I know the file is not corrupt because I can run it by double clicking on it in Windows and by running it through the command line both result in a successful installation of Acrobat.

Any ideas?


you could try filemon from sysinternals to check what file it cant find


Try SetOutPath to folder where AdbeRdr70_enu_full.exe located. For example (do not forget to change path)


SetOutPath "$EXEDIR"
ExecWait "AdbeRdr70_enu_full.exe"

Thanks Takhir, that sorted the problem