hello to all
i have a exe file and i want to lauch it at every startup ....i tried to add in startup folder with app.dat but the program does not launched but it is correctly situated in startup folder ...i have to click the exe file to launch ...will anyone please help me if u have any solution ...
thanks to all
Put the .exe anywhere then try putting a link to it in the \Windows\Startup folder
NilsP said:
Put the .exe anywhere then try putting a link to it in the \Windows\Startup folder
Click to expand...
Click to collapse
thanks but this method not working ...;i have to click that program to launch
Hi,
second methode:
Code:
[HKEY_LOCAL_MACHINE\init]
"Launch50"="\\Program Files\\Your Tool\\Example App.exe"
with friendly greet
starbase64
Try to pun a .lnk instead a .exe in Startup folder (through app.dat i mean),not completly sure but i just checked my Startup folder and i can see only .lnk inside.
starbase64 said:
Hi,
second methode:
Code:
[HKEY_LOCAL_MACHINE\init]
"Launch50"="\\Program Files\\Your Tool\\Example App.exe"
with friendly greet
starbase64
Click to expand...
Click to collapse
thanks bro but still not working i tried this method..;my file is in windows
REGEDIT4
[HKEY_LOCAL_MACHINE\init]
"Launch151"="\\Windows\\notifbar.exe" .;;i have putted 151 just like that
af974 said:
Try to pun a .lnk instead a .exe in Startup folder (through app.dat i mean),not completly sure but i just checked my Startup folder and i can see only .lnk inside.
Click to expand...
Click to collapse
thanks yes i tried but not working
You may need to add a depend key for the app, and make sure it launches after everything else. If there's too much stuff going on during startup when it's trying to launch, perhaps there isn't enough available memory to get it going. Just look at the other depend keys; basically, I think you just want to list all of the processes launched in the init queue. You could also increase the delay time between launches (this might work better w/ the startup folder) from 5 seconds to 6 or 7.
Farmer Ted said:
You may need to add a depend key for the app, and make sure it launches after everything else. If there's too much stuff going on during startup when it's trying to launch, perhaps there isn't enough available memory to get it going. Just look at the other depend keys; basically, I think you just want to list all of the processes launched in the init queue. You could also increase the delay time between launches (this might work better w/ the startup folder) from 5 seconds to 6 or 7.
Click to expand...
Click to collapse
ok thanks bro will try this
One-tier versus Two-tier Devices
Windows Mobile Device Security Model
One-tier versus Two-tier Devices;
The first part of the security policy is known as access tiers; devices can have one-tier or two-tier access.
To me it seems you have a two-tier access shafizal.
Related
So i fall a little short in developing, and was wondering if someone could make a quick exe... Here is what i am looking for: I need a simple exe to run off of my wm6 phone that will copy the file PalmMsgV001 from the Windows directory to my storage card in a folder with the current date.. to be more specific something like this:
copy \Windows\PalmMsgV001 to \Storage Card\Back_up\Palm_back\110807 (the date using the format 11/08/07)
Maybe you could make it customizable for other people as well... but im just looking for a quick exe to throw on my card that will make it real easy to back it up
shogunmark said:
So i fall a little short in developing, and was wondering if someone could make a quick exe... Here is what i am looking for: I need a simple exe to run off of my wm6 phone that will copy the file PalmMsgV001 from the Windows directory to my storage card in a folder with the current date.. to be more specific something like this:
copy \Windows\PalmMsgV001 to \Storage Card\Back_up\Palm_back\110807 (the date using the format 11/08/07)
Maybe you could make it customizable for other people as well... but im just looking for a quick exe to throw on my card that will make it real easy to back it up
Click to expand...
Click to collapse
And how much do you pay for it?
Here it is...
shogunmark said:
So i fall a little short in developing, and was wondering if someone could make a quick exe... Here is what i am looking for: I need a simple exe to run off of my wm6 phone that will copy the file PalmMsgV001 from the Windows directory to my storage card in a folder with the current date.. to be more specific something like this:
copy \Windows\PalmMsgV001 to \Storage Card\Back_up\Palm_back\110807 (the date using the format 11/08/07)
Maybe you could make it customizable for other people as well... but im just looking for a quick exe to throw on my card that will make it real easy to back it up
Click to expand...
Click to collapse
Here it is...
The applications is a command line application an works with 2 paramenters. 1º is the full path of the file or files patter that want to copy, in your case "\Windows\PalmMsgV001", other examples could be "\Test\log*" or "\*.txt". 2º is the full path of the destination directory without the date directory, in your case "\Storage Card\Back_up\Palm_back".
In the attached zip I include the application (CopyBackUp.exe) and the shortcut (.lnk) with the parameters required for your case ('CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back_up\Palm_back"').
Just extract the .exe to the root folder ("\") and the .lnk wherever you want (ie. "\Windows\Start Menu").
Any small donation would be appreciated.
Enjoy...
finthamoussu said:
Here it is...
The applications is a command line application an works with 2 paramenters. 1º is the full path of the file or files patter that want to copy, in your case "\Windows\PalmMsgV001", other examples could be "\Test\log*" or "\*.txt". 2º is the full path of the destination directory without the date directory, in your case "\Storage Card\Back_up\Palm_back".
In the attached zip I include the application (CopyBackUp.exe) and the shortcut (.lnk) with the parameters required for your case ('CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back_up\Palm_back"').
Just extract the .exe to the root folder ("\") and the .lnk wherever you want (ie. "\Windows\Start Menu").
Any small donation would be appreciated.
Enjoy...
Click to expand...
Click to collapse
This worked perfectly.. and am more than happy to kick you a small donation!!! pm me and let me know where to send it!
and also as i am looking at the shortcut, it appears that in theory you could make this little exe copy whatever you want, just would have to edit the short cut.. interesting...
shogunmark said:
and also as i am looking at the shortcut, it appears that in theory you could make this little exe copy whatever you want, just would have to edit the short cut.. interesting...
Click to expand...
Click to collapse
Yes, it tried to make it a bit more generic that what you were asking for, so maybe it could be usefull to somebody else
CopyBackUp V1.1
Attached is the new version of the application.
The changes are:
The first 2 parameters still being the same.
The next parameters are optional, and works as follow:
New commands:
·-kb[List of processes to Kill Before the backup is made]
Kills the specified list of processes before the backup
·-rb[List of processes to Run Before the backup is made]
Runs the specified list of processes after the backup
·-ka[List of processes to Kill After the backup is made]
Kills the specified list of processes before the backup
·-ra[List of processes to Run After the backup is made]
Runs the specified list of processes after the backup
·-noui
Runs the application without showing windows messages (only “Invalid Arguments” is showed)
These commands can be used multiple times, are case insensitive, and before backup commands and after backup commands are executed as they appears.
Sample:
copybackup.exe “/Directory with spaces/*.log” /Test –rb /test/test.exe /test2.exe –ka test2.exe –kb aaa.exe –NoUI –ra “/dir dir/bb.exe” –KA b.exe
This will
1.1. Run /test/test.exe
2.2. Run /test2.exe
3.3. Kill aaa.exe
4.4. Perform the backup of “/Directory with spaces/*.log” to /Test/[Date]
5.5. Kill test2.exe
6.6. Run “/dir dir/bb.exe”
7.7. Kill b.exe
All this without Windows UI messages
The application will fail only if some of the processes to run is not found, It won’t fail it some process to kill is not found.
Enjoy.
well i did find error.. maybe..
If i use:
\CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back up\Palmbackup"
Then it does as mentioned before...
If i manually kill messagingapp.exe first and use this then it works, it will copy the file and run the app:
\CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back up\Palmbackup" -ra messagingapp.exe
But if i leave messagingapp.exe running it will not kill it or copy the file, just throws up an error box that says "error":
\CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back up\Palmbackup" -kb messagingapp.exe
and i did verify that the process is running
shogunmark:
Are you sure that have extracted both files in the same directory?
This problem looks like copybackup.exe is not finding in the same directory OpenNETCF.dll.
This dll is needed when you use -kb or -ka, as is used to enumerate running processes.
I have made the test copybackup.exe /*.log /test -kb iexplore.exe and it works perfectly (Kills Internet Explorer before)
Can you cheek this?
Cheers
Hi finthamoussu,
Your application sounds really cool. I can appreciate the running processes fuctionality as that is a little bit tricky in .net. Good work!
Regards,
Slither2006.
I think this is a really useful app. Forgive my ignorance but where do you run the exe on the PC or on the device?
If on the device do we need to copy OpenNETCF.dll there as well? Which folder?
Thanks
gekkkko said:
I think this is a really useful app. Forgive my ignorance but where do you run the exe on the PC or on the device?
If on the device do we need to copy OpenNETCF.dll there as well? Which folder?
Thanks
Click to expand...
Click to collapse
Hi, you need to copy both files to the device (to any folder you want).
An to use it just call the exe with the parameters you need (look at previous post).
Enjoy
hi folks,
have spent most of the day searching the forum and must be missing this
is there a way to create a shortcut that will open the games folder? wanting to use with slithers c++ cube
many thanks
chris
\Windows\Start Menu\Programs\games
ather90 said:
\Windows\Start Menu\Programs\games
Click to expand...
Click to collapse
LMFAO!!!!!! He should ask more questions in the Slither Cube thread....
ather90 said:
\Windows\Start Menu\Programs\games
Click to expand...
Click to collapse
cheers for the assistance I tried that one, the link comes up as intrusted / unsigned
works fine as a direct link through programs , just not through the cube
any ideas?
First Go here then try here
no joy so far
tries shortcut creator, been through the lnk thread... again....
tried google...
there must be a way to shortcut to a specific folder???
if you read the actual 051 thread, slither discusses this many times and says it won't be available until 052
I think it involves passing a parameter to fileexplorer...
Look at this post: http://forum.xda-developers.com/showpost.php?p=2120755&postcount=140
chrisd1a1 said:
hi folks,
have spent most of the day searching the forum and must be missing this
is there a way to create a shortcut that will open the games folder? wanting to use with slithers c++ cube
many thanks
chris
Click to expand...
Click to collapse
create a link to your file explorer
tap and hold
select properties
add '-windows\start menu\games' to the end of the link so you should end up with something like
program files\file explorer.exe -windows\start menu\games
cheers for the help folks, still no go.
will have to see if slither can resolve in the next release
bbobeckyj said:
create a link to your file explorer
tap and hold
select properties
add '-windows\start menu\games' to the end of the link so you should end up with something like
program files\file explorer.exe -windows\start menu\games
Click to expand...
Click to collapse
I got it wrong, no '-' before the address
"fexplore.exe" windows\start menu\programs\Games
exactly as above in the properties of any .LNK will do it
bbobeckyj said:
I got it wrong, no '-' before the address
"fexplore.exe" windows\start menu\programs\Games
exactly as above in the properties of any .LNK will do it
Click to expand...
Click to collapse
cheers mate but vust links to the 'my device' page on file explorer no matter what i do.
have looked into and edited folderview.exe so it should route to an alternative folder but the signature is not taking via msigner.
was thinking that this might be the 'simple' way but must be doing something wrong, was thinking set the shortcut to a generic option (ie Windows/Start Menu/Programs/Test) would give some flexibility (we could just add/rename folders in the program list
any idea what i am doing wrong on the resign?
edit: unsign/resign done will work on the edit to see if i can get this to work
chrisd1a1 said:
cheers mate but vust links to the 'my device' page on file explorer no matter what i do.
have looked into and edited folderview.exe so it should route to an alternative folder but the signature is not taking via msigner.
was thinking that this might be the 'simple' way but must be doing something wrong, was thinking set the shortcut to a generic option (ie Windows/Start Menu/Programs/Test) would give some flexibility (we could just add/rename folders in the program list
any idea what i am doing wrong on the resign?
edit: unsign/resign done will work on the edit to see if i can get this to work
Click to expand...
Click to collapse
well i can find the path, edit the path and run on my xda...
but the dam think defaults to the program folder no matter what i do!!!!
anyone any ideas?????
Please try this It's part of Wisbar Advance 3, Start Panel. Files in folder my documents > my documents and exe put somewhere.
http://ike-dats.thez.info/public/startpanel.rar
If you have problems with startup (blank white page) and using wktask or programs like this, make exception to run always in background. Then to refresh list you must restart it.
IkE Blaster said:
Please try this It's part of Wisbar Advance 3, Start Panel. Files in folder my documents > my documents and exe put somewhere.
http://ike-dats.thez.info/public/startpanel.rar
If you have problems with startup (blank white page) and using wktask or programs like this, make exception to run always in background. Then to refresh list you must restart it.
Click to expand...
Click to collapse
Hi IkE Blaster, Spot on, works perfectly!!!! is it possible to edit the config to allow folks to choose the folder?
if this works, it is a configarable menu option that will work with any 3rd party app
all credit to you!!!!
hope you dont mind but have added the link to Slither's c++ cube thread
rename this .txt file to .LNK and you should have it
bbobeckyj said:
rename this .txt file to .LNK and you should have it
Click to expand...
Click to collapse
thanks for trying, this works as a seperate link but not through the cube??? for some reason it brings up Internet Explorer????
You can change the "url" of folder in config file, if you select for example start menu, than can you change folder tapping the top curtain. But you can go only in includes folder. I can't explain it, try it yourself
cheers man,
appreciate the work
thanks for your help
IkE Blaster said:
Please try this It's part of Wisbar Advance 3, Start Panel. Files in folder my documents > my documents and exe put somewhere.
http://ike-dats.thez.info/public/startpanel.rar
If you have problems with startup (blank white page) and using wktask or programs like this, make exception to run always in background. Then to refresh list you must restart it.
Click to expand...
Click to collapse
Is their a way to elaborate a bit further on this solution?? I have WA3 but no idea on how to use this?
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
Hi, Chefs! =)
I'm going to add an option to run on second (or first) boot to my new program XDA_UC_NET. It's almost like original XDA_UC, but C# based, gives feedback to user and saves installation log, so you can see if any errors happened, it supports environment variables for different folders and some other enhancements.
Now it's almost portable - you can run it any time you want from Start menu, select any folder and install files from this folder.
But chefs ask me to add autorun mode - just as original XDA_UC.
I want to implement it this way
Chef adds to registry path to folder that must be processed by XDA_UC_NET.
Chef adds to registry parameter to tell program if it should run on 1st or 2nd boot.
Chef adds to registry parameter to tell program if it should wait for some time before popup.
XDA_UC_NET starts, read these parameters, display your message (if any, in any language) from given folder. If folder is not found - tell user that it's time to copy this folder to device. At the end XDA_UC_NET installs stuff from this folder like original XDA_UC.
What do you think? Are there any other suggestions how to implement autorun feature?
Will be great to not have that config.txt and of course to have it full potencial like:
1.- search for cabs into #Storage card# (any lang of course)
2.- Maybe a nice image here installing in a animation bar
3.- install this... then this... and at this point hide the UC screen to click some prompt messages from instalation action in many cabs
3.- run this file (lnk, exe)
4.- select any TSK
Finally restart device
this will allows chefs to not add cabs into ROMS to be executed at first boot.. lighter roms you know (i know i can make it posible with SDconfig.txt but not all ppl likes to edit the file every time you know)
Thats my recomendations
Oh BTW we just can make a lnk into startup folder and it will run in first run or maybe you can consider as an idea that you already have make it posible to delete that lnk at the end of the first customization.. or ask you if you want to add more second time the rom boots...
+ Que PPC said:
Will be great to not have that config.txt
Click to expand...
Click to collapse
already done - it's main idea of XDA_UC, put your files in your folder and you are ready.
1.- search for cabs into #Storage card# (any lang of course)
Click to expand...
Click to collapse
already done - program search given folder, I think it is enough
2.- Maybe a nice image here installing in a animation bar
Click to expand...
Click to collapse
in current version program displays every step -
"Install CABs silent"
"Install MSCRs"
and so on.
3.- run this file (lnk, exe)
Click to expand...
Click to collapse
there are two options - run and wait, or just run and go next.
I never used this feature for myself, so, please tell me what is the best?
4.- select any TSK
Click to expand...
Click to collapse
As far as I know almost all new themes for WM6.5 are distributed as cab files.
And there is a problem in original XDA_UC with Cook.tsk - it's old WM6 version. But I will search for options...
Finally restart device
Click to expand...
Click to collapse
already done