Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 12 of 12
  1. #1
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    9

    Grin About the Adobe Version Script

    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


  2. #2
    Join Date
    Jun 2002
    Location
    Southeast USA
    Posts
    1,804

    Re: About the Adobe Version Script

    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?
    Eric Darling
    eThree Media
    http://www.ethreemedia.com

  3. #3
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244

    Re: About the Adobe Version Script

    You could always run Reader from the CD. This may eliminate any error.
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

  4. #4
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    9

    Re: About the Adobe Version Script

    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

  5. #5
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    9

    Re: About the Adobe Version Script

    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

  6. #6
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    9

    Re: About the Adobe Version Script

    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


  7. #7
    Join Date
    Jun 2002
    Location
    Southeast USA
    Posts
    1,804

    Re: About the Adobe Version Script

    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.
    Eric Darling
    eThree Media
    http://www.ethreemedia.com

  8. #8
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244

    Re: About the Adobe Version Script

    Theres a Knowledge base article here you can read about running it from CD [img]/ubbthreads/images/icons/smile.gif[/img]
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

  9. #9
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    9

    Re: About the Adobe Version Script

    Thank you Derek! I'll make sure to read that [img]/ubbthreads/images/icons/smile.gif[/img]

  10. #10
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    9

    Re: About the Adobe Version Script

    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 [img]/ubbthreads/images/icons/smile.gif[/img]

    Camby


  11. #11
    Join Date
    Jun 2002
    Location
    Southeast USA
    Posts
    1,804

    Re: About the Adobe Version Script

    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.
    Eric Darling
    eThree Media
    http://www.ethreemedia.com

  12. #12
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    9

    Re: About the Adobe Version Script

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts