rom with nocert - how to run exe in /windows - Windows Mobile Software Development

I've made a rom with option -nocert-
Now i added 2 files to /windows and the .lnk of those files starts up at windows boot.
But I get a certificate error... if I replace the files to another directory, it works...
I want to run those files in windows, not possible?

please someone???

come on, really nobody? :s

Are the link paths correct for \windows? Why not post the path and actually say what the .exe's are?

Directory("\Windows\Opstarten"):-File("togglestart.lnk","\Windows\togglestart.lnk")
Directory("\Windows\Opstarten"):-File("wifiinit.lnk","\Windows\wifiinit.lnk")
links to the exe's in /windows

No, I'm talking about the paths of the shortcuts. It sounds to me like they're wrong. If they have an alias instead of a path, make sure the alias is pointed towards windows.

Farmer Ted said:
No, I'm talking about the paths of the shortcuts. It sounds to me like they're wrong. If they have an alias instead of a path, make sure the alias is pointed towards windows.
Click to expand...
Click to collapse
indeed, it were shortcuts to MyDocs...
Another prob now, the togglestart (to hide start) seems to start but does not hide start ... only when I go clicking it again

Related

Easy Guide to Creating Shortcuts .vanilla wm6

Im running the Vanilla wm6 ROM still on my TyTN and its working great, im not changing to the XDA or other ROMS out. i dont like not having the Word, Excell, and Powerpoint programs in my PROGRAMS.
can someone guide me an easy way to locate them and create the shortcut for them so they are there when i go to PRoGRAMS?
thanks in advance
Go to File Explorer. It should default in your My Documents folder. Click Up once to "My Device." Click Windows. Click Start Menu.
Now you'll see the Start Menu you get when you click Start, along with the Programs and Settings Folders. Click Programs. Click Office. Click and Hold the program of your choice. Choose Copy. Click Up. Now you're back in the Programs Folder. Click Menu-> Edit-> Paste Shortcut.
Repeat this process to copy shortcuts to your Programs folder or your Start menu. (by going up one more level.)
there is no Office in Windows>Start Menu>Programs....
the office apps are located in the windows folder of the vanilla version,
to make shortcuts open file explorer and go to the windows folder, find the office apps (like pworc) copy the app, goto windows/startup/programs click paste shortcut for each one
if this does not makes sense, then read the whole vanilla thread, someone created a cab folder to install the shortcuts for you.
how is this creating shortcuts? looks like you guys are just coping exe files. i'm interesting in creating actual shortcuts. does anyone know if this is possible?
juntjoo said:
how is this creating shortcuts? looks like you guys are just coping exe files. i'm interesting in creating actual shortcuts. does anyone know if this is possible?
Click to expand...
Click to collapse
Yes ... eagle just told you how to do it, either that or use the cab file in the wm6 vanilla thread which will do this for you.
Choose "paste shortcut" instead of "paste" to get the shortcut instead of a copy of the exe file.

How to override files in windows-folder?

