SDConfig.txt Some Help Please Anyone? - P3300, MDA Compact III upgrading etc.

I have managed to get some instructions as to how to use this file see below:
__________________________________________________ ______________________
The commands available are as follows:
CAB - Installs a .cab file.
EXEC - executes a program.
XML - runs an XML script.
HIDE - hides or shows the AutoRun program.
LOCK - prevents or enables user input.
CPY1 - copies a file or files
CPY2 - pastes files specified in CPY1
SHOW - shows a bitmap, and
RST - executes a soft-reset.
Phew!
In turn then (please bear in mind, while each command must be followed by a colon ":" - not all are followed by spaces):
CAB: \Location\File.cab - Note, a space must be inserted after the colon, and no trailing spaces should be added. The location can be anywhere, SD Cards are denoted - in all commands - by \Storage Card\. Some have experienced problems where the file extension for the cab file is capitalised, so watch out for this.
EXEC:\Location\File.exe - note, NO space. Other rules are per CAB.
XML: \Location\File.xml - as for CAB. I'd say only use this for now if you know what you're on about. I have an XML I use to re-arrange my today screen and a couple of other bits. Will post it up if requested.
HIDE:Enabled or HIDEisabled - NO space, only Enabled or Disabled will work or the command is ignored. If "Enabled", the AutoRun screen (progress bar and WM Screen) are hidden allowing the user to watch progress. This is useful if CABs require input (like O2 Plus 2.3 or MortRing).
LOCK:Enabled or LOCKisabled - NO Space. Does what it says, locks or disables the lock for user input.
CPY1: \Location\File, followed immediately by CPY2: Location -this copies a file from one specified location to another. CPY2 MUST FOLLOW CPY1.
SHOW: \Location\File.bmp - shows a bitmap. Useless really, unless you completely hate the WM Customisation bitmap.
RST: Reset - performs a soft-reset.
So.....here's a sample SDConfig.txt - it's an extended version of the one I tested with some of the guys.
HIDE:Enabled
CAB: \Storage Card\AutoConfig\MortRing.cab
HIDEisabled
LOCK:Enabled
CAB: \Storage Card\AutoConfig\BTio.cab
CAB: \Storage Card\AutoConfig\BT_Quicklink.cab
XML: \Storage Card\AutoConfig\Auto_Setup.xml
RST: Reset
__________________________________________________ __________________________
I still have some questions?
If the cab file normally asks where you want to install it: device or memory card,
will it just install it onto device as default if I use the LOCK:Enabled command?
Just a bit concerned wouldn't want the device to ask for user input but then be locked :-(
Secondly If I use the copy and paste CPY1 and CPY2 comands what happens if you are pasteing it to a folder that has the same file name? Usually it prompts the user and asks do you want to overwrite this file Y/N? If you use the LOCK:Enabled command again will this overwrite the file by default?
Or do you need to enable user input? If you do need to tell it what your chose is (i.e. overwrite the file) is there a way to automate it so it does it automatically?
Thanks in advance, I want to try this on my wifes XDA Orbit, with the Artemis Touch 4.02 Lite rom, but don't want to risk bricking it?
P.S. the green smily in the instructions should be ":" and "D" together without the quotes
don't know how to show it without it being displayed as ???
Thanks again

doortodoorsalesman said:
If the cab file normally asks where you want to install it: device or memory card,
will it just install it onto device as default if I use the LOCK:Enabled command?
Just a bit concerned wouldn't want the device to ask for user input but then be locked :-(
Click to expand...
Click to collapse
With UC the progs are always installed to the Phone's memory, never to the SD-card...
The overview looks quite correct, although the example contains HIDEisabled instead of HIDE:disabled. You may also want to use CODE around your examples to ensure invalid spaces are not added by the forum (happens when too long words without spaces are used)...
Regards,
Nika.

Will CPY2 create a new folder if it doesn't exist?
Is there a way to create a new folder?

