I've done some research all over the net, I guess I am just looking for conformation.
Due to how Microsoft has put security on autorun in vista and above. Autorun from a usb no longer works. Correct? It seems like it will still bring up the options to run .exe but for some odd reason I cannot get it to run a .pdf. This site has suggested that I load up a pdf reader and run that and then call it to run the pdf. But a generic pdf reader would still have to go through the install prior to running it, something I am trying to avoid.
The other idea I came up with was cause of this specialty usb manufactures have stated that they their usb drives can autorun files because they are formated to be local disks.
So after some experimenting and doing this I converted my usb to a local to see if that would work and pasting the autorun.inf in there with the correct code...
[AutoRun]
shellexecute=mypdf.pdf
icon=mypdf.ico
label=mypdf
sadly it does't work
Also after thinking about it creating a local disk would only work with the driver software that I loaded up onto that usb... so say it is a 64bit and the client has a 32bit it wont run. (right?)
Can someone just confirm that there is no way to autorun a pdf from a usb? or even have it as an option to select from when it is plugged in for the first time. I cannot believe I have spent an entire day trying to just get autorun to work.
Thanks for taking the time to read this nub question
Creating an autorun USB drive allows for the customization of content as well as the personalization of the title of your flash drive and its auto play setup options.
Autorun. inf is a text file located in the root directory of the CD-ROM that contains your application. Its primary function is to provide the system with the name and location of the application's startup program that will be run when the disc is inserted.
Try using a PDF viewer which does not require installation, eg:
http://www.snapfiles.com/get/sumatrapdf.html
From this site:
http://www.snapfiles.com/features/ed_usb_software.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With