Go Back   xda-developers > Windows Mobile Development and Hacking > Development and Hacking General


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14th July 2008, 01:22 AM
helloworld1's Avatar
helloworld1 helloworld1 is offline
Senior Member
 
Join Date: Sep 2007
Location: Beijing
Posts: 1,257
Default small utility: cab batch install (a batch installer) with source

Introdution:
This small app will help you out when you have a bunch of cab files to install after flashing the new rom.

How to use:
1. Select or input a directory that contains a bunch of cab files.
2. Generate the list file that is [INSERT SELECTED DIRECTORY]\batch-list.txt. You can manually edit this file to select which to install.
3. Batch install. It will promot you if you really want to install that file.

Problems:
1. The small utility can not silently install cab files.

Todo:
1. More UI friendly to select the files.

Note:
I am rather new at windows mobile programming. I have learned it from scratch. The whole program uses pure C and winapi, no managed code, no MFC/ATL.
Acknowledge:
Thanks legedug for packaging the cab file.

Copyleft:

The source code is available, anyone can modify it and redistribute it. But you should contain at least a piece of my name in it and should distribute with full source code.
Attached Files
File Type: zip CabBatchInstall.zip (29.1 KB, 739 views)
File Type: cab CabBatchInstall CabBatchInstall.cab (24.3 KB, 586 views)
__________________
You can donate me in the following link. Thanks.
https://www.paypal.com/xclick/busine...rency_code=USD

Last edited by helloworld1; 18th July 2008 at 07:40 AM..
Reply With Quote
Sponsored Links

  #2  
Old 14th July 2008, 01:24 AM
helloworld1's Avatar
helloworld1 helloworld1 is offline
Senior Member
 
Join Date: Sep 2007
Location: Beijing
Posts: 1,257
Default

reserved for future.
Or no future.
__________________
You can donate me in the following link. Thanks.
https://www.paypal.com/xclick/busine...rency_code=USD
Reply With Quote

  #3  
Old 14th July 2008, 01:42 AM
lepsyfou's Avatar
lepsyfou lepsyfou is offline
Senior Member
 
Join Date: May 2007
Location: Montreal ( and Lille France)
Posts: 1,576
Default

thank you very much for this tool
__________________
Skin TFL2D Iphone
Skin TFL2D Blue and Bulle Xda
Skin TFL2D Red Lepsyfou
Skin TFL2D BlackCool
Soft MusicID

Best Skins - Softwares Site Actualitémobile

Like my work? Buy my pills here Thank you

My Phone : Touch HD French and Iphone 3G
Reply With Quote

  #4  
Old 14th July 2008, 02:02 AM
Jackuuuuu's Avatar
Jackuuuuu Jackuuuuu is offline
Senior Member
 
Join Date: Dec 2006
Posts: 460
Default

Will try it! This will be super good as my P3600i constantly needs a hard reset due to all available roms are for P3600. I'll let you know how this go! Thanks
__________________
HTC HD2
Radio: 2.06.51.07
Powered by Flashmore V2.8 (28014 variant)

WTS - HTC Touch HD - PM me!!!
Radio: 1.17.25.09
Powered by Lite rom from onkolog

HTC P3600i
Radio: 1.56.70.11
Powered by FInix3.7.2i from FInixNOver

Old Phones - Atom; Touch Diamond

The better you are in Street Fighter...
The shitter you are in Studying...
Reply With Quote

  #5  
Old 14th July 2008, 06:27 AM
met3ora met3ora is offline
Senior Member
 
Join Date: Nov 2007
Posts: 403
Default

This will differentiate itself from other similar programs (TierAutoinstall) if it can popup when dialogs are displayed after installs on some cabs.
__________________
ROMeOS 4.21
Reply With Quote

  #6  
Old 14th July 2008, 06:41 AM
Jackuuuuu's Avatar
Jackuuuuu Jackuuuuu is offline
Senior Member
 
Join Date: Dec 2006
Posts: 460
Default

Tested. I really like it!

No bug so far and here are my findings and suggestions:

1. Yes we need silent installation

2. Pick a directory: this need to pick up sub-directories. My cabs saved in "Storage Card/PDA SW/Common". It won't pick up cab file in "Common" directory.

3. Some cab files require restart - If I choose restart now, it won't resume batch install. (I can choose not to restart now to by-pass it)
__________________
HTC HD2
Radio: 2.06.51.07
Powered by Flashmore V2.8 (28014 variant)

WTS - HTC Touch HD - PM me!!!
Radio: 1.17.25.09
Powered by Lite rom from onkolog

HTC P3600i
Radio: 1.56.70.11
Powered by FInix3.7.2i from FInixNOver

Old Phones - Atom; Touch Diamond

The better you are in Street Fighter...
The shitter you are in Studying...
Reply With Quote

  #7  
Old 14th July 2008, 08:52 AM
helloworld1's Avatar
helloworld1 helloworld1 is offline
Senior Member
 
Join Date: Sep 2007
Location: Beijing
Posts: 1,257
Default

Quote:
Originally Posted by jackkkkk View Post
Tested. I really like it!

No bug so far and here are my findings and suggestions:

1. Yes we need silent installation

2. Pick a directory: this need to pick up sub-directories. My cabs saved in "Storage Card/PDA SW/Common". It won't pick up cab file in "Common" directory.

3. Some cab files require restart - If I choose restart now, it won't resume batch install. (I can choose not to restart now to by-pass it)

Ok, you can manually input the directory. I do not know how to invoke folder selection dialog. If anyone know , please help me.
__________________
You can donate me in the following link. Thanks.
https://www.paypal.com/xclick/busine...rency_code=USD
Reply With Quote

  #8  
Old 14th July 2008, 09:01 AM
stanglifemike's Avatar
stanglifemike stanglifemike is offline
Senior Member
 
Join Date: Apr 2008
Posts: 279
Default

Nice!! Wish I would have seen it a couple of hours ago before I reflashed for WM 6.1
__________________
Device: HTC Touch Pro 2 & Touch Pro
ROM:BEST VZW TOUCH PRO ROM!!!!
G-Alarm The Best Alarm Software
GPS: Unlocked thanks to lllboredlll
Reply With Quote

  #9  
Old 15th July 2008, 07:25 AM
helloworld1's Avatar
helloworld1 helloworld1 is offline
Senior Member
 
Join Date: Sep 2007
Location: Beijing
Posts: 1,257
Default

Quote:
Originally Posted by stanglifemike View Post
Nice!! Wish I would have seen it a couple of hours ago before I reflashed for WM 6.1
You can try it next time
__________________
You can donate me in the following link. Thanks.
https://www.paypal.com/xclick/busine...rency_code=USD
Reply With Quote

  #10  
Old 15th July 2008, 04:27 PM
nothin
Guest
 
Posts: n/a
Default

helloworld1 - this app is shining jewel in dull xdadev world.
kudos.

just improve it a bit(exit option, folder select dialog..)

Last edited by nothin; 15th July 2008 at 04:29 PM..
Reply With Quote

Reply

Tags
batch, cab, install, open, soruce

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump


All times are GMT +1. The time now is 11:21 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.