Hello,
I'm trying to replace the sym.0409.txt in windows-folder. But this file is writeprotected, so I can't delete or replace it. when I try to paste the file to windows-dir I get a message "do you realy want to replace the file... blablabla". When I click "yes", windows creates a new file "copy of sym.0409.txt"
can anyone tell me how to replace write protected files in windows-directory?
i belief this discussion has nothing to do with WM6. perhaps it should be moved to a general discussion?
HerrVorragend said:
Hello,
I'm trying to replace the sym.0409.txt in windows-folder. But this file is writeprotected, so I can't delete or replace it. when I try to paste the file to windows-dir I get a message "do you realy want to replace the file... blablabla". When I click "yes", windows creates a new file "copy of sym.0409.txt"
can anyone tell me how to replace write protected files in windows-directory?
Click to expand...
Click to collapse
Depends how you are doing it....
Resco file explorer will allow you to "overwrite" file in the windows directory. If you install it you get 30days before you have to register it or remove it.
Hope that helps.
Some files can be overwritten by copying from within your desktop computer using Active Sync or Windows Mobile Device Centre, instead of directly on the device. I think.txt would fit this criteria.
.dll's need something like Resco Explorer installing on your device (on trial) and they will overwrite system files.
the windows-dir is not accessible from desktop-pc... but the resco-file-explorer-solution works fine
HerrVorragend said:
the windows-dir is not accessible from desktop-pc... but the resco-file-explorer-solution works fine
Click to expand...
Click to collapse
yes the windows folder is available from the Desktop PC
ok... thats new for me... can you tell me how? when I go to my device in desktop explorer I see a harddrive "/" and under "/" I see all the rootdirectories from the device - except the windows-dir. typing in directly "//Windows" doesn't work too.
perhapgs it's a vista-only phenomenon...
HerrVorragend said:
ok... thats new for me... can you tell me how? when I go to my device in desktop explorer I see a harddrive "/" and under "/" I see all the rootdirectories from the device - except the windows-dir. typing in directly "//Windows" doesn't work too.
perhapgs it's a vista-only phenomenon...
Click to expand...
Click to collapse
it works under vista too... i think there is a screen shot on mrvanx's guides....
may be.... but not out of the box... so if you can access your windows-folder under vista, please let the rest of the world know, how youget this working
HerrVorragend said:
may be.... but not out of the box... so if you can access your windows-folder under vista, please let the rest of the world know, how youget this working
Click to expand...
Click to collapse
yes you can access it out of the box... but i dont have vista here with me at the moment... but i know you can.
walshieau said:
yes you can access it out of the box... but i dont have vista here with me at the moment... but i know you can.
Click to expand...
Click to collapse
ok guy... this is my last post, after this post I will deactivate the notification.
1. I'm not a fool
2. I've installed Vista
3. You can NOT access the device windows-dir out of the box!
If you can't explain how to do it, please stop telling bull****!
walshieau said:
yes you can access it out of the box... but i dont have vista here with me at the moment... but i know you can.
Click to expand...
Click to collapse
From WMDC, File Management, Browse files ...
\ Then Windows is listed.
The reason you can't see it is because you haven't unticked Hide Protected Operating System Files in CP-Appearance-Folder Options-Show Hidden Files
Edit: Herr*: Calm down, Wash was right and tried to help you with what he had available at the time.
You can overwrite the file using freeware Pocket Total Commander. I have been able to overwrite said file with this app. Sym.txt allows for entering additional characters (with umlauts....) via hardware keyboard.
Oops - ignore this.
Ok here is how you do it, folder options, view, uncheck "hide protected operating system files (recommended)". Presto, you can see it now, at least in Vista.

Unable to change files in \Windows on TMobile Dash WM6

