PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Titan Development (http://forum.ppcgeeks.com/forumdisplay.php?f=57)
-   -   AutoInstall Program (w/ Silent cab install) (http://forum.ppcgeeks.com/showthread.php?t=20753)

plenTpak 03-10-2008 06:09 PM

AutoInstall4 (auto cab install, copy files, import .reg, run scripts)
 
2 Attachment(s)
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.

muyoso 03-10-2008 07:15 PM

Re: AutoInstall Program (w/ Silent cab install)
 
That is exactly what I was looking for. Hope it works well. Wish it could also register all of my apps as well, but now im just being greedy. Thanks a bunch.

nickm 03-10-2008 08:37 PM

Re: AutoInstall Program (w/ Silent cab install)
 
will it copy files and folders to the root directory also? I have a number of short cuts that I copy to the startup folder...

Thanks for your work

plenTpak 03-11-2008 12:35 AM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by nickm (Post 211099)
will it copy files and folders to the root directory also? I have a number of short cuts that I copy to the startup folder...

Thanks for your work

It doesn't, but I had actually made another script to do that. I'll clean it up for general use and update the zip file with that tonight. Actually I'll have to do it later, sorry.. something came up.

stroths 03-11-2008 07:20 AM

Re: AutoInstall Program (w/ Silent cab install)
 
It's actually really easy to do with mortscript. I created a mortscript similar to nickm's a while back and also setup a file copy.

xCopy "\Storage Card\Boot\Files\*.*", "\", 1, 1

Of course you would need to change the path. Basically, it will do a recursive copy of any files and directories to the root directory. This requires that you have the files you want copied over exactly as they appear in your main memory.

plenTpak 03-11-2008 02:26 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Updated with file copying.

Yeah, stroths' description is pretty much the same way I did it. You can always edit the script to your own liking, but this is what I have, so you can use it as is or modify it to your liking.

Hope it helps!

sanjsrik 03-11-2008 02:37 PM

Re: AutoInstall Program (w/ Silent cab install)
 
I just used my activesync connection, checked the boxes of the applications I wanted installed on my phone and clicked ok.

it reinstalled all my applications one after another.

Shiva 03-11-2008 02:40 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Nice!

Two questions:

Can the install cabs be in sub-folders within the Installers folder? (e.g. Installers\Games, Installers\Utilities, etc.)

Is there a way to get it to install in a particular order? (e.g. install RescoExplorer.cab first, then install RescoRegistryAddOn.cab)

plenTpak 03-11-2008 07:55 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by Shiva (Post 212204)
Nice!

Two questions:

Can the install cabs be in sub-folders within the Installers folder? (e.g. Installers\Games, Installers\Utilities, etc.)

Is there a way to get it to install in a particular order? (e.g. install RescoExplorer.cab first, then install RescoRegistryAddOn.cab)

At this time, cabs only install from the Installers folder, not from sub-folders... and they install alphabetically (I think =P) so if you just order the cab names alphabetically, that should work....

OmarBadu 03-11-2008 09:34 PM

Re: AutoInstall Program (w/ Silent cab install)
 
just used this - LOVE IT


All times are GMT -4. The time now is 12:23 PM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0