HKEY_LOCAL_MACHINE\init - App does not start - Windows Mobile Development and Hacking General

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 .

Related

MS Reader Activation Instructions (oeminfo.xml)

Sorry if it's already posted somewhere, but I couldn't find it and I feel sorry for the woman having to reply to so many people individually...
You'll need to log in to download the file...
If you don't have a wizard (vario, mini-s, k-jam etc) then you need to email her to ask her for the file for your device. Please post it on this thread so that other people can find it.
UPDATE LOG
****************************************************
21 Jan 2009
0. Added thread information to this summary
1. Changed URL's to work with the new MS Reader site
2. Added the instructions below for differences in the activation procedure IF YOU ARE RUNNING VISTA
3. Added note about fActivation
4. Added note about secrep.cab
22 Jan 2009
0. Added extract from MS site re: activation instructions.
****************************************************
24 Jan 2009
0. Added Clit (hehe) download link.
****************************************************
SPECIAL ACTIVATION INSTRUCTIONS IF YOU ARE USING VISTA
****************************************************
0. Select the URL below, right-click and select copy
http://das.microsoft.com/activate/en/default.asp
1. In the Start Menu, click on All Programs, right-click on Internet Explorer
icon and select Run As Administrator
2. Click Allow if you get a User Account Control credential prompt
(if you are not running as local administrator, you may be prompted to
enter administrator credentials)
3. Right-click in the address bar and paste the URL. Press enter
4. Now click the "Sign In" button to begin the activation process
5. Note: After Microsoft Reader activation is completed, please close the
elevated Internet Explorer window.
****************************************************
WORK AROUND FOR MISSING OR INCORRECT OEMINFO.XML FILE
****************************************************
Christine [[email protected]] supplied the following file to activate:
MS Reader (http://www.microsoft.com/reader/downloads/ppc.aspx)
Installation instructions below:
Attached please find the file you requested. This file should work for all three devices. You can install this file by doing the following:
0. Unzip the file oeminfo.xml
1. Cradle your device
2. Open Activesync on your PC
3. Let the device sync up to the PC
4. Click on the "Explore" button in Activesync
5. Go to Tools | Folder Options
6. Go the "View" tab
7. Go to the "hidden files and folders" section
8. Check "Show hidden files and folders"
9. Uncheck "hide extensions for known file types"
10. Uncheck "Hide protected operating system files (You will likely want to reset this setting back once you have sucessfully completed the activation process.
11. Close the Folder Options dialog
12. Click on the "My Windows Mobile Device" folder
13. UPDATED: Copy OEMINFO.xml to the ROOT folder ("\") on your device
14. UPDATED: Copy the OEMINFO.xml file from the ROOT folder to the WINDOWS folder.
15. If you are prompted that this file already exists don't worry, that's good, just email me back for further instructions.
16. Soft reset your device
17. Once the device has been soft reset you may once again attempt activation. Please note that your activation component must be installed to the default/device location in order to function properly with the Microsoft Reader. Failure to do so will result in further errors/issues.
If this error continues after trying these steps please go to http://www.microsoft.com/reader/info/support/ppc/default.aspx and either submit a support request or contact Microsoft Reader support at the toll free number listed (1-866-834-8317) for continued support.
Sincerely,
Christine - Microsoft Reader Team
To activate once the file is installed, go to http://das.microsoft.com/activate/en/default.asp?
Update: See special instructions for VISTA users.
TRY THIS FIRST...
****************************************************
User: obe1e has suggested:
"You may want to find your old backup file and extract it from there, There is a file called secrep.cab if you can find it and install it.
That's the file that installs the secure components to your device with you account info. You must use you own secrep.cab file
as it is unique to your own MS account."
RESETTING THE 6 ACTIVATION LIMIT
****************************************************
UPDATE: See the following extract from http://www.microsoft.com/reader/info/support/faq/activation.aspx#5
"How many copies of Microsoft Reader can I activate?
You are entitled to activate Microsoft Reader on up to six different devices using the same Microsoft Passport account. However, certain actions such as reformatting your hard drive and performing a full reset of your Windows Mobile device will require you to reactivate your device, which may count against this initial quota. If you reach your activation limit, you can request additional activations using the activation request form provided during the activation process."
You can request extra activations legitimately from http://das.microsoft.com/activate/en-us/extraRequest.asp?ExtraQuota=Y&Language=en-us
There is also a work-around for the 6 activations limit; see:
"this interesting post about FActivation: http://forum.xda-developers.com/showthread.php?p=2677685#post2677685 "
[Thanks to obe1e for the post]
REMOVING DRM FROM .lit FILES
****************************************************
I have today received instructions from MS technical support to say that they don't have a version of Reader for WM6 or WM6.1. I've asked if there are plans but haven't had a response yet. So...
A quick google search reveals...
There is a program called ConvertLIT GUI avaliable from http://dukelupus.pri.ee/convertlit.php which is a bit complicated to work out but can be used to remove the DRM protection from all your .lit files in about 30 seconds. That means that you won't need to activate!!! Yay!!!
I have a QTEK 9100 upgraded with the T-Mobile 2.26 ROM but I still cannot activate.
I can see the OEMInfo.xml file and it appears to be the same as attached here.
I therefore assume I need a new version but the problem is the file appears to be read-only i.e. I think it's in ROM
Any ideas how I can update/modify the file?
I have followed the message above but the file is apparently read only Therefore I cannot change it
Activation in WM6
Just a note to say that there is also a problem activating Microsoft Reader when WM6 is installed (I have a variant of the Faria ROM).
If you follow the instructions above, then go to the activation page at microsoft as before you can activate.
I am not sure what you people try but to activate Microsoft Reader you only have to login and click ACTIVATE my Pocket Computer.
Thanks
There is a problem with some versions of MS Reader that prevents the "Activate" button from working on the MS site.
This isn't a crack to make Reader think it's activated, it's a file that should be included in the install and isn't (sometimes).
If you google for the file oeminfo.xml you should find what 'us people' are on about. It took me about two days of serious thread reading to work out how to fix the problem in the first place, hence why I posted a summary here. Since only two people have replied to this thread in over a year I'd say it's not a common problem, but it is an annoying one (or people don't use reader).
I'd be interested to know:
What device do you have?
What OS do you have?
What version of IE to you have?
What Desktop OS do you have?
Also, what are the files you've uploaded? Do they activate reader in a false name? Will properly purchased and DRM protected ebooks work with them?
oeminfo.xml file
thank you soo very much for this attachment, it totally worked and now i can view my ebooks that wouldnt open prior to the placement of this file
very happy!!
Glad to Help
Glad my post has been usueful.
seems 'us people' now number 3.
cannot open premium ebooks
hi,
I noticed that this thread had some detailed solutions for MSReader, and I hope somebody can help me with my problem.
I seem to be having a MSreader problem. I cannot open any ebooks that I've ordered online on my handheld pocketpc. Let me sum it up:
Device: HTC TyTn
OS: WM6 (official release)
Ok, I have the latest versions of MSReader for both my desktop pc (2.5..) and my ppc (2.4.1 build blabla). Both have been successfully Activated. I can open the ebooks on my desktop pc. But when I try to open them on the handheld, MSReader just crashes, no error messages, nothing.
I have been trying to figure this problem out for about 2 weeks now, and nowhere have I found a solution. MS doesn't have support for this, and I'm beginning to feel as if I am the only one with this problem.
I've reinstalled and reactivated MSReader for my pocketpc many many times, to no avail. Installation and Activation both have no problems, yet I still can't open premium ebooks. I've also copied the ebooks to the pcc's main memory, but that didn't help either.
I've run out of ideas. Would greatly appreciate any help!
Thanks
And another, Thanks.
js1210 said:
hi,
I noticed that this thread had some detailed solutions for MSReader, and I hope somebody can help me with my problem.
I seem to be having a MSreader problem. I cannot open any ebooks that I've ordered online on my handheld pocketpc. Let me sum it up:
Device: HTC TyTn
OS: WM6 (official release)
Ok, I have the latest versions of MSReader for both my desktop pc (2.5..) and my ppc (2.4.1 build blabla). Both have been successfully Activated. I can open the ebooks on my desktop pc. But when I try to open them on the handheld, MSReader just crashes, no error messages, nothing.
I have been trying to figure this problem out for about 2 weeks now, and nowhere have I found a solution. MS doesn't have support for this, and I'm beginning to feel as if I am the only one with this problem.
I've reinstalled and reactivated MSReader for my pocketpc many many times, to no avail. Installation and Activation both have no problems, yet I still can't open premium ebooks. I've also copied the ebooks to the pcc's main memory, but that didn't help either.
I've run out of ideas. Would greatly appreciate any help!
Thanks
Click to expand...
Click to collapse
Um, I know it won't help with stuff in .LIT format, but I'm rather partial to the mobipocket reader myself. For one, MS Reader is limited to a handful of activations EVER. If you go over that, you have to get a new .NET account and presumably none of your old ebooks will work with the new one. If you flash your device and have to reactivate, that counts as another of your activations. Need to do a hard reset, guess what, that's another activation. Mobipocket reader, on the other hand, will let you deactivate some of your old devices as far as I've been able to determine.
As far as your books go, have you been able to open them on your desktop? Also was your PPC activated using the same .NET passport account that the books were purchased with (see my note above about the limited number of activations). If it wasn't, you won't be able to activate them. In that case, I would recommend that you look into some DRM removal software for them. Of course, if you are in the United States then removing the DRM on the ebooks that you purchased makes you nothing but a petty criminal thanks to the DMCA. But if you can live with the guilt then that's the route I'd take. Here's a couple of places to get you started. Link 1 Link 2 There may be others, YMMV.
Can't copy oeminfo.xml onto windows mobile directory
Hi there
I did follow these instructions, but I can't copy the oeminfo.xml file to the mobile windows directory because the OS says it's protected. Can't unprotect from Windows, and couldn't do it from PDA either. Got any ideas?
eayuwna said:
Sorry if it's already posted somewhere, but I couldn't find it and I feel sorry for the woman having to reply to so many people individually...
You'll need to log in to download the file...
If you don't have a wizard (vario, mini-s, k-jam etc) then you need to email her to ask her for the file for your device. Please post it on this thread so that other people can find it.
********************
Christine [[email protected]] supplied the following file to activate:
MS Reader (http://www.microsoft.com/reader/downloads/ppc.asp)
Installation instructions below:
Attached please find the file you requested. This file should work for all three devices. You can install this file by doing the following:
0. Unzip the file oeminfo.xml
1. Cradle your device
2. Open Activesync on your PC
3. Let the device sync up to the PC
4. Click on the "Explore" button in Activesync
5. Go to Tools | Folder Options
6. Go the "View" tab
7. Go to the "hidden files and folders" section
8. Check "Show hidden files and folders"
9. Uncheck "hide extensions for known file types"
10. Uncheck "Hide protected operating system files (You will likely want to reset this setting back once you have sucessfully completed the activation process.
11. Close the Folder Options dialog
12. Click on the "My Windows Mobile Device" folder
13. Click on the "Windows" folder
14. Drop the file attached into this folder
15. If you are prompted that this file already exists don't worry, that's good, just email me back for further instructions.
16. Soft reset your device
17. Once the device has been soft reset you may once again attempt activation. Please note that your activation component must be installed to the default/device location in order to function properly with the Microsoft Reader. Failure to do so will result in further errors/issues.
If this error continues after trying these steps please go to http://support.microsoft.com/oas/default.aspx?LN=en-us&gprid=2748&x=9&y=5 and either submit a support request or contact Microsoft Reader support at the toll free number listed (1-866-834-8317) for continued support.
Sincerely,
Christine - Microsoft Reader Team
****************
To activate once the file is installed, go to http://www.microsoft.com/reader/update and click the link "Activate my Device" on the right hand side of the page.
Click to expand...
Click to collapse
oeminfo for ipaq hx2490
I have the same problem.
tried the oeminfo file posted here- does not work with my ipaq. When I read the content it does not match my machine.
I tried msreadergirl a week ago and have had no reply (can't blame her, I'd be feeling sick after two years of this....) Can anyone send the right file please?
I have the latest version of MSreaderppc downloaded last week from the MS website. The ipaq is a repaired machine now with hx2490 board and running Windows CE 5.
I have XP with all service packs and IE6 on my laptop
I also have about 40 DRM protected books in msreader format that I can no longer read on my machine.......
thanks in advance
martin = reddinouk
I went through all this crap to activate my MSReader.. took me 2 emails to Christine before I got it to work, then I started cooking my own roms, doing hard resets, etc. and said "to hell with msreader, it's not worth the hassle" and it isn't. Quit buying DRM protected works...quit supporting this evil scheme. It's absolutely ridiculous the hoops you have to jump through to use something that you've paid for. Does MS support anything they release? Not as far as I see. The rich keep getting richer and we keep getting screwed. Instead of buying DRMed lit files, donate to project Gutenberg and read some old classics...
Of all the EBook formats out there, LIT files are the worst.
Indeed...
I have to say I am also getting sick of everything. It seems nothing actually works anymore except devices I don't want. I actually found myself impressed with my mates i-Phone the other day becuase it actually works. He loaded google maps and was poncing about so I did too. His worked, mine crashed.
If only I wasn't into .Net, push email, exchange servers etc and only wanted to do what Apple/TV tell me I want to do then I could have an i-Phone too... and I could start wearing a scarf...and a Harris Tweed coat with Winklepickers, but alas, I am a free spirit with my own mind, some pride and no dress-sense [sigh].
I'm sorry that you can't get MS Reader to work. I've stopped bothering now as I think Microsoft have. It seems stupid though since you can still buy MS Reader format books from big retailers like WH Smith and it's not really that bad a format. I certainly used to enjoy having a large library of classics with me whenever I went anywhere at short notice.
Anyway, just offically posting that I can't be arsed with reader any more. After two years of having to spend a few weeks fixing the bloody thing every time I buy a new phone I have given up.
(P.S> If anyone gets it to work on an MDA Vario III please post the instrucitions here in case I get tempted).
Hi all, i just wanted to say no probs with an xda orbit running 4.01 touch, i inherited over 200MB of ebooks with this phone all in LIT format, oh no is that drm copyright infringment lol probably came from a torrent any way hehe.
I am also unable to copy the file over to my windows directory. I have a Advantage 7510 M6.1
I tried the links above but the links are not found. I get that typical MS error message..."We are sorry, the page you requested can not be found...." yadadada.
Any idea what else I can try?
Regards,
Q
qsworld said:
I am also unable to copy the file over to my windows directory. I have a Advantage 7510 M6.1
I tried the links above but the links are not found. I get that typical MS error message..."We are sorry, the page you requested can not be found...." yadadada.
Any idea what else I can try?
Regards,
Q
Click to expand...
Click to collapse
Try copying to device root first and then from device us your explorer and copy to windows. It will say that file is in ROM and give you a warning. This will allow the file to be overwritten, but may not solve you problem with protected ebooks.
It seems there are serious issues with WM6 and msreader. I had been able to get it to work depending on the ROM and which version of msreader I use.
You may want to find your old backup file and extract it from there, There is a file called secrep.cab if you can find it and install it. That's the file that installs the secure components to your device with you account info. You must use you own secrep.cab file as it is unique to your own MS account.
I hope this is helpful to you and that it may prompt more dialog allowing someone smarter than I to figure out how to get this working consistently.
Right now I can't access my protected ebooks-even though my msreader is activated. This is a really bad implementation by MS.
There are some programs that allow you to extract msreader files-even the protected ones and convert them to html and other formats. I have done this, but I wish the msreader worked because I actually like it when it works.
Update: Check out this interesting post about FActivation: http://forum.xda-developers.com/showthread.php?p=2677685#post2677685
Update: Check out this interesting post about FActivation: http://forum.xda-developers.com/show...85#post2677685
Click to expand...
Click to collapse
FActivation works great.
If anyones interested, I've created a FActivated CAB and OEM for MSReader.
Yes, I've tried all those things too, the only thing that worked was 'Factivation'.

Software installation problems on WM5.0 and HTC Advantage.

Hello All,
I've got a HTC Advantage X7500, running WM5.0. I'm trying to install some of my company's software on the machine. The software package has installed fine on many other WM5.0 machines but fails on this one.
The install just reboots the machine towards the end of the install process. On restart, the machine beings the install process from the beginning.
If I look at the registry after the reboot I can see that all the registry entries in the install ARE in the machine registry, so it looks like the most of the install has been done. However, it does not get as far as calling my Install_Exit DLL routine.
So, I removed the custom DLL that I use during the install. But I get the same problem - it reboots and restarts the install. I have no reboots coded anywhere in the install.
I've tried attaching the Visual Studio debugger to what I think is the correct process on the machine but no errors are reported in the debugger, and the reboot goes ahead anyway. I even tried attaching the debugger to ALL processes on the machine, but that just hung the debugger :-(.
Does anyone have any hints for debugging installls, or any other handy ideas. Would I get any joy from the HTC support? (in fact does anyone have a developer support contact at HTC?)
Thanks,
John
Ah, OK. got it. Sit down, here's a little story.
I binary chopped my way through the install and found the offending section of the script. It was in the [RegSettings] sections, which is actioned by AddReg.
I was creating 8 subkeys or values under HKCR. These are to register two file extensions for some of our application data files. One of these was succeeding, the other was causing the reboot.
The one that fails is for an extension ".DCF". It seems that on the HTC Advantage device (and perhaps on all 5.0 devices) this file extension in already registered. (still, shouldn't cause the machine to reboot).
Here's where the paranoia kicks in.
As I was looking at this I was reading an article about DRM in Windows Vista (very interesting: http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.html)
So I was very amused when I noticed on the PDA that the "'.DCF" extension is described as "drmcontent" in the registry. Now, it may be a complete coincidence that "drmcontent" contains the acronym DRM, but I was amused nevertheless. Have the interesting attempts by Microsoft to add DRM to Vista had repercussions on Windows Mobile? or is the paranoia really getting to me?
Anyway, problem found, solution accepted (don't register that file extension), and bug reported (well it will be soon, the reboot really should not occur (remember it's not just the reboot, but the re-start of the install from the beginning after the reboot) ).
On a related note, I phoned the HTC support number here in the UK and was told that the only way I could get "developer support" was to write to head office in Taiwan (that's write mind you, not phone, not even email, good old snail mail).
Ah, roll on the weekend.
Thanks to all of you who took the time to read the original problem.
/john

The file 'IntShrUI' cannot be opened. Either it is not signed with

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....

Self deleting executable

Hello all,
I am trying to write an application in Visual Basic.NET 2008 for the Windows Mobile 5.0 platform. One of the features of the application is that it needs to have a "panic" button. The idea is that a user can run the application and press the panic button. The application should then terminate immediately and remove itself (the physical executable). A sort of self destructing program
The problem is that an executable cannot be deleted if it is running because the file is locked. It can only be deleted after the program has terminated, but after the program has terminated it is not possible to fire a delete command anymore.
I have done some investigation on the web and I found this article: http://www.catch22.net/tuts/selfdel
The article explains the problem and it also provides a few solutions. Unfortunately I am not familiar with writing C++ or assembler (too stupid ) ) so I have not been able to use "the ultimate self deleting executable code".
Is there anybody here that can help me a bit to get this working ? Any help is appreciated
There are two ways:
1. Use something else to delete you app.
2. Figure out the ASM root.
By your own admission, 2 isn't viable, so that leaves us with 1.
I can think of 2 ways to do it, a seperate App to delete yours, all the other app does is way 2 seconds and run, and keep running and retrying until the File is Deleted. Your app then calls it and quits.
The other way is to do the above process but use MortScript to delete and wait instead of an app. There's loads of Mort examples on xda.
Dave

[Q] RAPICONFIG (0x80042008) error

Hi guys,
I'm trying to provision a HTC Touch 2 with RAPI. After I run this:
Code:
rapiconfig /p config.xml
I get this:
Code:
Config failed (0x80042008): A fatal transaction failure has occurred. The device may be in an unknown state.
I'm clueless in what I can do to fix this, since the .xml holds the security policy settings for the device...
Ultimately, I need to install a few cabs through a script, with no UI during install. Which i'm running with rapistart by the way.
Some help would be greatly appreciated!
I don't know about this Rapi Neo, but you can use Dotfred's Taskmanager to import a xml.
Edit; no UI ok, so no way you can install Dotfred LoL, sorry.
Thanks Laurentius, I'll still have a look at that.
I'll explain my scenario a bit more.
I have to run a script which installs a few cabs (so no cab security etc) and then modify the start menu, so users are only able to run forementioned apps and a few standard things like contacts, sms, that sort of thing. Settings should be blocked or removed, so they won't be able to change any settings made before running the script.
The first problem arises with getting rid of the security. RAPIconfig usually was able to send a provisioning xml to the device (on wm6.1) and change the security policy keys in the registry. This time, i'm running it on a wm6.5 device. So i'm doing something wrong there.
And last but not least: I used to be able to run CeRun.exe in the script on wm6.1 (does almost the same as RAPIstart.exe, but is able to do multiple cab installs at the same time, without showing the installation on the device) and i'm wondering why it doesn't work in 6.5 anymore.
I guess no one ever used RAPI tools?

Categories

Resources