PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Titan > Titan Development
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-10-2008, 06:09 PM
plenTpak's Avatar
N00b
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
 
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.
  #2 (permalink)  
Old 03-10-2008, 07:15 PM
muyoso's Avatar
Regular 'Geeker
Offline
Pocket PC: Touch Pro
Carrier: Sprint SERO
 
Join Date: Sep 2007
Posts: 382
Reputation: 395
muyoso is becoming a PPCGeeks regularmuyoso is becoming a PPCGeeks regularmuyoso is becoming a PPCGeeks regularmuyoso is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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.

Last edited by muyoso; 03-10-2008 at 07:32 PM.
Reply With Quote
  #3 (permalink)  
Old 03-10-2008, 08:37 PM
nickm's Avatar
Regular 'Geeker
Offline
Pocket PC: 6800
Carrier: spcs
 
Join Date: Feb 2007
Posts: 354
Reputation: 3
nickm is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Thumbs up 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
Reply With Quote
  #4 (permalink)  
Old 03-11-2008, 12:35 AM
plenTpak's Avatar
N00b
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
Threadstarter
 
Join Date: Oct 2007
Posts: 30
Reputation: 99
plenTpak is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: AutoInstall Program (w/ Silent cab install)

Quote:
Originally Posted by nickm View Post
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.

Last edited by plenTpak; 03-11-2008 at 02:57 AM.
Reply With Quote
  #5 (permalink)  
Old 03-11-2008, 07:20 AM
stroths's Avatar
VIP & Master of my Domain
Offline
Pocket PC: HTC Evo 4g
Carrier: Sprint
Location: Dallas area
 
Join Date: Oct 2006
Posts: 1,370
Reputation: 2008
stroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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.
__________________
Treo 600 -> Treo 650 ->Treo 700p -> Treo 700wx -> Mogul -> Touch Pro -> Touch Pro 2 -> HTC Evo
- [Guide] Get Root access & NAND Unlock your Evo (Full Root)
- My Current AppBrain List

Reply With Quote
  #6 (permalink)  
Old 03-11-2008, 02:26 PM
plenTpak's Avatar
N00b
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
Threadstarter
 
Join Date: Oct 2007
Posts: 30
Reputation: 99
plenTpak is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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!
Reply With Quote
  #7 (permalink)  
Old 03-11-2008, 02:37 PM
sanjsrik's Avatar
Halfway to VIP Status
Offline
Pocket PC: Evo Rooted Stock ROM
Carrier: Sprint
 
Join Date: Apr 2007
Posts: 716
Reputation: 320
sanjsrik is becoming a PPCGeeks regularsanjsrik is becoming a PPCGeeks regularsanjsrik is becoming a PPCGeeks regularsanjsrik is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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.
Reply With Quote
  #8 (permalink)  
Old 03-11-2008, 02:40 PM
Shiva's Avatar
N00b
Offline
Pocket PC: Touch Pro
Carrier: Sprint
 
Join Date: Jun 2007
Posts: 39
Reputation: 0
Shiva is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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)
Reply With Quote
  #9 (permalink)  
Old 03-11-2008, 07:55 PM
plenTpak's Avatar
N00b
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
Threadstarter
 
Join Date: Oct 2007
Posts: 30
Reputation: 99
plenTpak is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: AutoInstall Program (w/ Silent cab install)

Quote:
Originally Posted by Shiva View Post
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....
Reply With Quote
  #10 (permalink)  
Old 03-11-2008, 09:34 PM
OmarBadu's Avatar
N00b
Offline
Pocket PC: Mogul
Carrier: Sprint
 
Join Date: Jul 2007
Posts: 49
Reputation: 15
OmarBadu is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: AutoInstall Program (w/ Silent cab install)

just used this - LOVE IT
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Titan > Titan Development


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 09:17 AM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com