Why does this not work?
...
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\TomTom Navigator.lnk
CPY2: \Windows\Start Menu\Programs\
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\Age of Empires.lnk
CPY2: \Windows\Start Menu\Programs\Games\
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\FPSEce.lnk
CPY2: \Windows\Start Menu\Programs\Games\
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\ScummVM.lnk
CPY2: \Windows\Start Menu\Programs\Games\
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\Stratagus.lnk
CPY2: \Windows\Start Menu\Programs\Games\
...
Is this copy-paste able to override files?

ReinerK said:
Why does this not work?
...
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\TomTom Navigator.lnk
CPY2: \Windows\Start Menu\Programs\
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\Age of Empires.lnk
CPY2: \Windows\Start Menu\Programs\Games\
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\FPSEce.lnk
CPY2: \Windows\Start Menu\Programs\Games\
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\ScummVM.lnk
CPY2: \Windows\Start Menu\Programs\Games\
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\Stratagus.lnk
CPY2: \Windows\Start Menu\Programs\Games\
...
Is this copy-paste able to override files?
Click to expand...
Click to collapse
Because theire may no space between : and \ so...
CPY1:\Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\TomTom Navigator.lnk
CPY2:\Windows\Start Menu\Programs\
CPY1:\Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\Age of Empires.lnk
CPY2:\Windows\Start Menu\Programs\Games\
CPY1:\Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\FPSEce.lnk
CPY2:\Windows\Start Menu\Programs\Games\
CPY1:\Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\ScummVM.lnk
CPY2:\Windows\Start Menu\Programs\Games\
CPY1:\Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\Stratagus.lnk
CPY2:\Windows\Start Menu\Programs\Games\

Related

.CAB files getting auto deleted... can it be prevented?

Hi,
Im using O2Auto.sa.cab (O2 Auto Network Configurations). I have put all of the networkxxxx.cab files in my Storage.
The problem is when I run the O2 Auto Network program and set it to configure other networks, the networkxxxx.cab are deleted.
The question is how can I prevent my cab files from getting deleted?
I have tried read-only options archive options already but they are still deleted once the cab file has been run.
Please can anyone help me out?
Thanks in advance
I see 2 solutions :
- You use CabInstl and check "Do not delete CAB file"
- On your PC or PPC you edit the file properties and Check Attributes "Read Only"
DocteurN said:
I see 2 solutions :
- You use CabInstl and check "Do not delete CAB file"
- On your PC or PPC you edit the file properties and Check Attributes "Read Only"
Click to expand...
Click to collapse
Hi DocteurN,
Im not sure if thats going to work because I need use the program O2 Autoconfig, and this program automatically select which cab files to install. (the program runs the AutoConfig.txt file below and selects cab files for specific network); although all the cab files have been set to read-only, the O2 AutoConfig program still manages to delete them :evil:
What I need is a program to set premission on the cab files or the folder themselves so that they cannot be deleted by any program.. hope you understand what Im talking about :?
Thanks for the input by the way.
(Example of Autoconfig.txt)
;Remark
[Default]
CAB: \Storage\Network\O2ASIA_WWE_Customization_1105.cab
CAB: \Storage\Network\O2_Default_103133.sa.CAB
RST: Reset
[1O1O]
CAB: \Storage\Network\O2ASIA_1010_Customization_1105.cab
CAB: \Storage\Network\1O1O_ALL_103116.sa.CAB
RST: Reset
[3-DUALBAND-]
CAB: \Storage\Network\default_103133.sa.CAB
CAB: \Storage\Network\O2ASIA_3DualBand_Customization_1105.cab
CAB: \Storage\Network\3-DUALBAND_ALL_103116.sa.CAB
RST: Reset
[AIS]
CAB: \Storage\Network\default_103133.sa.CAB
CAB: \Storage\Network\O2ASIA_AIS_Customization_1105.cab
CAB: \Storage\Network\AIS_ALL_103116.CAB
RST: Reset
[Celcom]
CAB: \Storage\Network\default_103133.sa.CAB
CAB: \Storage\Network\O2ASIA_Celcom_Customization_1105.cab
CAB: \Storage\Network\Celcom_ALL_103116.sa.CAB
RST: Reset
[ChungHwa Telecom]
CAB: \Storage\Network\default_103133.sa.CAB
CAB: \Storage\Network\O2ASIA_CHT_Customization_1105.cab
CAB: \Storage\Network\CHT_ALL_103116.sa.CAB
RST: Reset
[DiGi]
CAB: \Storage\Network\default_103133.sa.CAB
CAB: \Storage\Network\O2ASIA_DiGi_Customizaton_1105.cab
CAB: \Storage\Network\DiGi_ALL_103116.sa.CAB
RST: Reset
[DTAC]
CAB: \Storage\Network\default_103133.sa.CAB
CAB: \Storage\Network\O2ASIA_DTAC_Customization_1105.cab
CAB: \Storage\Network\DTAC_ALL_103116.CAB
RST: Reset
Preventing the CAB to be deleted
Use Resco Explorer or other that can manage the file attribute. Make the file attribute to read only (+R). Works with me the CAB won't be deleted.
cheers,
R 1.11.00
G 1337.42
D 1.11.00 WWE Anansky Big Storage
Re: Preventing the CAB to be deleted
asae said:
Use Resco Explorer or other that can manage the file attribute. Make the file attribute to read only (+R). Works with me the CAB won't be deleted.
cheers,
R 1.11.00
G 1337.42
D 1.11.00 WWE Anansky Big Storage
Click to expand...
Click to collapse
Im also using Resco Explorer.. and the cabs have been set to read-only..
but the AutoConfig program still manages to delete the read-only cabs :evil:
I guess its the Autoconfig program is overriding the read-only properties of the cabs..
hmmmmm... not sure what I can do other than cracking up the AutoConfig program to not to delete the cabs..
Thanks for the input tho :wink:
DocteurN said:
I see 2 solutions :
- You use CabInstl and check "Do not delete CAB file"
- On your PC or PPC you edit the file properties and Check Attributes "Read Only"
Click to expand...
Click to collapse
Cabinstl is what you need. It works great for me.

