PortableApps.com AutoRun/AutoPlay Test 0.1
John T. Haller Homepage) - June 2, 2008 - 5:52pm
I've compiled a quick test of some functionality that's part of the next platform release. Specifically, a listener that you can leave running on a local PC to automatically run a PortableApps.com Platform drive when it's inserted.
This is a simple functionality test. It's just a single form that you can run that will tell when a drive is inserted and whether the platform was on it... and if it is automatically start it.
It's designed to be compact and use minimal resources. The EXE is under 200k. When running minimized it uses under 1M of memory. And it uses no CPU resources while sitting around (it waits for Windows to tell it a drive was inserted before doing anything).
When complete, it won't have a form, so it will be smaller. It will probably either just run with no options and have an installer/uninstaller that allows starts/stops it and sets it to autorun or have a tray icon... we'll see. And it'll be released under the GPL.
Give it a shot on multiple operating systems and post your feedback please
How To Test It
NOTE: Windows' autorun box will still appear and ask what you want to do.. you can close it. I haven't added code to suppress it yet.
This test app should work on Windows 2000, XP and Vista (and has been verified on all three operating systems). It works with flash drives. (Not sure about removable hard drives at the moment, though, mine isn't here.) And it works from admin, limited and guest accounts.
Hidden Version (No Interface)
This is a special adaptation I added that presents no GUI at all. You can set it to autorun at Windows startup and it should automatically start the PortableApps.com Platform for any drive you plug in. Once you run it, you can stop it from Task Manager... or it should close down as you shut down Windows.
Oh, and to prevent the Windows autoplay selection from coming up when you insert your PortableApps.com drive, just hold down the shift key as you plug it in and release it once the menu starts.