I'm trying to remap the TZones button on my Dash. However, when I try to manipulate Short_IE.lnk in \Windows on my phone via Total Commander it does not work. I cannot change the file. I have tried an app unlocker mentioned in [http://forum.xda-developers.com/showthread.php?t=281838] but I am not sure if that will do the trick.
Any ideas?
have you tried dragging the file onto your desktop, editing it there and moving it back to your \windows folder?
I suppose that might work, if \Windows could be located through Windows explorer. I'm not sure how to use ActiveSync to write files to the \Windows directory on the phone either. I just pop up My Computer and transfer files to my SD card directly.
at0msk said:
I suppose that might work, if \Windows could be located through Windows explorer. I'm not sure how to use ActiveSync to write files to the \Windows directory on the phone either. I just pop up My Computer and transfer files to my SD card directly.
Click to expand...
Click to collapse
You can't write files to the \Windows directory via ActiveSync. You'll have to write them to My Documents or another visible folder while in ActiveSync. Then using your phone's File Explorer, copy and paste the file from whereever ActiveSync placed it to the \Windows directory.
Rip Syntaxx said:
You can't write files to the \Windows directory via ActiveSync. You'll have to write them to My Documents or another visible folder while in ActiveSync. Then using your phone's File Explorer, copy and paste the file from whereever ActiveSync placed it to the \Windows directory.
Click to expand...
Click to collapse
I can drag and drop at least some files straight to \windows through activesync... specifically the eT9 files for fixing keymapping. Is that not normal?
I've used the unlock method listed here (alternative way) http://www.modaco.com/content/HTC-Monet-Monet-MoDaCo-com/251706/Application-unlock-for-Monet/ and the phone is reported to be fully unlocked. I am still unable to change the Short_IE.lnk file in the \Windows directory. I'm still using Total Commander. I'm trying to rename the Short_IE.lnk file to Short_IE_o.link (original) so that I can rename Short_IE1.lnk which has my desired mapping. I'm just told "Cannot copy or move file!"
Well that's just great. I guess I don't understand this fully. I created a text document on my desktop and renamed it to Short_IE.lnk. From there I dropped it into the Application Data folder and used Total Commander to move it to \Windows. Overwrote the file without a hiccup. Seriously, WTF. Why wouldn't I just be able to edit the shortcut directly? It worked nonetheless but now when I try to use the key (mapped it to point to a shortcut) I'm told that there is no application associated with xxx.lnk (which opens a blank sms message to the person of my choice) and to open that file within the proper program. Now if I run the shortcut directly, it works. I may just edit the Short_IE to open the blank sms message and trash having it point to the shortcut I already made.
skisteven1 said:
I can drag and drop at least some files straight to \windows through activesync... specifically the eT9 files for fixing keymapping. Is that not normal?
Click to expand...
Click to collapse
I wouldn't think so because most of us, I know I cannot, are unable to see the \Windows directory via ActiveSync or Windows Explorer.
at0msk said:
I wouldn't think so because most of us, I know I cannot, are unable to see the \Windows directory via ActiveSync or Windows Explorer.
Click to expand...
Click to collapse
Really? Through ActiveSync (4.5, XP Pro), I click explore, and then open a folder called "full device", or something similar (don't have it in front of me) -- that puts me at the root folder. From there I can open "storage card", "windows", "my documents", etc.
Strange... I always thought that was normal (since it's been that way over 3 computers and 2 phones..)
at0msk said:
I wouldn't think so because most of us, I know I cannot, are unable to see the \Windows directory via ActiveSync or Windows Explorer.
Click to expand...
Click to collapse
Maybe on your desktop open my computer, then go to tools>folder options>view>Show hidden files and folders>OK.
Now you can see your \Windows directory through AS.
YOU CAN drag and drop files to the device's \windows directory. There's policies defined in some ROMs (like Roger's) that will not let you do that. But with Kavana's latest... it's not a problem.
Try changing policies 1005 and 1017 to hex "16" in the registry, in order to relax the permissions even more.
--NRGZ28
Just use resco file explorer...
OrganicM said:
YOU CAN drag and drop files to the device's \windows directory. There's policies defined in some ROMs (like Roger's) that will not let you do that. But with Kavana's latest... it's not a problem.
Try changing policies 1005 and 1017 to hex "16" in the registry, in order to relax the permissions even more.
--NRGZ28
Click to expand...
Click to collapse
Or just run SDA app unlock =)
OrganicM said:
YOU CAN drag and drop files to the device's \windows directory. There's policies defined in some ROMs (like Roger's) that will not let you do that. But with Kavana's latest... it's not a problem.
Try changing policies 1005 and 1017 to hex "16" in the registry, in order to relax the permissions even more.
--NRGZ28
Click to expand...
Click to collapse
THANK YOU! I'm glad I wasn't going crazy.
OK Here's one for you!
New issue! I use Total Commander to create a shortcut that points to my Storage Card. I place the shortcut in my Start Menu. When I go to open that shortcut...guess what! WINDOWS CANNOT FIND STORAGE CARD OR ONE OF ITS COMPONENTS. WHAT THE ****. If I use Windows Explorer on my computer to navigate to a directory that I place the shortcut in I can double click on it and I am taken right to my storage card. If I click on the shortcut while in Total Commander on the phone I am taken to my storage card.
WTF is wrong with WM6? Why would a valid-everyfuckingwhere-else shortcut not work when placed in the Start Menu?
Relax on the cursing
at0msk said:
New issue! I use Total Commander to create a shortcut that points to my Storage Card. I place the shortcut in my Start Menu. When I go to open that shortcut...guess what! WINDOWS CANNOT FIND STORAGE CARD OR ONE OF ITS COMPONENTS. WHAT THE ****. If I use Windows Explorer on my computer to navigate to a directory that I place the shortcut in I can double click on it and I am taken right to my storage card. If I click on the shortcut while in Total Commander on the phone I am taken to my storage card.
WTF is wrong with WM6? Why would a valid-everyfuckingwhere-else shortcut not work when placed in the Start Menu?
Click to expand...
Click to collapse
I agree with mikey on the foul language,,,,, when you create your shortcut to your storage card, are you making the shortcut to a folder or an .exe file? if you are making the shortcut to just your storage card ( or a folder) you must (i think) also include what browsing program to use inside your .lnk file. If its an .exe you are linking to then try and put quotations at beginning and end of your shortcut ( ex: #16 "storage card\program files\games\pocketnester.exe" ) otherwise you need it to look something like this #16 fexplore.exe - "\storage card\" ...( not sure if the latter string is completely correct , but you get the idea)
see the reason why this is working while you are in windows explorer (fexplore.exe) or total commander is because you are at that time in some sort of file explorer program. But if you do it straight through your start menu you are not actively in a file explorer program and windows doesnt understand what to use to browse to that directory
pudgedaddy said:
I agree with mikey on the foul language,,,,, when you create your shortcut to your storage card, are you making the shortcut to a folder or an .exe file? if you are making the shortcut to just your storage card ( or a folder) you must (i think) also include what browsing program to use inside your .lnk file. If its an .exe you are linking to then try and put quotations at beginning and end of your shortcut ( ex: #16 "storage card\program files\games\pocketnester.exe" ) otherwise you need it to look something like this #16 fexplore.exe - "\storage card\" ...( not sure if the latter string is completely correct , but you get the idea)
see the reason why this is working while you are in windows explorer (fexplore.exe) or total commander is because you are at that time in some sort of file explorer program. But if you do it straight through your start menu you are not actively in a file explorer program and windows doesnt understand what to use to browse to that directory
Click to expand...
Click to collapse
I see what you're saying here. Makes sense. I just thought that, you know...it's Windows, there's a Start menu and whatnot so I figured that some form of explorer was already running in the background so I guess I'm lost as to why one would need to invoke a file explorer to navigate the directories. But this is a phone moreso than a computer. Also, I was tired from a long day at work lol. Frustration clouds the mind. I'll try the fexplore.exe suggestion. Any idea if the 16# is right? I'm not sure what that is for...I see those thrown around and I thought they were button mappings...
Edit: Negative on #16 fexplore.exe - "\storage card\" or 16#:fexplore.exe -"\Storage Card\" or 16#"\Windows\fexplore.exe -\Storage Card\"....
at0msk said:
I see what you're saying here. Makes sense. I just thought that, you know...it's Windows, there's a Start menu and whatnot so I figured that some form of explorer was already running in the background so I guess I'm lost as to why one would need to invoke a file explorer to navigate the directories. But this is a phone moreso than a computer. Also, I was tired from a long day at work lol. Frustration clouds the mind. I'll try the fexplore.exe suggestion. Any idea if the 16# is right? I'm not sure what that is for...I see those thrown around and I thought they were button mappings...
Edit: Negative on #16 fexplore.exe - "\storage card\" or 16#:fexplore.exe -"\Storage Card\" or 16#"\Windows\fexplore.exe -\Storage Card\"....
Click to expand...
Click to collapse
Well i tried everything i could too. i know there is probably a way for either file explorer or resco explorer to go to the storage card as soon as it is launched. Personally i dont have this issue because i use smarttoolkit and there is immediate access to the storage card via the start menu without using any 1st or 3rd party file explorers but you may not want to use this proggy so i thought i'd help. sorry i couldn't solve your question
ok i got it! you can do it one of 2 ways: 1. edit the .lnk file with this #40"\windows\explorer.exe" "\storage card" 2. You can use resco explorer and navigate to the storage card and do a copy.....then paste shortcut in the \windows\start menu directory. cheers!

.cpr files

ok... i been searching for hours n hours for 3 days now on how to open the CHome_240x320.cpr. i found it in the windows directory and when i select it it says:
there is no app associated with "CHome_240x320". Run the app 1st and then open this file inside the app.
im confused... HELP!!! lol
If I'm not mistaken you can copy the .cpr to your computer and open the file from within notepad.
thousandlegs said:
If I'm not mistaken you can copy the .cpr to your computer and open the file from within notepad.
Click to expand...
Click to collapse
In the Rose ROM, the CHome_240x320.cpr is not used. Its the HTCSlidingPanel_320x240.cpr and SlidingPanel_320x240.cpr. Edit those to your liking.
cpr.
Depending what rom you're using, ( I don't know anything about the rose rom yet) you need to copy the cpr from the windows directory to a different folder, like to your documents folder, and then you can copy it to your computer and open it with notepad, you can't see the windows folder from your pc when you're browsing your phone, so that's why you have to copy it to a different folder first . This is how I did my cprs.
You should check this thread out, it has all you need to know about it.
http://forum.xda-developers.com/showthread.php?t=413393
Another post about .cpr editing http://forum.xda-developers.com/showthread.php?t=434858 it is linked off the .cpr .dll changer but thought i'd make it easier for you
thanks guys... i had no clue! i still have no idea what im doin!! lol. but if i mess up and dont like the results i can always cold boot back to the default right???
cpr
ecnano78 said:
thanks guys... i had no clue! i still have no idea what im doin!! lol. but if i mess up and dont like the results i can always cold boot back to the default right???
Click to expand...
Click to collapse
First always keep an original copy of your cpr file, when you copy it to your pc , before you modd it , make a copy, so if you mess it up you can delete the bad one from the phone and still be able to go back and drop the original back if you need to.
Do i need to have it zipped when i place it back into my phone???
cpr
ecnano78 said:
Do i need to have it zipped when i place it back into my phone???
Click to expand...
Click to collapse
No. use your windows explorer on your pc after syncing with it. open your mobile device and take the cpr file , drag it and drop it back in your phone, like I said before, in reverse, after is on your phone's documents, folder you have to copy it to the windows directory and reboot.
Read the link i gave you the instructions are there including CHomeRefresh.. Which will stop you having to reboot phone after you replace the .cpr in your Windows Directory on phone.
stylez said:
Read the link i gave you the instructions are there including CHomeRefresh.. Which will stop you having to reboot phone after you replace the .cpr in your Windows Directory on phone.
Click to expand...
Click to collapse
I forgot about chomerefresh since I use the file changer for my cprs I didn't even think of it.
why is this such a struggle for me??? it simple cutting n pasting. its now tellin me i cant overwrite the original file when i try to put it back in the windows directory....
ecnano78 said:
why is this such a struggle for me??? it simple cutting n pasting. its now tellin me i cant overwrite the original file when i try to put it back in the windows directory....
Click to expand...
Click to collapse
Copy it over active sync to Windows Directory on phone.
is it because im using vista?? cuz the windows directory isnt showing up in active sync
ecnano78 said:
is it because im using vista?? cuz the windows directory isnt showing up in active sync
Click to expand...
Click to collapse
You need to show hidden folders, Tools\Folder Options\View tick show hidden folders i use XP so may not be exact the same but not far off..

[MOD] Enable Desktop Gadgets in RTM

It appears that there is already a better functioning sidebar hack made by someone else. Please disregard the files attached to this post and use the contents of the link.
http://www.win2008r2workstation.com/win2008r2/sidebar
I will post a detailed guide when I get time. There are some limitations, but most stuff works. I will polish the system up a bit.
Quick guide:
Copy the sidebar files to c:\program files\windows sidebar
download the supporting files.
run the batch file as administrator
run the reg file
Feel free to mirror/repost/steal credit/do whatever you want.
If you don't mind, can you tell me how well it works for you?
I confirm this works quite fine
Win8 Enterprise.
EDIT: Got some problems displaying custom gadgets...
http://forums.mydigitallife.info/threads/35505-Windows-Sidebar-Gadgets-for-Windows-8-RTM
Here is the solution
Jackos said:
http://forums.mydigitallife.info/threads/35505-Windows-Sidebar-Gadgets-for-Windows-8-RTM
Here is the solution
Click to expand...
Click to collapse
my windows do not allow me create a folder inside my program file
ov2rey said:
my windows do not allow me create a folder inside my program file
Click to expand...
Click to collapse
The easiest way of gaining access would be disabling User Account Control. You can do this using the slide in User Account or by changing this registry key:
Code:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\policies\system\EnableLUA
Change the value to 0.
i can t create the folder windows sidebar
i moved it in program files but it disappears

Categories

Resources