View Single Post
  #1 (permalink)  
Old 03-10-2008, 06:09 PM
plenTpak's Avatar
plenTpak
N00b
Offline
 
Join Date: Oct 2007
Posts: 30
Reputation: 99
plenTpak is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
AutoInstall4 (auto cab install, copy files, import .reg, run scripts)

AutoInstall4

Hello,

I made this so that I could easily install all my programs after each rom update or whatnot without needing to edit any text files or anything... you just move whatever install files you want into or out of the "Installers" directory, and it'll install those programs. Cab files install silently to the default location (usually the phone storage). It'll run other file types too, like jar files (e.g. to autoinstall opera mini).

You can do other stuff with your phone while your programs are installing, and it won't reboot without confirmation from you first. Another plus is that you can uninstall the installed programs from the "Remove Programs" list.

Hope this makes things easier for some people!

---

Usage instructions:

1. Unzip the contents of AutoInstall.zip to \Storage Card\AutoInstall\

2. Place any files you want run in \Storage Card\AutoInstall\Installers\
(Files will be run in alphabetical order. MortScript files can be placed here too!)
3. Place any files you want copied into \Storage Card\AutoInstall\Files\
examples:
\Storage Card\AutoInstall\Files\example.txt will be copied to \example.txt
\Storage Card\AutoInstall\Files\Windows\Rings\ring.mp3 will be copied to \Windows\Rings\ring.mp3
\Storage Card\AutoInstall\Files\Windows\Theme.tsk will be copied to \Windows\Theme.tsk
4. Place any .reg files (smaller than 512KB!) you want imported into the registry in \Storage Card\AutoInstall\Registry Settings\
5. Place any MortScript files you want run in \Storage Card\AutoInstall\Scripts\
(Scripts will be run in alphabetical order)

6. Run AutoRun.exe after you flash a new ROM or whenever you want to install all the programs in \Storage Card\AutoInstall\Installers\
(Note: You can actually unzip AutoInstall.zip anywhere you want, as long as you leave \Installers\ and \Files\ and \Registry Settings\ and \Scripts\ in that directory.)

---

Note: I haven't tested everything thoroughly, so you may experience some problems. Let me know about any bugs you find! (The .reg import seems to have trouble with some large binary values)

AutoInstall3: Fixed some .reg import issues: Escaped strings now import properly; semi-working workaround for binary values >1k.

AutoInstall4: Files and Scripts are run in alphabetical order. Scripts in the "Installers" directory are run, too.
Attached Files
File Type: zip AutoInstall3.zip (76.2 KB, 256 views) Click for barcode!
File Type: zip AutoInstall4.zip (76.5 KB, 907 views) Click for barcode!

Last edited by plenTpak; 03-28-2008 at 07:29 PM. Reason: Update to v4
Reply With Quote
This post has been thanked 15 times.