View Full Version : Automatic install (CAB,REG,TSK,Files) after HardReset
axbl
10th May 2004, 12:40 PM
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
10th May 2004, 01:41 PM
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
10th May 2004, 03:38 PM
Doed Pocket WinRar will do the job?
I also would love to try it...
Very good idea
xda-rocks
10th May 2004, 03:47 PM
This sounds like a great idea.
axbl
10th May 2004, 11:50 PM
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
11th May 2004, 08:14 AM
I have also been searching the net for a compresion tool that runs from the command line, but with no luck.
k_kirk
31st May 2004, 04:39 AM
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
31st May 2004, 05:22 AM
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
31st May 2004, 02:08 PM
Hi axbl,
Could you please also post me a copy of your ROM / Script ?
Many Thanks,
Justin
jhobson@pobox.com
k_kirk
1st June 2004, 10:27 AM
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
little_frog
2nd June 2004, 09:30 PM
I use the software call Autoconfig.exe which is included in O2 Asia ROM.
The Autoconfig.exe will read Autoconfig.txt file and execute according to the command line in the file.
The command line is exactly the same as Config.txt
[.......] <---- Section to be selected
CPY1:***<---- copy from
CPY2:***<---- copy to
EXEC:***<---- Execute Program
CAB:****<---- Install .cab file
RST: Reset <---- Soft Reset
I can do what I need about 80%. I say 80% is because after this process ended. I still need to put in name/pasword to all of those s/w or else it will still be trial version.
lynxlynx
6th September 2005, 10:35 PM
so any update in this topic??
....pls
Speedn
7th September 2005, 03:32 AM
I use the software call Autoconfig.exe which is included in O2 Asia ROM.
The Autoconfig.exe will read Autoconfig.txt file and execute according to the command line in the file.
The command line is exactly the same as Config.txt
[.......] <---- Section to be selected
CPY1:***<---- copy from
CPY2:***<---- copy to
EXEC:***<---- Execute Program
CAB:****<---- Install .cab file
RST: Reset <---- Soft Reset
I can do what I need about 80%. I say 80% is because after this process ended. I still need to put in name/pasword to all of those s/w or else it will still be trial version.
hi, if you create an xml file or a cab (need winCE cab manager) you can add all the registry details you need to register your program...but you have to search your registry to find those details.
little_frog
9th September 2005, 12:01 AM
Yes, I can do it while ago.
The post I did was a year ago. At that time, I didn't know how to do it.
Thanks anyway.
jeet
9th September 2005, 06:07 AM
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 ?
Pls can u share the script with us it would be a great help for all of us.
thx in advance
jeet
little_frog
9th September 2005, 10:21 PM
You don't have to ask that guy. He'd never come back.
It's not that difficult to do. You need to know how to build CAB file by using WinCE CAB Manager. Then, put those REG, TSK, EXE, File, etc. into your built CAB file. By using (Autorun and Config.txt) or (Autoconfig.exe and Autoconfig.txt) or (Autorun and ExtROM via \2577 folder), You can install any CAB files into the system after Hard Reset.
lynxlynx
10th September 2005, 09:19 PM
ok :(
could you pls post the files to do it?
(Autorun and Config.txt) or (Autoconfig.exe and Autoconfig.txt)
if possible?
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.