I have developed an application using J9 that runs in windows mobile. but now I want it to package in a single installer(.cab), that should copy the J9 files, my application and its dependencies to a folder in the mobile, and creates so开发者_StackOverflow社区me shortcuts(.lnk) files. Any suggested tool that I can use to create the cab file?? Thanks!
The correct (and likely only) tool for the job is cabwiz.exe. It's shipped as part of all of the WinMo SDKs as well as Visual Studio. I'm not aware of any separate download for it. There are some separate third party tool, like cab-o-matic, but be aware that all of these tools simply "wrap" cabwiz.exe underneath, so you still need it.
cabwiz is pretty well documented online in MSDN, and there are several tutorials from third parties as well.
One of the reasons I didn't want to go to the visual studio is because I mainly develop in linux. Never though there was a linux application to create .cab files, but there is one, it is called lcab, and the other is pocketpc-cab, I think the second uses the first one but Im not sure. Anyway I create my cab file using the second tool and tested in windows mobile and it works. I got all that I need it without having to install a whole SDK, and even better without changing to any other OS, I definitely have to love linux and its community.
精彩评论