I know it's a late answer -- but it does not need any "special app" to be written:
As to your apps installation: Put all the
.apk files into a directory (you can catch them e.g. using AppMonster Free Backup Restore). Add the basic stuff from the Android SDK (you don't need the entire SDK package, just a few files which you can find e.g. in the AndroidForums ADB Guide, for Mac, Linux and Windows). Write a tiny Shell/Batch script to
adb install *.apk.
The factory reset can be accomplished in a similar way:
adb shell "recovery --wipe_data"
So put that as the first line of your script Optionally prepend it with an
adb wait-for-device. As the wipe is followed by a reboot, better make it look like this:
adb wait-for-device # in case the user starts the batch before connecting the device
adb shell "recovery --wipe_data" # factory-reset (includes reboot)
adb wait-for-device # wait until device has rebooted
adb install com.foobar.myapp # install the apps you want
adb install ...
echo "=========================" # let the user know the process is finished
echo "All done -- Cut the rope!"
Zip it all up and send it to the user.
Instructions to the user:
- Unpack the ZIP to an empty folder (closer descriptions depending on the OS used)
- Connect your device with an USB cable (maybe add instructions on how to see whether the connection was established successfully. On windows, added trouble might be special drivers needed)
- Start the Shell script/Batch file
Taking a look at the ADB options might give you further ideas ;)