Related
Hello.
I have installed the IIWPO (theft protection) program manually (not in ROM) for testing purposes. After uninstall an error message appeared periodicaly. The error txt is "Cannot execute \windows\IIWPO_main.exe". Also I can not find any reference to this file in the registry (maybe faulty registry editor, PHM ?) or in the startup folder. Also tried searching in the file contents on entire device. No success. Please, help, this error message is pissing me off
might be late, but...
I had the same problem. It seems that the IIWPO_startup.exe writes an additional string somewhere (*.dll?) which forces the program to start. Btw. this means that it is not necessary to put it into the AutoStart directory, it should be enough to open it just one time after the installation.
Until someone finds the destination of this string there is a simple work around: just put a program file you always like to execute at startup (e.g. ClearTemp.exe) into your windows directory and rename it to IIWPO_main.exe. This will help :wink:
p.s. hexediting of the startup and main.exe does not solve the above mentioned problem but gives your iiwpo files and registry settings the desired personal touch to remain undiscovered
I uninstall my IIWPO easily. All you need is to reverse all the steps you followed during installation.
Remember to delete the line from config file in extended rom followed by a hard reset
Of course a HARD RESET will also solve the problem :lol:
I'm having this same problem....any solution yet??????
The reason for this is in the windows registry there is still a link to the program causing it to start. Use a program such as memaid which will find all dead links and delete them i had a problem similar to this with another program. Memaid solved it for me, hope it works for you also
The reason for this is in the windows registry there is still a link to the program causing it to start. Use a program such as memaid which will find all dead links and delete them i had a problem similar to this with another program. Memaid solved it for me, hope it works for you also
Thanks for the advice.........
unfortunately.............I tried memaid...........but it didn't solve the problem.....
anyone else?
Registry key location would be somewhere like HKLM to startup applications. Hard reset will definitely solve your problem.
Do check out www.cartystudios.com
Hi folks,
My first post on the list here. Hopefully I've come to the right place.
I have a M1500 SPV pocket pc device. I would like to customize the Start Menu items by removing two of them -Active Sync and Internet Explorer. I have made a cab file which makes changes to the registry and would like (if possible) to delete the above mentioned items from the start menu via making a change to the registry. I know I can delete the shortcut links from the Start Menu folder but I would prefer to do it via a registry edit if possible. Or if possible, use the same cab to delete the shortcuts from the Start Menu (not sure if this is possible!?)
I'm also looking for a way to hide *all* programs from the Start->Programs screen. Any ideas how to achieve this via a registry hack?
Best Regards and thanks a lot for any help,
dav7
Dan - do you want to delete the start menu ("\windows\start menu" and all subfolders and entry on the start menu?)
Or remove most recently used entries on the start menu?
Or programs in "\windows\start menu"?
Registry isn't really your friend here, other then for the MRU list.
V
Hi vijay555,
Thanks for the quick reply. I only want to remove certain programs from Start Menu, this one...
>Or programs in "\windows\start menu"?
I know if I delete those programs from My Device->Windows->Start Menu then it will remove them from the Start Menu without deleteing the actual program. I was just wondering if there was a way to do that via the registry? i.e. perhaps there is a key in the registry somewhere that lists the items to put in the Start Menu following a hard reset?
I am also looking to hide all programs from the main Programs page i.e. the Programs screen\page that shows all the actual Programs. I was wondering if there is a way to do that via the registry?
I know for example I am able to hide things that reside in the Control Panel settings i.e. Connections->Beam. I was wondering if there is a similar way to do that in the Programs screen?
Hope that is clear! or clearer!
Cheers,
dav
dAV:
sounds like you want to edit your startmenu.
Get a file explorer like GSFinder/Resco etc.
navigate to \windows\start menu
and delete/move everything you want to clear out.
V
perhaps there is a key in the registry somewhere that lists the items to put in the Start Menu following a hard reset?
Click to expand...
Click to collapse
heh problem is that the registry is reset when you do a hardreset
so it would just go back to default
same thing with the content of your \windows\start menu
all shortcuts would reappear after a hardreset
unless you made a program in the extented rom which removed them when it was run
Hi,
Thats basically what I'm trying to do. I've made a cab file which when run sets a lot of registry settings following a hard reset. As you said, after a hard reset the device is restored to its normal build. My cab runs right after a hard reset to make sure the device is configured the way I want it. Are there any keys in the registry which are responsible for configuring the Start Menu? I cant seem to find one for Start Menu, only the New Menu
An alternative approach is running an exe which deletes the Programs from the Start Menu folder...but I would prefer to parcel it all up in a tiny little cab file if possible...
Thanks again for any suggestions...
Cheers,
dav
i never seen anything like it in the reg
Thats a pity. I cant find anything either. I prefer to do as much as possible in either the CPF or a cab. exe's do the job but there big and more complicated to change. Neverthless seems I'm stuck with an exe for now. Oh well...
Cheers,
Dav
Hi, Dav!
Even though there is no registry solution, exe file is not your only option.
Cabs can contain a setup.dll that exports 4 functions which the system calls before and after installation or uninstall (separate function for each event).
Check MSDN for setup.dll specifics.
Get a cab file that will start up automatically after a hardreset to delete all the fies in the start menu? I think if you delete the files in the start menu, it will be removed in the Programs list. It is basically a short cut file.
levenum said:
Hi, Dav!
Even though there is no registry solution, exe file is not your only option.
Cabs can contain a setup.dll that exports 4 functions which the system calls before and after installation or uninstall (separate function for each event).
Check MSDN for setup.dll specifics.
Click to expand...
Click to collapse
Excellent! Thanks a lot, I'll look into that.
Cheers!
Dav
hanmin said:
Get a cab file that will start up automatically after a hardreset to delete all the fies in the start menu? I think if you delete the files in the start menu, it will be removed in the Programs list. It is basically a short cut file.
Click to expand...
Click to collapse
Hi Hanmin,
I think you are correct...if you delete *all* files and folders from the Start Menu it will remove the files which are directly situated in the Start Menu folder as well as all files in the Program folder which also resides in the Start Menu folder. This will remove items from both the Start menu and the Programs screen. This is ok for me though as luckily I want to also hide all Programs from the Program screen. A lot of the device functionality has to be hidden from the end users, to prevent them from fiddling with anything and to also hide things like Games etc...
Cheers,
Dav
Hi,
I've managed to get the setup.dll working. Its really useful and stops me needing an exe for many things. However, is it possible to get the dll to show a Dialog window? I've tried incorporating a dialog to the dll but it never seems to show up. I need the user to set a value and was considering doing it via the setup dll, but so far not been able to get the dialog, or even a Message Box to show up when called within the dll?
Any ideas?
Thanks,
Dav
Here is a line of code from Install_Init function that's working perfectly for me:
Code:
g_dlg = CreateDialog(g_hInst, MAKEINTRESOURCE(IDD_MSGDLG), hwndParent, MyDlgProc);
I save g_hInst in DllMain.
As for message boxes, just call them as usual, never had a problem there, but you need to make sure you put your code in the correct function or it will not be called at the right time.
I changed registry file per exe file.Word "exefile" I changed with "jpgpicture".My telefone now is blocked !Active sync no work! How change again registry?
Thanks! My telephone is htc s 310.
Why did you do this???
If activesync is not working (did you try soft reset?) you must have changed more than just a file reference.
In any case you can try this:
Download PHM Registry Editor as cab installation
Copy to SD/mini/micro using card reader.
Install to device and use the program to change registry back.
If tis does not work your only choice is hard reset but you will loose all your data.
I have install regedit in my mobile.
I did this because not could download file with extension wich not have program for open this,
For example... no could download file zip if not have unzip program install in my mobile!
How do soft reset? Because when push button(taste) frontale for shown my mobile show:
"There is no application associated with "fexplore".Run the application first and then open this file inside the application"
Or when push Start taste shown:
"There is no application associated with "appman".Run the application first and then open this file inside the application"
Or when push button for camera,mobile shown:
"There is no application associated with "Camera".Run the application first and then open this file inside the application"
And sometimes shown "Cannot execute repplog.exe"
Thanks and forgive for my bad language!
Again thanks!
There should be a hardware button combination to preform hard reset.
Unfortunately I don't know what it is for your device. I recommend you check the manual or look in the WiKi.
Make sure you repost your q to http://forum.xda-developers.com/forumdisplay.php?f=341 . I'm not moving the thread because there may be other S310 users lurking here too.
Hi
This is work but afther soft reset system replace it:
[HKEY_LOCAL_MACHINE\Comm\BCMSDDHD1\Parms]
"HTCKeepWifiOnWhenUnattended"=dword:00000001
Any ideas how to fix it, beouse MSN and other programs start to use 3G when phone is standby.
my device keeps WiFi on even in standby out of the box. it will only shut WiFi off when I manually turn it off. it came like this out of the box.
Exactly the same for me, anyone?
I have a T-Mobile HD2 and as default wifi isn't active during standby. The registry key works but a soft reset will revert it to '0', so I wrote the following simple Mortscript and placed a shortcut to it in the /Windows/Startup folder (place the file on your device and using the file explorer copy and 'paste shortcut' into the startup folder). It works well.
You will of course need to install Mortscript for this to work.
yippee wifi stays connected
my htc hd2 outta the box stayed connected to wifi until i told it to disconnect, after installing a few programs and tweaking the reg etc and after a hard reset i noticed this wouldnt stay connected, annoying!
thanks for this little tweak you have, it works great and the only thing have found to work properly.
regards
No problem, I use it constantly and will until a ROM incorporates a fix.
profahmad said:
I have a T-Mobile HD2 and as default wifi isn't active during standby. The registry key works but a soft reset will revert it to '0', so I wrote the following simple Mortscript and placed a shortcut to it in the /Windows/Startup folder (place the file on your device and using the file explorer copy and 'paste shortcut' into the startup folder). It works well.
You will of course need to install Mortscript for this to work.
Click to expand...
Click to collapse
Thanks, I will give this a go.
Working nicely. Many thanks. Much better than the other Mortscript solution "Don'tSleep" which still drains battery because screen is on while connected.
No problem. I didn't come across the other mortscript fix and the wifi switching off was doing my head in. Glad there's a simple registry key.
Thank yo for this script profahmad.
Wich folder you mean exactly? I dont found on my System Startup (it is a german device).
Mean you AutoStart?
Best regards Theo
Copy the file to any location on your phone or storage card, then using the file explorer highlight it and select 'copy', then navigate to /Windows/Startup and paste shortcut (not simply 'paste').
Am I missing the point: is the /Windows/Startup folder not showing on your device?
Thanks for creating and sharing this script. It works great if I simply run it after startup, but for some reason it is not executing automatically on startup. I followed your instructions and have a shortcut to the script (which I stuck in My Documents) in /Windows/Startup. I installed MortScript to my device as well. I have an ATT Tilt 2. Is there something more I need to do, perhaps with MortScript, to get the script to run at startup?
juancotton said:
Thanks for creating and sharing this script. It works great if I simply run it after startup, but for some reason it is not executing automatically on startup. I followed your instructions and have a shortcut to the script (which I stuck in My Documents) in /Windows/Startup. I installed MortScript to my device as well. I have an ATT Tilt 2. Is there something more I need to do, perhaps with MortScript, to get the script to run at startup?
Click to expand...
Click to collapse
Are you sure you are putting it in the right folder? On my phone I have to put it in /Windows/Autostart.
ainatar said:
Are you sure you are putting it in the right folder? On my phone I have to put it in /Windows/Autostart.
Click to expand...
Click to collapse
Yeah, I only have the Startup folder - no Autostart.
juancotton said:
Thanks for creating and sharing this script. It works great if I simply run it after startup, but for some reason it is not executing automatically on startup. I followed your instructions and have a shortcut to the script (which I stuck in My Documents) in /Windows/Startup. I installed MortScript to my device as well. I have an ATT Tilt 2. Is there something more I need to do, perhaps with MortScript, to get the script to run at startup?
Click to expand...
Click to collapse
Disregard - appears to be user error. Works great
Can I just make sure I've got this right? You install the MortScript cab file, which then appears in the Start menu, yes? Then, is it the little Wifi zip file you have to create a shortcut to, and do you have to unzip it first?
Si6776 said:
Can I just make sure I've got this right? You install the MortScript cab file, which then appears in the Start menu, yes? Then, is it the little Wifi zip file you have to create a shortcut to, and do you have to unzip it first?
Click to expand...
Click to collapse
Yeah, install Mortscript for the functionality but you won't need to do anything with it after that. Unzip the wifi script anywhere on the device and place the shortcut in the startup folder.
That's what I did and kept getting an error message on boot up, something like, "The file 'Mortscript' cannot be opened. Either the app is not signed with a trusted certificate, or one or more components cannot be found."
Hmm. Install BSB Tweaks and enable Allow unsigned applications.
That worked, thanks. Now I have to see if it kills my battery.
I use Sashimi alot and the only gribe I have with it is that I cannot Automatically Setup My Applications within Sashimi. I know it will run all exe files that is placed within the \Sashimi\Auto\EXE folder but it cant execute .lnk files. So this little app has three files which you simply dump in \Sashime\Auto\EXE folder.
There will be a file called Executefiles.txt
Any apps in there will be executed automatically after Sashimi is done with its installation
I use 1. Pimbackup.exe
2. Galarm
3. Audio notes
4. Magicall
Theres a config file where you can specify whether it should auto close or wait for a keypress to exit
O yes Source Code is in vs2008 used C#. Graphics aint good. But it doesnt need to be. I only spent about an hour and half on the app
aren't executable (AND lnk files) automatically executed when placing them in \Windows\Startup directory? or is this some Sashimi related thing. Whatever Sashimi is!?
RAMMANN said:
aren't executable (AND lnk files) automatically executed when placing them in \Windows\Startup directory? or is this some Sashimi related thing. Whatever Sashimi is!?
Click to expand...
Click to collapse
When you flash a new rom Sashimi is used to install al your cabs automatically and do reg imports and copy files etc. So now when you are done installing everything you obviously need to run certain apps to chage settings and this app will help you execute these apps once sashime is done installing
Have a look at sashimi here : http://www.winmo-experts.com/viewtopic.php?f=7&t=4
Forgot
Forgot to add you can even install cab files with it
ok I see. Thanks for explanation.
Thx you. Will look into it.
Thanks for the source code, now i can excute a .lnk without error.
last try fail with process.start, shellexcuteex and mortscript
vua777 said:
Thanks for the source code, now i can excute a .lnk without error.
last try fail with process.start, shellexcuteex and mortscript
Click to expand...
Click to collapse
No problem i battleded my backside of as well to get it to work. It would only execute .exe files initially but now it will do .cab .lnk and properly .html as well cause it passes it to the shell instead off trying to execute it itself. What app are you trying to write? You will see there a waitcomplete or something. if you remove that line it will start the process and still continue to run the app in the foreground. that command makes it execute the app and wait for it to finish before carying on with code. The only problem with that is if you would execute an app and minimize it then your code will wait indefinately for the app to exit before it will continue