Wceload.exe

How i can set all Prameters with command line in shortcut:
RAR Install.lnk
how i can set
capdir: \Storage card\rar.cab
dist. : \Storage Card\Program Files\Win rar\
No Install Message
user just click this shortcut and rar will automatically install files in \Storage Card\Program Files\Win rar\
such as in (Sk-CabInstaller)
Much Thanks
i want a help
You can't specify destination with wceload.exe
For all other features just add the command line options in quotes after the exe name in the lnk file.
You can find the parameter list here.
thank you very much
but how sk cabinstaller change the destination

Hardreset - delete files ?

Hi,
I have created a new ROM for my kaiser with some more apps - so far so good.
During the customization I am installing 3 more CAB (with autorun and config.txt), but unfortunately I have not found any command to delete these CABS after installation.
AFAIK config.txt only supports the following commands:
LOCK: Enabled lock the device so no user action is possible
CAB: \Extended_ROM\... install a CAB file use
EXEC: \Extended_ROM\... execute a file
CPY1: \Extended_ROM\sourcefile specify source for copy command
CPY2: \windows\targetfile copies CPY1 file to target
XML: \windows\... execute a provisioning XML file
LOCK: Disabled unlocks the device
RST: Reset execute a reset at the end
CFG: \Storage\Config2.txt include configuration from another file e.g. Config2.txt (same syntax as Config.txt)
HIDE: Enabled hides the autorun screen so that user interaction can take place.
HIDE: Disabled shows the autorun screen after user interaction.
SHOW: \Extended_ROM\...
But this does not give me the chance to delete a file.
Any suggestion ?
Regards
kuzco
create a mortscript to delete the files, call it with EXEC. If EXEC only allows .exe file then use the autorun.exe feature in mortscript to call the script.
Ever tried a search?
Found the solution in 10 secs...

How to set a pic as wallpaper in CONFIG.TXT?

