Wceload.exe - Windows Mobile Development and Hacking General

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

Related

Folder Shortcut Problem

I have programmed one of my program keys on my XDA 2s to automatically open the storage card\my documents folder when pressed.
I tried the following two shortcuts:
:msfexplore \storage card\my documents
\windows\fsexplore.exe \storage card\documents
file was named sd docs.lnk
This was tried both on an XDA2s and the HP HX2700 PDA. The shortcut works but it also open Internet Explorer and looks for the folder.
Any ideas how to correct this?
Thanks,
Henny

Setting directory path exception in smartskey help...

In the smartskey .ini, you can set exceptions to programs you do not want to close when ending with the soft key.
I am trying to set an exception for Egress, which I have installed on my memory card. In the .ini file I set my path as \storage card\program files\egress\egress.exe, but tha doesn't work. I'm sure I have the directory path wrong, but that's how it appears in file manager.
Can someone help me?

SDConfig.txt Some Help Please Anyone?

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\

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