So i found a better way less hassle to install apk’s files from a directory for those who have mybackup or any other software that backups your apps in to a zip file i was playing aroun with a batch scripts and found a nice more easy way.
usage:
- Extract all the apps anywhere in your pc eg: C:\apps
- copy all the files from the apk restore script folder inside the apps directory you extracted.
- run restore-apk.v1.3.bat
files:
restore-apk.v1.3.bat – script file
ren.bat – for renaming files with spaces (those who backup with appmanager application)
AdbWinApi.dll – for those who don’t have it inside system32
adb.exe – for those who don’t have it inside system32
About
Depending on the option you select it will install the apps for files will spaces use option 1 for normal backups that has the name such as “android.androidVNC.apk” use option 2 same goes for re-installing the apps.
update: 05/17/2009
- Cleaned the code.
- Removed the creation of the filelist now it installs directly.
- Made it so it works with files that contain spaces It will rename files with spaces so it can be installed. Noticed the app in the market called “appmanager save it with spaces and abd wont install them.
- included adb.exe for those who don’t have it in system32 folder
- added re-install option.
downlaod the script here: http://nitropr.us/scripts/apk-restore/apk.restore-v1.3.zip
bugs post here or at http://forum.xda-developers.com/showthread.php?t=491366
Tags: adb, batch scripts, g1, mybackup, pc