Anyone know the command please!
Thanks a lot
Code:
LOCK:Enabled lock the device so no user action is possible
CAB: \Extended_ROM\... install a CAB file use
EXEC:\Extended_ROM\... execute a file
CPY1:\Extended_ROM\sourcefile specify source for copy command
CPY2:\windows\targetfile copies CPY1 file to target
XML: \windows\... execute a provisioning XML file
LOCK:Disabled unlocks the device
RST: Reset execute a reset at the end
CFG: \Storage\Config2.txt include configuration from another file e.g. Config2.txt (same syntax as Config.txt)
HIDE:Enabled hides the autorun screen so that user interaction can take place.
HIDE:Disabled shows the autorun screen after user interaction.
SHOW:\Extended_ROM\... shows the image specified as the background to AutoRun. Must be a bmp.
TSK: \Windows\... Makes a theme the default theme. Works on Diamond/Raphael shipped AutoRun only!
zd_lc said:
Anyone know the command please!
Thanks a lot
Code:
LOCK:Enabled lock the device so no user action is possible
CAB: \Extended_ROM\... install a CAB file use
EXEC:\Extended_ROM\... execute a file
CPY1:\Extended_ROM\sourcefile specify source for copy command
CPY2:\windows\targetfile copies CPY1 file to target
XML: \windows\... execute a provisioning XML file
LOCK:Disabled unlocks the device
RST: Reset execute a reset at the end
CFG: \Storage\Config2.txt include configuration from another file e.g. Config2.txt (same syntax as Config.txt)
HIDE:Enabled hides the autorun screen so that user interaction can take place.
HIDE:Disabled shows the autorun screen after user interaction.
SHOW:\Extended_ROM\... shows the image specified as the background to AutoRun. Must be a bmp.
TSK: \Windows\... Makes a theme the default theme. Works on Diamond/Raphael shipped AutoRun only!
Click to expand...
Click to collapse
Why don't you set a wallpaper in a reg file or a rgu file?
(don't know which key and slot, but that would be pretty easy to find)
Really!? can it work?
I change the app.reg file
It dont work at all
why?

[SOLVED] Can i import a reg file using RunCC?

There is a key which i need to apply after the first boot. I was just wondering if i can do that using RunCC?
If no, what would be an alternative?
any help is much appreciated
config.txt:
Code:
REG: \Storage Card\Install\Reg1.reg
REG: \Storage Card\Install\Reg2.reg
REG: \Storage Card\Install\Reg3.reg
Create the corresponding .reg file(s) and write to them anything you want in usual reg format and RunCC will apply it.
l2tp said:
config.txt:
Code:
REG: \Storage Card\Install\Reg1.reg
REG: \Storage Card\Install\Reg2.reg
REG: \Storage Card\Install\Reg3.reg
Create the corresponding .reg file(s) and write to them anything you want in usual reg format and RunCC will apply it.
Click to expand...
Click to collapse
Many thanks Solved
quick question. are your reg files starting with: "REGEDIT4" or just normal reg dumps?
EDIT: Tried both and my RunCC does not import the reg entries.
it's normal... all my reg files start with "REGEDIT4"... (i think it's a key word that identify the reg code!)
Not working
l2tp said:
config.txt:
Code:
REG: \Storage Card\Install\Reg1.reg
REG: \Storage Card\Install\Reg2.reg
REG: \Storage Card\Install\Reg3.reg
Create the corresponding .reg file(s) and write to them anything you want in usual reg format and RunCC will apply it.
Click to expand...
Click to collapse
I tried the same in my SDConfig.txt but it didnot load the desired registry file. I am using the RunCC with modified runcc.lua .
If that method doesn't work, you can either convert the registry values to a provxml (which should work 100% if there isn't a provxml that overwrites it which is processed after yours) or just put the values in a cab and have the cab run. I think the provxml should be processed without having to add anything to config.txt, you would have to add CAB: \path\to\your.cab if using the cab method.
mwalt2 said:
If that method doesn't work, you can either convert the registry values to a provxml (which should work 100% if there isn't a provxml that overwrites it which is processed after yours) or just put the values in a cab and have the cab run. I think the provxml should be processed without having to add anything to config.txt, you would have to add CAB: \path\to\your.cab if using the cab method.
Click to expand...
Click to collapse
Ya I am presently doing thatway only. I use XML instead of ProvXML and run it through Runcc and SDConfig.txt.
Since a new method was suggested by OP, I felt trying that. But, without success.

Categories

Resources