Hi folks
I am a newby and I have a general question for the CAB files for windows mobile devices.
Is it possible to create a CAB File which contains different sections for different devices.
For example my Cab file should create a few registry entry. Registry entry 1 to 5 is for HTC device, registry entry 6-10 for Samsung devices and 11-20 for all device.
Is there a possibility to create a CAB file who is creating the registry entries like I wish?
Cheers Tom
No. Cabs use to have support for different processor types like MIPS and SHA but today everyone uses ARM.
To do what you want you need ether to use an exe or to put a setup.dll in the cab that will recognize the device via its OEM string (SystemParametersInfo) and write the needed registry.
Is there some information available how to use or create a setup.dll file?
Cheers Tom
CAB and DLL files
You will find the DLL files that may be missing or corrupted on your computer. You can free download on internet at no cost! It’s very useful. If you're using Windows XP or Windows Vista, then your working system has fixed support for opening CAB files. However, if you right-click on items in a CAB file, you won't see all the same options you'd see for a file in a usual folder. This shows that it is not a real folder.
Hi Smithmark
I do not understand you post. I think you are talking about something else.
Please read my question above.
cheers Tom
This will tell you everything you need to know provided you can code in C/C++.
Related
Hi all,
I just sucessfully installed big storage on my O2 mini and was wondering how i can change the default directory to which my software installs. The software is Imaginet-arabitizer and it uses a PC-based installation. No cab files...
Help please....
help
you can only whether you want to install a program to a default location, storage or a storage card. it will ask you in the beginning of installation by ActiveSync. choose NO and install sonewhere else.. gl
Still no luck....
Unfortunately, this particular program does not use the active sync user interface for the installation....
Any other methods?
i saw a shareware program on the forums once that did that... wish i downloaded it then cause i cant find it again sorry .. thought id let you know its out there though.....
aidil916 - unless it's some kind of ROM update etc, anything that gets installed on the PPC must always use a cab file, even on PC based install. So, start the install, and does add/remove programs or something come up?
Either way, if it installs something to the PPC (i've no idea how the arabizer works), interrupt the installation or somehow stall it. Then use a program like Filetracer or even the XP search tool to find any cabs installed to your pc in the last few minutes. Track down the cab (usually in your temp folder, programs folder or activesync folder) and then take a backup copy of the cab. Then, copy that to your PPC..
Tell me how it goes.
V
aidil916 said:
I just sucessfully installed big storage on my O2 mini and was wondering how i can change the default directory to which my software installs.
Click to expand...
Click to collapse
Usually when you perform PC-based installation software asks you for target location but some programs are hard-coded with "\Program Files\ProgramName" path so they will fail to work if you place them to another locations, i.e. to Storage Card
For programs that don't allow you to change target location you can change their registry entries to correct their path from "\Program Files\" to "\Storage Card\Program Files\". Here you will also need to manually move your program to a new location (SD) using Explorer's copy-&-paste functions
ps: don't use cut-&-paste because some of your programs may be running and this will cause sharing violation errors
Example, I have program "ABC" installed at "\Program Files\ABC" folder.
1) Using Explorer I navigate to "\Program Files" and COPY "ABC" folder to clipboard
2) Now I navigate to "\Storage Card" and create folder "Program Files"
3) I open newly created folder "\Storage Card\Program Files" and PASTE my "ABC" folder from clipboard here
4) Using Registry Editors I search for "\Program Files\ABC" entries and change them to "\Storage Card\Program Files\ABC"
5) I do soft-reset. If after that program works Ok, I delete "\Program Files\ABC"
The software is Imaginet-arabitizer and it uses a PC-based installation. No cab files...
Click to expand...
Click to collapse
Check your activesync's installation location. You will find the cab file within Software name or company folder, like "C:\program files\microsoft activesync\ABC"
Cheers
aidil916 said:
Hi all,
I just sucessfully installed big storage on my O2 mini and was wondering how i can change the default directory to which my software installs. The software is Imaginet-arabitizer and it uses a PC-based installation. No cab files...
Help please....
Click to expand...
Click to collapse
There are 3 methods i use,
1st is download the CAB file if you can, copy to your PPC and install with a program called CAB Install http://www.s-k-tools.com/fp/viewtopic.php?t=44 which allows you to install the app anywhere you want.
2nd is to run the standard ??.exe PC installation file but without your PPC pluged in. After the ??.exe install file is finished it will normally produces a CAB file on your PC which will copy across to your PPC next time you plug it in. All you need to is to find the CAB file and manually copy it to your PPC and use CAB Install.
The 3rd way is to do the same as 2 above and then use an app called WinCE CAB manager which you can generally modify the CAB files standard installation directory to what ever you want to.
Hope this helps
Most software including PC based installs eventually use CAB files. For this I use a small program CabInstl.
hi all, I'm using icon_viewer to search a "screen" icon but I don't know where search, in wich .dll or .exe I could find icons under windows mobile 5? thanks!
Hi xalien!
I am not 100% sure but it should be in coredll.dll or shellres.dll which are the two main system DLLs.
I don't find this 2 files, I search it in \windows folder...
Ok, clarification:
These files are part of ROM. You can't see them form file explorer, but they are there.
To work with them, you need a ROM dump. Just search this site and the FTP. All the tools you need are here.
I recommend TestWM5.exe by mamiac. It extracts files directly, not ROM image you have to decode.
ok. but i only search an icon, it exists a mapping of this dll that show icons contained?
Not really sure what you mean, but if you don't want to mess around with extracting the files try this:
If you have EVC or Studio 2005 installed, you will have a tool called 'Remote zoomin'. In EVC it's in the tools menu and in 2005 it's in the remote tools folder of start menu. This app lets you view the device screen on your PC and save it as bitmap. You can just get a screen shot of what you want and paste it in to an icon resource.
I have a cab with the following extentions
_setup.xml
JETBTC~1.001
JETBTH~1.000
JetBTHFix.002
JetBTHFix.999
I added the .dsm & .rgu files
I edited the _setup.xml file to redirect the Shortcut to a different folder.
Is that all I need to do?
Will it work puting it into an OEM folder now?
Can I remake it back into a cab file? (How do I make a cab file)
Thank you
You can't open a cab with a simple unzip program (which appears what you have done). You have to use a program that can pull a cab apart. In HyperCore there is a free utility that will do this (sorry, not on my computer with a kitchen so I don't remember what its called, but its in the tools and/or panel area of HyperCore). You can use Cabwuz (demo version) to see what I mean also.
MSCEinf
Its a tool called MSCEInf.exe, Windows CE CAB Analyser. It opens up Windows Mobile .CAB files and creates the original files and installation options (registry changes, shortcut creation etc).
http://www.codeppc.com/telechargements/msceinf/msceinf.htm
Andy
Ok I got the program up and running, but not sure how to use it. There seems to be no help files.
Anyone know how to use this. Can you give me a quick run though.
All that MSCEInf.exe does is extract the original files and settings from the .CAB file. What you should do is extract the files to a folder, then if the XML button is available click it and then look at the Registry Keys and Shortcuts tabs to see what shortcuts you need to create and what settings you need to add to the .RGU file. If the XML button isn't available then click the 'RTF Document' tab, this contains all the settings but is a bit harder to cut-&-paste from.
It is probably a good idea to look at on existing OEM package to see what files are included, what the shortcuts look like and what the .RGU file looks like.
HTH
Andy
Little more help.
Ok need a little help still.
This is what I have done.
1) created a folder with in the OEM folder called JETBT
2) Opened Msceinf
3) Loaded my cab file
4) Changed "Use Folder Name" to NO
5) Pressed "Extract Cab files with original names to a folder"
6) Extracted them to the JETBT folder I credated.
Now this is where I am at.
I have the following 5 files.
_setup.xml
BT HFP Extension 1.31.inf
JetBTConfig.exe
JetBTHFx.999
JetBTHFx.dll
I know I need to create a .dsm and .rgu file
the .rgu file is where I add reg entries
I also know I need to make a inirflashfile.dat
which is where I have it move the .ink file.
First how do I make a .ink file.
Then is this all I need to do?
Does the OEM folder us the info inside _setup.xml ?
If it does can I simply edit that file. Inside I see where it makes and moves the .ink file
And where it adds the reg info.
I could simply just add the info into that file.
and then create empty .dsm and .rgu files.
So what do I need to do? Am I missing any steps.
there are other cabs I need to edit aswell.
Thanks for your help.
? Anyone? PLEASE
Read my OEM package tutorial. 95% applies to all phones and Ervius Package Creator is the greatest thing to OEM packages since sliced bread
Thank Man!
Can anybody explain me how to make a self-extracting cab file, and what software to use?
What i'm trying to do is this:
I want to CAB some translated Manila files and put them into the \Internal Storage\Backup and Restore\Cab\ directory of my Diamond, so that i can have the files automatically extracted to the devices map \Windows\ after a hard reset.
Thanks & best regards
You can use WinCE CAB Manager. There is a free test version aviable. It can create cabs easy.
or QuickCAB
HI all !!
I came up with a new idea to create a file oemavatar.cab for Toshiba TG01. I made graphics in PNG format and then it tried to pack them into a CAB file. Now I am looking for a program where I could make a CAB file and add it to the ROM.
I found some programs, but the archives are not compatible with WP7 and Zune just does not detect the file.
My question is: Which program to use to execute the cab file?
You have to use a CAB sender program to send the CAB file to the phone's update OS (the one that Zune switches the phone to when installing updates; you can put it in that mode manually too). You don't use Zune with manual updating.
I don't know what structure to the CAB file the phone expects (although you could download an official CAB and have a look for yourself). You will probably need to sign the CAB with a key whose certificate is loaded into your ROM; I know there are programs for doing this but not all ROMs are updatable.
Thanks for quick reply
I know how to use the CAB SENDER
I just meant that if I add the oemavatar.cab is an application ZUNE should show a picture that is in that file ... if you connect phone to the PC .
If I add the original cab of Omnia 7 (OEM / ZUNE_PIC) ZUNE shows the picture of the Samsung ... if I add my cab file , zune does not show what's there ...
as if the program can not read information from a cab file
I enclose two cab files ...
I found a solution
You should post it! That way, future people with the same or similar goals don't have to post another request for help, they can just search and find it.