View Full Version : About the Adobe Version Script
Camby
04-08-2003, 11:37 AM
Hi,
I used the Adobe version script I found on this forum for a CD I'm making. I put it in the On Initialize event handler so that if a user does not have Adobe it will detect that and ask the user if they want to install Adobe Reader. If I click OK the install seems to work but when I try to open the PDF file to view it, I get an error that says there is no application associated with it.
The way I have it set up is once the application is loaded from the CD there are a few text objects that a user can click on and from there the pdf file opens up. It works fine on a computer that already has Adobe Reader. Does anybody have any idea why I might be getting this error? BTW I'm testing this on a win2K computer...
Camby
eric_darling
04-08-2003, 12:38 PM
Do you have the full Acrobat Reader installer included in the distribution folder for the project? I think you'd get an error with my script if it wasn't there, but it's worth asking. Is it my script that you're using?
Derek
04-08-2003, 01:16 PM
You could always run Reader from the CD. This may eliminate any error.
Camby
04-08-2003, 01:31 PM
Thanks for the reply. Yes it is your script that I'm using.
Well I copied everything that was in the Reader folder of the Adobe Application that works on my computer and put that in the Distribution folder.
If the 'wait for program to finish running before continuing' box is checked when doing the File Execute the program seems to "hang" at the "Please Wait While Acrobat Reader is..." screen and an Acrobat Reader window appears but not my application.
If the "Wait for progam..." box is unchecked I get the error I described in my previous post.
Is there a specific list of files, aside from the obvious AcroRD32.exe file, that I need for a successful install? Could you possibly name them so I can check if I have them on my CD?
I hope I'm making sense...
Camby
Camby
04-08-2003, 01:37 PM
Thanks Derek for the suggestion but I have no idea how do do that. Is there any documentation on how to run Reader from a CD that you know of...that I could check out.
Camby
Camby
04-08-2003, 02:29 PM
Never mind about the list of files...I searched some previous posts and found out which ones I need to install Reader. I checked and I have all of them on my CD so that's not the problem...
Camby
eric_darling
04-08-2003, 03:28 PM
Actually, Camby, using my script, you would need to actually have the installer file in your distribution folder. You can get that from Adobe in whatever language(s) you need here:
http://www.adobe.com/products/acrobat/alternate.html
If you look at the code, you'll probably see why. My code is specifically written for the English version. Modify as needed.
Derek
04-08-2003, 03:37 PM
Theres a Knowledge base article here (http://www.indigorose.com/ubbthreads/showflat.php?Cat=&Board=KBAMS40&Number=13569&page= 0&view=collapsed&sb=5&o=0&fpart=) you can read about running it from CD /ubbthreads/images/icons/smile.gif
Camby
04-08-2003, 03:56 PM
Thank you Derek! I'll make sure to read that /ubbthreads/images/icons/smile.gif
Camby
04-08-2003, 04:08 PM
Thanks!! I downloaded the file you suggested and it works fine now. However, I have one more question. When the CD loads I get this error message:
"Failed to load language file:
F:\DATA\amslng.9
If I hit ok the application continues to load and works fine but I'd like to get rid of that message. Do you know where I can get that file? or what it's for?
Sorry to keep bugging you /ubbthreads/images/icons/smile.gif
Camby
eric_darling
04-09-2003, 10:00 AM
Did you enter a second language requirement for the project under Project Settings?
Go to Project -> Settings -> Languages, delete amslng.9 from the list.
If it's not in the list, I'm at a loss. Perhaps someone at IR more knowledgeable about that kind of thing can help.
Camby
04-09-2003, 10:27 AM
Actually I had nothing selected as my language. I didn't even know I could do that. So I did as you suggested but instead of deleting that file I added it to my project as the default language and it worked. I no longer get that message.
Thank you. You have been a great help!
Camby
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.