Related
Is possible to group several cabs in one cab?
I want it to save in the Extended Rom of my TyTn, so that when I do a HardReset, automatic it starts to install all the modifications of registry and some programs that I have in several cabs from the pocket, without need of pc.
I search on the forum, but I don´t find any solution.
Thanks
Well first off, if you use the autorun.exe that already exists in the extended ROM and modify its configuration file (the name may be different for different devices, but it is usually a plain text file) you can get it to install several cabs in sequence.
Combining cabs is not always possible unless you are the one who created them in the first place.
Get a program called CE Cab Manager. It will show you everything that a given cab includes and let you edit it. As long as it's just files and registry settings there is no problem stuffing them all in one cab.
But if a two cabs contain a setup.dll there is no way of combining them without knowing exactly what that DLL does (it could be anything) and thats almost impossible (unless you can read ARM assembler well).
tristan1412 said:
Is possible to group several cabs in one cab?
I want it to save in the Extended Rom of my TyTn, so that when I do a HardReset, automatic it starts to install all the modifications of registry and some programs that I have in several cabs from the pocket, without need of pc.
I search on the forum, but I don´t find any solution.
Thanks
Click to expand...
Click to collapse
what levenum said is correct... so the best thing for you to do is to edit the config.txt file in your extended rom to have them install... HOWEVER if the cabs you are using arent digitally signed then they wont install using that method, you would need to disable the security first... Since no one has a signed disable security cab that works with the tytn the only option would be to do this on a hard reset; soft reset before the customization, when it boots run the tweak program to disable security, then go to the windows directory and manually launch the preautoconfig.exe
software alternatives
tristan1412, you can also use a software dedicated to this task.
check spb airsetup (www.spbsoftwarehouse.com, i'm not sure if it allows more then one cab), or even better airwizard (http://www.teksoftco.com/index.php?section=airwizard)
the advantage of these programs is in my opinion the compression. then you also get several options like readme/eula (with airwizard you have spash image support and even sd card output support - that creates autorun content for the sdcard)
hope this helps
RM
shogunmark said:
....HOWEVER if the cabs you are using arent digitally signed then they wont install using that method, you would need to disable the security first...
Click to expand...
Click to collapse
First of all, thanks for the answers.
now, How can signed digitally my own cabs??
Hi,
I've programmed a small MFC-based Visual c++ application which I want to start automatically on boot on an ARTEMIS device. The earlier the app starts, the better. Thus, rather than creating a shortcut in windows\Start up, I decided to add a registry entry into HKLM/init as "Launch90" "myApp.exe" The executable is placed in the /Windows directory.
But it does not start as expected, just occasionally. I got the impression that the application comes up only the second or third reboot (soft reset) after installing the CAB file. After other reboots, no indication why the application fails.
I have already tried to vary the number right to "launch" in the key, tried to set a dependency, set the MFC to static and to dynamic, but the application does not start. (by the way, it works well when adding a shortcut to the start up directory). I have no idea why it does not work with the registry approach. Do I have to consider something special for such kind of applications?
thanks in advance for any idea...
Gunther
Is it signed or authorized?
When you run your application your device asks you if it is OK to run because it is not signed (unless you disabled that in security settings).
If you answered yes once, it won't ask again.
However if you try to launch unsigned and unauthorized app from init it will just ignore it.
Another possibility is that your app is trying to access an unavailable resource (maybe something on storage card?) and crashes. Make sure everything it needs is available during init stage.
I guess the signing issue is one of the reason for the problems. I've in the meantime created an individual certificate, installed it on the device, and signed my application with that cert.
The behaviour improved: At most reboots, my application comes up as expected. But sometimes it does not. I just rebooted my device 5 times, 4 times it worked and once, launching the app failed. Another reboot again succeeded.
Do you think when launching the application with the reg setting "Launch95", it sometimes happen that the MFC DLL can not be accessed (it is linked during runtime)?
Create somewhere shortcut to execute your exe with one and only one parameter: "90"
Something like this:
Code:
0#\windows\myApp.exe 90
If app doesn't start - read this thread:
http://forum.xda-developers.com/showthread.php?t=302013
initlauncher may be method for vjtoggletoday missing tray..hmmm.
thx for that topic.
Thanks for the hints, but I'm still not satisfied with the outcomes. I've implemented the InitLauncher.exe (with slight modifications) and it works also with multiple reboots. But then I did a "hardcore test": I rebooted the device, InitLauncher.exe was executed and the second application came up. Then I've removed the battery. Since then it does not anymore work.
The certificate is still listed in the device, but could it be that something happened to the cert by killing the system? (For installing the cert, I simply copied the myCert.cer to the root directory and executed the cert installer by tapping the cer file.)
Or could the signature of the executable have been damaged? Any idea how to avoid such problems?
Addendum to my last post: I've now tried to re-install the Certificate on the device by again clicking the *.cer file - autostart worked again. Thus, I assume that something happened to the certificate on the mobile device. But the question is: WHAT happened...?
I recommend to you test all in emulator at first.
Or make hard reset and test on clear system.
I did a hard reset, re-installed the application and tested again. On warmstarts, it mostly works, but not everytime.
And there's another thing that puzzles me: When I create the CAB-Installer, all modules get signed using the signtool. If one of the modules is replaced (e.g. the replacement .exe is just copied to the device and overwrites the existing one), on first start the device always pops up a security warning as it does with unsigned apps, although the new exe has been signed as well.
Could this be caused by using a proprietary signature rather than one of the commercial pre-installed ones?
I furthermore used the signtool to sign the CAB file (I also tried to include the certificate through a pre-XML file when creating the CAB file) - however, this has no effect: Anytime the CAB is being executed on the device, the security warning pops up...
Possible you use wrong sertificate?
please show name of it.
Also don't forget to install certificate on device!
Basically, its a self-created certificate. The certificate is acutally installed on the device (copied the .cer file to the device and clicked it - it then shows up in the device's certificate list)
When signed applications are manually started on the device there is no security warning. Thus, I assume that the signature of the executables and the installed cert match.
Again back to the start-up problem: When using user-created certificates and when autostarting apps through HKLM/init: Do these apps have to wait for another module to be loaded first?
Không vào được màn hình Home của DVD trên xe hơi chạy winCe 6.0. Xin giúp đỡ.
Hello friends !
I'm living in Vietnam
I recently accidentally reinstalled the system of the DVD in the car.
Run operating system win CE 6.0
Now it's time to start it straight into win without going to the default home screen of your head. I've been able to understand but can not do anything else to make the situation better. Currently the new room is not possible.
Can you just help yourself to boot it (the app home line is: \ Residentflash2 \ app \ home.exe).
I hope you help me. You can instruct yourself how and if any editing software. I would like to thank !
Email: [email protected]
---------- Post added at 07:59 PM ---------- Previous post was at 07:56 PM ----------
Hello friends !
I'm living in Vietnam
I recently accidentally reinstalled the system of the DVD in the car.
Run operating system win CE 6.0
Now it's time to start it straight into win without going to the default home screen of your head. I've been able to understand but can not do anything else to make the situation better. Currently the new room is not possible.
Can you just help yourself to boot it (the app home line is: \ Residentflash2 \ app \ home.exe).
I hope you help me. You can instruct yourself how and if any editing software. I would like to thank !
Email: [email protected]
Hello friends ...I accidentally deleted the file \ Residentflash2 \ app \ home.exe . Any one can send me this file ? My double din not work any more .
Ok found ICSinstall.cab on here and installed it, soft reset, and attempted to install the latest version of the WMWifiRouter program (which I finally succeeded in sourcing!).
However I get a message telling me cryptically that it 'cannot be installed' after attempting install. I wonder if this is related to ICS...
I now have the InShrUI.exe file in /windows/ *but* attempting to run it gives:
'The file 'IntShrUI' cannot be opened. Either it is not signed with a trusted certificate or one of it's components cannot be found. You might need to reinstall or restore this file.'
I reinstalled it over itself (i.e. ran the cab again) same error.
:-/
Was this the right file? I seem to remember it was dated 11th January 2008??
Thanks again for hte help folks!
I should say I'm running Microsoft Windows Mobile Version 5.0 (OS5.1.195 (build 14955.2.3.0).
Lastly I should say I've started a new topic as the last one was getting a bit off topic my original concern having been answered :-D (thanks guys!)
probably you only opened a shortcut (*.ink) and the shortcut pointed to a not existing file. Another thing is that it also was intsalled correctly (the *.exe), but the dll's or whatever are not installed.
Regards
Thanks. I'll try redownloading and repeating.
I was wondering if the file needed signed with some unique private key or something?
Anyways will give it a shot and report back
softonic123 said:
probably you only opened a shortcut (*.ink) and the shortcut pointed to a not existing file. Another thing is that it also was intsalled correctly (the *.exe), but the dll's or whatever are not installed.
Regards
Click to expand...
Click to collapse
Thanks for your suggestion I'm now a tiny bit further on.
On soft resetting the PPC I get the following error:
'Pocket PC Networking
Unable to obtain a server assigned IP address. Try again later or enter an IP address in Network settings.'
InShrUI is still giving the same error as before (and it's definately the .exe file I'm clicking).
However the improvement is: This time WMWifiRouter succeeded in installing...
However the same PPC networking error occurred during the install. I could probably tweak whatever is causing that error to use a static IP address rather than DHCP probably...but it's kind of dodging the problem.
And as said before I can't launch IntShrUI without getting that error. This time there is a shortcut to it though in program files.
I should also say that neither the executable or the shortcut has an Icon Image (i.e. it's the default no icon blank) so I suppose it might be the .exe file that's corrupt (since the shortcut get's it's icon from there I think?).
Last but not least:
WMWifiRouter reads:
Code:
'Not Connected'
Waiting for connection
I suspect the problem must lie with InShrUI but then again I'm a noob so I'll wait for the XDA gods to come and share their wisdom!
MrVarioII said:
Thanks for your suggestion I'm now a tiny bit further on.
On soft resetting the PPC I get the following error:
'Pocket PC Networking
Unable to obtain a server assigned IP address. Try again later or enter an IP address in Network settings.'
InShrUI is still giving the same error as before (and it's definately the .exe file I'm clicking).
However the improvement is: This time WMWifiRouter succeeded in installing...
However the same PPC networking error occurred during the install. I could probably tweak whatever is causing that error to use a static IP address rather than DHCP probably...but it's kind of dodging the problem.
And as said before I can't launch IntShrUI without getting that error. This time there is a shortcut to it though in program files.
I should also say that neither the executable or the shortcut has an Icon Image (i.e. it's the default no icon blank) so I suppose it might be the .exe file that's corrupt (since the shortcut get's it's icon from there I think?).
Last but not least:
WMWifiRouter reads:
Code:
'Not Connected'
Waiting for connection
I suspect the problem must lie with InShrUI but then again I'm a noob so I'll wait for the XDA gods to come and share their wisdom!
Click to expand...
Click to collapse
Is there no1 who can answer this? Anyone got any ideas?
Device is a hermes (T-mobile Vario-II) running WM5.....
There's one MAN point up for grabs for whoever can solve it!
I tried installing WMWifiRouter 0.89 onto a ROM which didn't have ICS included (which meant I had to try the same route you did) onto my Vario 2... I just couldn't get it to work, and I spent a while trying to make it work too.
I'm figuring that there's some deep-seated DLL or system association which ICS needs, which isn't configured if ICS is stripped out of the ROM - I ended up just reflashing with another ROM (the T-Mobile WM6.0 official ROM) and ICS and WMWifiRouter works fine.
Sorry that's not a solution, but it's the only way I could get it to work. Not an expert ROM cooker, so my knowledge of how ICS is stripped / included in ROMs is fairly limited, though I understand the concepts and techniques.
Thanks for your help Christopher.
I considered flashing a working ROM. My worry is about losing all the programs I have installed on the device (it took a long time to get it *this* customised ;-) ) is there any way to flash the new ROM while keeping the old registry entries etc. for registering my programs (Especially those I've bought such as Oxford Handbook of Clinical Medicine - which I cannot register anymore)? ...
Or could I somehow back up the registry and restore it later (I know that's likely to be a dangerous idea...perhaps simply the file associations and programs stuff -the windows mobile section?)
Thanks bro!
MrVarioII said:
Thanks for your help Christopher.
I considered flashing a working ROM. My worry is about losing all the programs I have installed on the device (it took a long time to get it *this* customised ;-) ) is there any way to flash the new ROM while keeping the old registry entries etc. for registering my programs (Especially those I've bought such as Oxford Handbook of Clinical Medicine - which I cannot register anymore)? ...
Or could I somehow back up the registry and restore it later (I know that's likely to be a dangerous idea...perhaps simply the file associations and programs stuff -the windows mobile section?)
Thanks bro!
Click to expand...
Click to collapse
Bumping as no replies for ages
Anyone?
Bumping again as no replies for a week or so
Bumping again to ask if anyone knows a way of slving this without having to reinstall all my programs, re register them, and reconfigure everything? (which I suspect installing a different ROM will do?) is it possible to back up the registry entries for all of my programs then do the ROM upgrade and restore the registry entries from my other programsMost of my programs are installed on the microSD card anyway (i didn't want to use up the main memory and slow the device up).??
If so how?
Thanks again folks !
I have the same problem...
I cant seem to find the answer but will continue to try.
if your programs are installed on your memory card then chances are you should be able to past shortcuts into the programs directory after reflashing. I tend to do this BUT I have found some programs that need to be re-installed or re-registered. Backing up registries can cause SERIOUS problems in itself so I would 1st do a full backup of your system (try spb backup, it backs up EVERYTHING on the phone then re-installs the lot so it seems like you never had a problem..) then flash. Try putting on shortcuts and if you have no luck you have the choice to start again on the new os or reflash to old and then restore backup (old problems wil still be there). Hope this helps.
Ps. I use resco explorer instead of the crap file explorer on the phone. It allows MUCH more versatility to do as I want. Cheers....
Hi,
After a hard-reset I found wmwr_cprog.exe on my internal storage under programmes. Since I did a hard reset and thus thought this program wouldnt be installed anymore, I deleted the file, not knowing what it was for.
Now everytime I want to start my phone I get the message "The file 'wmwr-cprog' can't be opened. It isn't signed with a trusted certificate or one of the components can't be found. You might need to reinstall it or repair it if this problem keeps returning' (free translation from a dutch ROM).
What can I do and how can I do it. A quick answer is much appreciated since I cant make nor receive phonecalls and I am at work :-(.
Thanks in advance!!!
Solved
Posting the solution if someone else has or will have this prob in the future:
KB0808022: "The file 'wmwr_cprog' cannot be opened" error message after uninstalling WMWifiRouter
wmwr_cprog is an executable used to allow WMWifiRouter to work on devices that do not have actual voice capabilities, like the EM-ONE. Sometimes this application is not removed from the registry correctly when uninstalling WMWifiRouter, which can cause your phone to give you error messages.
To fix the error, you will need a registry editor, like PHM RegEdit (to use on your device itself) or MobileRegistryEditor (MRE) (to use on your computer and edit the registry over an ActiveSync connection).
Once you have launched your registry editor of choice, change the:
HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Rai\:MSCProg\1
entry from:
wmwr_cprog.exe
to:
cprog.exe
Close the registry editor, and wait two minutes - to make sure your device has saved the changes - and soft-reset your device. After the soft-reset, everything should be working as normal again.
Bartse said:
Posting the solution if someone else has or will have this prob in the future:
KB0808022: "The file 'wmwr_cprog' cannot be opened" error message after uninstalling WMWifiRouter
wmwr_cprog is an executable used to allow WMWifiRouter to work on devices that do not have actual voice capabilities, like the EM-ONE. Sometimes this application is not removed from the registry correctly when uninstalling WMWifiRouter, which can cause your phone to give you error messages.
To fix the error, you will need a registry editor, like PHM RegEdit (to use on your device itself) or MobileRegistryEditor (MRE) (to use on your computer and edit the registry over an ActiveSync connection).
Once you have launched your registry editor of choice, change the:
HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Rai\:MSCProg\1
entry from:
wmwr_cprog.exe
to:
cprog.exe
Close the registry editor, and wait two minutes - to make sure your device has saved the changes - and soft-reset your device. After the soft-reset, everything should be working as normal again.
Click to expand...
Click to collapse
thx problem too
Windows Mobile Package Manager 0.0.2
Windows Mobile Package Manager will help you to create software bundles and install them on WM device unattended.
Currently, it's only early pre-alpha software, to ensure that concept is working. So, expect software crashes
Description:
The life of WM device, is hard. Constant ROM flashing, re-install everything, or recover from backup. Owning WM device for an year, I really hate to reinstall everything after new ROM flash, so i decided to make software that will capture the essence of "your device":
With this application you can create package, that will do those things:
Install software that you like
Restore application configuration / settings (via registry)
Copy your files to device (video / pictures / etc.)
How it works:
Every .cab file, have information about itself. What it's name, how it should be installed and where. This application WILL MODIFY .cab information, so that it will be installed to the path, that you want. This is done, to allow unattended installation. (maybe you have a better solution than wceload.exe /noaskdest /noui /nodelete)
Screenshots:
Usage video:
http://www.youtube.com/watch?v=dtm8OBDjH0c&feature=PlayList&p=2AEC932FAB308057&index=0&playnext=1
Download:
http://sonicflare.net/wp-content/uploads/2010/01/WMPackageManager_0.0.2.zip
Great Work... looking forward to see the "TODO" workin'.
good work, waiting for your next versions!
couple of suggestions:
- integration with XDAUC
- add \Internal Storage\Program Files
- auto-load last configuration
- fix the typos in: "Instalation path managment" => "Installation path management"
natanp said:
good work, waiting for your next versions!
couple of suggestions:
- integration with XDAUC
- add \Internal Storage\Program Files
- auto-load last configuration
- fix the typos in: "Instalation path managment" => "Installation path management"
Click to expand...
Click to collapse
1. What is XDAUC? Kind a.. never heard of it
2. You can add it manually, and it should be saved for you, when you start app next time.
3. Ok
4. Ok. Anyway, this screen will be re-design
Great Work... looking forward to see the "TODO" workin'.
Click to expand...
Click to collapse
Registry import, is almost complete, file copy should be simple to do.
It will generate .cab file for your .reg file. This was the easy way to implement this. But there is a drawback.. it does not allow non-ASCII characters in registry section of the .cab setup.
Updated to 0.0.2
Changes:
* Added registry support.
* Added file copy support.
* Updated usage video.
Feel free to try it
One question...
I export the Reg files with SKTools, but when i import them to your aplication there's no registry file tree...
Can you explain how to backup the reg files?
Thanks and keep up the good work!
p.lepes said:
One question...
I export the Reg files with SKTools, but when i import them to your aplication there's no registry file tree...
Can you explain how to backup the reg files?
Thanks and keep up the good work!
Click to expand...
Click to collapse
hm, can you attach your .reg file that was not parsed correctly?
did you by any chance exported the whole device registry (ie registry backup?)
Provisioning xml files support
Would you add support for parsing provisioning xml files?
Great app! Are you planning to make a mobile version (for making changes 'on the fly')? Another superb option for mobile version would be backup! For backing up current registry entries (specified in a ini file - something like in this app http://forum.xda-developers.com/showthread.php?t=491175).
mari8b said:
Would you add support for parsing provisioning xml files?
Great app! Are you planning to make a mobile version (for making changes 'on the fly')? Another superb option for mobile version would be backup! For backing up current registry entries (specified in a ini file - something like in this app http://forum.xda-developers.com/showthread.php?t=491175).
Click to expand...
Click to collapse
1. hm, to restore provisioning.xml? Could be possible.
2. For the mobile version... it defeats the purpose of this app As you can make changes on PC very quick. For the PocketPC version.. i have a doubt about it.
3. Currently you can use CERegEditor to export specific application keys. Again on PC with mouse I found this idea interesting.. but we will see how things will move
SonicFlare said:
1. hm, to restore provisioning.xml? Could be possible.
2. For the mobile version... it defeats the purpose of this app As you can make changes on PC very quick. For the PocketPC version.. i have a doubt about it.
3. Currently you can use CERegEditor to export specific application keys. Again on PC with mouse I found this idea interesting.. but we will see how things will move
Click to expand...
Click to collapse
1. Great!
2. I understand you but don't agree, that it defeats the purpose of this app. I would say it extends its usage (I can imagine, that I need it, but don't have my laptop with me... and this isn't only imagination - I already use some tools to do that). No doubts, that on a PC you can make it more comfortably, but...
3. I know and I use CeRegEditor often, but when I can use just one app... Another thing I can make a real up-to-date backup (many apps have their settings in registry and settings can change from time to time). This option would be great specially for the mobile version.
4. And what about restoring PIM backup (e.g. from PPCPIMBackup)?
I am a flashing junkie and I'm searching for such app for a long time (I wish I could make my own app, but I'm not a programmer).
I hope you understand 'my' english
mari8b said:
1. Great!
2. I understand you but don't agree, that it defeats the purpose of this app. I would say it extends its usage (I can imagine, that I need it, but don't have my laptop with me... and this isn't only imagination - I already use some tools to do that). No doubts, that on a PC you can make it more comfortably, but...
3. I know and I use CeRegEditor often, but when I can use just one app... Another thing I can make a real up-to-date backup (many apps have their settings in registry and settings can change from time to time). This option would be great specially for the mobile version.
4. And what about restoring PIM backup (e.g. from PPCPIMBackup)?
I am a flashing junkie and I'm searching for such app for a long time (I wish I could make my own app, but I'm not a programmer).
I hope you understand 'my' english
Click to expand...
Click to collapse
2. Yes, but it's not the main use-case It's just adds additional overhead for the development, as you have to sync the mobile client and the PC client. If for example mobile client is used only by 2-3 people
3. I'm already thinking for a way to do that Probably via ActiveSync. So, for example in the UI you could define, what registry keys should be backuped, save this info in some config, and re-apply to different device. Again ,when you creating package, you can attach your WM device, and get those registry keys on the fly to the app. Something like.. live migration from WM device
4. Yes, this is good idea Again, goes well with the described above
Yes, I also like to try new ROMs.. and also was searching for something like this.. or at least the automatic .cab installation Didn't find app that suits me.. so decided to make one
I got some errors by restoring (copying) folders: e.g. "Could not find file 'Storage Card\CopyApplication Data' (when I want to restore Application Data folder).
Is it a bug or is just by me?
thx
Many Thanks
Thanks for this wonderfull application
I know there are some other auto installation programmes, but I find this program very simple and usefull. Please continue to develop it.
I only try software install software, not registry nor file transfer.
Up to now, I found a small bug :
During software installation (nearly 14 items) process, the information at the info page disappeared at the middle of installation. But after the installation finished, "Installation Finished" explanation displayed.
Could you please include a SETTING Page to select which programmes will be installed. For now, it can only be used during the first full installation. According to me, Selection option will be very usefull and make your wonderfull programme better and usage
Again my thanks and hoping to see new versions.
mkucuksari said:
Thanks for this wonderfull application
I know there are some other auto installation programmes, but I find this program very simple and usefull. Please continue to develop it.
I only try software install software, not registry nor file transfer.
Up to now, I found a small bug :
During software installation (nearly 14 items) process, the information at the info page disappeared at the middle of installation. But after the installation finished, "Installation Finished" explanation displayed.
Could you please include a SETTING Page to select which programmes will be installed. For now, it can only be used during the first full installation. According to me, Selection option will be very usefull and make your wonderfull programme better and usage
Again my thanks and hoping to see new versions.
Click to expand...
Click to collapse
1. you mean, that during instalation on your device, the screen of app does not refresh? This could happen, as the instalation process takes all available CPU. I was thinking about making re-draw in the high priority thread, but then.. it's only drawing pictures and not adding value.. so it was left as it is, to give more resource for application installatin.
2. yes, this could be done
SonicFlare said:
1. you mean, that during instalation on your device, the screen of app does not refresh? This could happen, as the instalation process takes all available CPU. I was thinking about making re-draw in the high priority thread, but then.. it's only drawing pictures and not adding value.. so it was left as it is, to give more resource for application installatin.
2. yes, this could be done
Click to expand...
Click to collapse
Hi again,
Yes, the screen of app does not refresh. So I could not see which programme was installing at that time
Thanks for accepting my request.
Cool thanks!
Any New Version please
Any New Version. Waiting it
Sorry, not yeat
Thanks, I really like this because UC didn't work well for me. It is really nice and it almost looks like an official app. Great work!
Thanks
This is a great concept. As a "mad ROM flasher" this will save me lots of time and head aches. Looking forward to seeing the development of this APP. Keep up the great work!