i have a small application written in swing and packaged into jar. this app is contained in a USB pen/flash drive. What i want is to install or launch this application without any double click when i insert USB drive into another PC(windows).
Is that possible ?
Adrian Burkett wrote:According to this article the answer would appear to be No (but you can get close on some versions of Windows).
That was just the first article I found when I googled 'autorun on usb'.
that was a mice article. But i wonder whether that will work on USB pen drives also.
by the way thanks
Stuart A. Burkett
posted 6 years ago
naveen yadav wrote:But i wonder whether that will work on USB pen drives also.
It wouldn't work on my computer with pen USB drive. Not even with USB harddisk, nor with CD, nor with DVD. Turning off autorun is on my list of things to do after installing Windows on a computer, right there with "get antivirus" and "install Windows updates". I suspect lots of people do the same.
However, there is no fundamental difference between USB pen drive and any other USB storage device. If the autorun is enabled and the USB pen drive is properly furnished for autorun, it should be run when plugged in.