File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes General Computing and the fly likes Problem with auto launch app through USB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Problem with auto launch app through USB" Watch "Problem with auto launch app through USB" New topic
Author

Problem with auto launch app through USB

Sabarish Venkat
Ranch Hand

Joined: Jan 18, 2012
Posts: 136

Dear All,

Am having an application in USB which should be auto launch when i have inserted the USB device in any system. I have worked with autorun.inf but this auto run is blocked by the antivirus software so can any suggest me how to make it work. Any program to do it or any third party softwares to do so..

Thanks in advance

Regards,
Sabi
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3611
    
  60

This is generally not possible.

I, for example, have completely turned autorun off on my computer, since I really don't want anybody to run a program when I insert a DVD or stick in a USB. I usually can figure out myself what to click, thanks.

There may be a group of users who actively want to have a program run automatically when they stick a USB in. However, they are probably a minority. You need to provide means for the rest of users, who do not want to allow this, to use your application in a different way.
Sabarish Venkat
Ranch Hand

Joined: Jan 18, 2012
Posts: 136

Thanks martin , But how about any third party tools which can run the application as a virtual app..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with auto launch app through USB