I've compiled a quick test of some functionality that's part of an upcoming 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. It's a simple functionality test with a single form showing when it detects a new drive and if the platform is on it, at which point it will start it up. There's also a non-GUI version that will run in the background as long as Windows is running (you can kill it in Task Manager if you need to).
It's designed to be compact and use minimal resources. The EXE is about 500k. It uses only a few MB of RAM. And it uses no CPU resources while waiting as it hooks the Windows API for drive insertions.
When complete, there will be an option in the PA.c Platform to install this utility to the local machine and have it start with Windows as well as to remove it. And it'll be open source under the GPL.
Download
Download AutoRun Test 0.2 Form Version [ < 1MB ]
MD5: c67a303307e01025c58ec1d5552463f3
Download AutoRun Test 0.2 Hidden Version [ < 1MB ]
MD5: 9792bfff4ff7a5c983be4de46bcd9ca7
How To Test It
- Download the EXE to your desktop or any other local drive (this is not a portable app and not supposed to run from a removable drive)
- Run the app and leave it open (yes, it stays open... this is just a functionality test)
- Insert your removable device
- On insert, when Windows detects it, you should see the PortableApps.com Autorun window say the drive letter of the drive once it's insert and whether the platform was found
- If the Platform is found, it'll automatically run
- Windows' autorun box may still appear and ask what you want to do.. you can close it. I haven't added code to suppress it yet. You can usually hold SHIFT to suppress it.
- Insert another drive if you'd like
- Close the PortableApps.com Autorun Test window when you're done testing
Compatibility
This test app should work on Windows XP, Vista, 7, and 8. It should work with any drive marked removable on insertion. And it works from admin, limited and guest accounts.
Version History
2014-05-16: 0.2 update for modern platform file names and newer Delphi compile
2008-06-02: Initial test release