> I was told that using the autorun was unreliable and spawned strange > "DOS type-looking" windows. When dispersing our PDF's on a CD we have > found the > 'average Joe' has problems knowing which icon to click on to open the > PDF.
It's unreliable in that the user might have turned it off; in that case there's nothing you can do. It's also unreliable if you make ANY assumptions about what the user has on their computer, rather than making them self-contained. It only spawns strange windows if you do things that way. There are some rather unsavoury tricks involving running Acrobat through DOS, for the sake of avoiding a few lines of programming. > > So our solution was to put an exe file on the CD that would > force reader > to open and display the PDF. That is the best way to work with autorun.inf. Writing such an executable is pretty trivial, but be sure that if it has dependent DLLs that you include them on the CD. > > Do you know of any other options besides the autorun? That's the only way to get something run when a CD is inserted (into Windows). Aandi
<<attachment: winmail.dat>>
