CAB file Program installs on the C230
Hi, it’s not coffee, but i think it might be of interest …
Here you will find 3 files :
– wceload.exe : it is the windows cab installer
– unload.exe : it is the windows cab uninstaller (did not work for me)
– iomogu.cab : a little game in a .cab to test with wceload.exe, and play 🙂
( aygshell.dll is missing, so it must be copied into the folder of the game )
[comment by ameridan – Or just install the Game into your Games folder with the other games. I’ve taken the liberty of doing some additional minor editing of dominique’s comment as well. ]
To install a .cab file (which is normally deleted after install):
Start\Run\wceload.exe nameofthecab.cab -OR-
Register “.cab” files first and associate them with wceload.exe, then double-click
The installation creates a .unload file in the /windows folder and normally unload.exe is used to uninstall the program (did not work for me)
PS : still working on getting activesync to work …
Too bad WCELOAD doesn’t register itself like MortScript and TCPMP do. I’ve just finished modifying autopatcher [to be released at a later date] so that cabFiles will be associated with wceload.exe in the registry (took 2 hours to get the quote marks just right!), so that users will be able to just double-click on cab files to install!
As another trial, I double-clicked on PHM_PowerToys_ARM.cab and they all installed!
Another great find buddy – I owe YOU a coffee.
We’ll carry on this topic here…
I’d tried other WCELOADs before without success as well as cabinstl, which at-least ran but actually did nothing. So this was a nice surprise in that the program(s) within the cabFile actually installs with registry settings and all using this version.
I should be able to customize autopatcher even further, since it appears that this a Microsoft version of the program. Courtesy of “Of Kings and Cabbage“, here are some tips and a list of command-line switches that wceload.exe supports:
- /delete – if value = 0 do not delete cab after install
- /noui – perform a silent operation. Do not ask if it is ok to overwrite the exiting files
- /nouninstall – do not create a .uninstall file. The application entry will not appear in Remove Programs list
- /askdest – will force wceloadto display a dialog that allows user to select installation location and some other things
- /noaskdest – install specified applications to specified locations (see below)
[When I click on WCELOAD.exe, the registry setting [HKEY_LOCAL_MACHINE\SOFTWARE\Apps\Microsoft Application Installer]
is established, which is why I’m encouraged that we can take this further to eliminate the Not Enough Space message, the creation of an Uninstall (Unload) file, and the automatic deletion of the cabFile.]
Dialog displayed by wceloadwhen /askdest is specified
The /noaskdest switch is the most interesting of them all. When you specify it, wceload ignores the rest of the command line. Instead it checks the following registry location – [HKEY_LOCAL_MACHINE\SOFTWARE\Apps\Microsoft Application Installer\Install]
The key contents are key/value pairs:
[CAB file path] = [CAB destination directory]
e.g. \Storage Card\MyApp.CAB = \Storage Card\Program Files\My App
wceload will try to install the cab specified in the value name to the location specified in the value value.