Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
axbl
Old
#1  
Member - OP
Thanks Meter 0
Posts: 74
Join Date: Nov 2003
Default Automatic install (CAB,REG,TSK,Files) after HardReset

I have made s script which installs all files in my Install-Directory of my SD-Card. The script is based on nscriptm and invoked automatically after HardReset.
It installs silently all CAB-Files, Reg-Settings in REG-Files, a TSK-File.
It copys all wanted files automatically from the SD-Card to the PocketPC (e.g. for the Windows-Folder, etc).
It deletes wanted files from the Pocketpc.
It copies Shortcuts.

So a complete new Install lasts only a few minutes. Great for testing.

Now I am searching an unzip/unrar/uncompress/... - Tool which can be invoked from the command-line with additional parameters to uncompress all Install-Files on the SD-Card.

Anyone knows ?
 
k_kirk
Old
#2  
Senior Member
Thanks Meter 1
Posts: 377
Join Date: Jul 2003
Sounds like an excellent idea. Can you share your script? Sorry I do not know of a zip utility. All installs on cab files are already compressed though.
 
noviur
Old
#3  
Senior Member
Thanks Meter 1
Posts: 187
Join Date: Dec 2003
Location: Toronto
Doed Pocket WinRar will do the job?

I also would love to try it...

Very good idea
 
xda-rocks
Old
#4  
Senior Member
Thanks Meter 3
Posts: 379
Join Date: Jul 2003
This sounds like a great idea.
 
axbl
Old
#5  
Member - OP
Thanks Meter 0
Posts: 74
Join Date: Nov 2003
No, Winrar is only with GUI. No Commandline. Have searched for days.
CAB-Files are not Compressed I think. Only the EXE-Files containig the CAB-Files for Install on PC are compressed.
Please HELP !
I have made an extended ROM which runs my script now automatically.
If you want it send me PM.
 
xda-rocks
Old
#6  
Senior Member
Thanks Meter 3
Posts: 379
Join Date: Jul 2003
I have also been searching the net for a compresion tool that runs from the command line, but with no luck.
 
k_kirk
Old
#7  
Senior Member
Thanks Meter 1
Posts: 377
Join Date: Jul 2003
Quote:
I have made an extended ROM which runs my script now automatically.
If you want it send me PM.
axbl,
would love a copy of your script. For everyone's benefit, can you attach it to this thread?
thanks in advance.
 
iggy
Old
#8  
iggy's Avatar
Senior Member
Thanks Meter 17
Posts: 925
Join Date: Jan 2004
Location: Toronto
Quote:
Originally Posted by axbl
No, Winrar is only with GUI. No Commandline. Have searched for days.
CAB-Files are not Compressed I think. Only the EXE-Files containig the CAB-Files for Install on PC are compressed.
Please HELP !
I have made an extended ROM which runs my script now automatically.
If you want it send me PM.
Hi axbl, would be happy to test your script, email is adasilva@runbox.com
 
jhobson
Old
#9  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: May 2004
Location: Sydney
Hi axbl,

Could you please also post me a copy of your ROM / Script ?

Many Thanks,

Justin

jhobson@pobox.com
 
k_kirk
Old
#10  
Senior Member
Thanks Meter 1
Posts: 377
Join Date: Jul 2003
Has anyone heard from axbl? While waiting in vain, I decided to give this a shot and see how far I go along scripting my installs. I find the nscriptm tool to be very capable but still I am stuck in a few areas which axbl seems to have excelled based on the initial post.

How can one trigger a cab file install and make it a silent install? I am using the Shellwait("") command to trigger the cab file installs one after the other but those that require input are causing an issue.

Next I have tried automating the response to those user input prompts (i.e YES / NO etc) but I am having trouble catching the window handle of the prompts and then using the Sendkey command.

Thanks in advance for all the help. Regards

 
Post Reply+
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

Go to top of page...

XDA PORTAL POSTS

XDA University: Crafting Recovery-Flashable Packages

Those of us who use Linux on a day to day basis don’t think twice about sinking … more

Side-Swiping Multitasking with Kakudo

Recovering iPad users may still remember the multitasking function where you can swipe left or right to … more

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more