[new release] VJBrisk - very specific file launcher - Windows Mobile Development and Hacking General

Guys, don't get excited, this is just a teeny tiny app for a special request:
http://forum.xda-developers.com/viewtopic.php?t=50460&start=0&postdays=0&postorder=asc&highlight=
I'm basically not releasing anything for a while whilst I work on my new website, which is taking ages
However, this app is just used to launch an app in the same folder, with the filename
VJTarget.exe
or a shortcut called VJTarget.lnk.
This is very specific in use. You don't need it, I'm sure.
But if you have an app that can launch an .exe, but won't launch a shortcut with a command line, then this might be for you (I know some button redefiners and Today launchers might get use out of this)
So, basically, if you want to run VJDialer with a command line in TomTom:
1. Create a shortcut to VJDialer and set it up as you normally would.
2. Check the shortcut to ensure it works.
3. Copy it to your target folder.
4. Copy VJBrisk.exe to the same target folder.
5. Rename the shortcut you made in Step 1 to VJTarget.lnk.
6. Running VJBrisk will now launch VJTarget with its command line etc.
So, setup TomTom to run VJBrisk, and VJBrisk will then launch a file called VJTarget.exe or VJTarget.lnk in the same folder.
Like I said, very specific, but a good experiment for me with some nice string classes
On my (old) website.
V

Thanx!
I will rewrite my question here, because it's + appropriated:
i will try NOW your app.... only a question:
VJbrisk.exe launch only one vjtarget.lnk or just rename it (exe) with the same name of the link to have more than 1 phone link?
(es Vjbrisk1.exe call Vjbrisk1.lnk, Vjbrisk2.exe call VJbrisk2.lnk etc ?
sorry 4 my english
:::EDIT:::::
i HAVE AN IDEA!
If a Vjbrisk.exe read from a text file vjtarget.txt :
links = 2
link1: vjdial.exe 123456789;
link2: vjdial.exe 987654321;
then by renaming as Vjbrisk1.exe or vjbrisk2.exe the program execute the link into the txt?
the counter is for vjbrisc[X].exe, from x=1 to x=[links].....
or the exe filename can be compared with a string written into the txt:
"VBrisk1.exe" = vjdial.exe 123456789
"VBrisk2.exe" = vjdial.exe 123456789
I don't know is it's possible.... however good work for all others apps that you've made !

VJBrisk will launch VJTarget.exe or VJTarget.lnk.
I could make it so that renaming VJBrisk Eg VJBrisk2.exe will launch VJTarget2.exe.
But for your TomTom setup, I suggest you just use a different folder and a different copy of VJBrisk for each app you need to run.
The text file option is possible, but may be more complicated then just renaming the .exe as I describe above.
V

ok thnx 1000

accidental presses solved
thanks again to kokotas and vijay555.
kokotas for his ROM that allows me to replace \windows\biotouch.exe without difficulty
vijay555 for his VJBrisk that allows a "new biotouch.exe" to launch a shortcut to s2u2.exe
this means slide2unlock2 will remain locked, even if there are accidental presses/brushes(due to hardware design) while my elf is in my pocket.

Hi, Vijay.
Is there any chance that you could modify this app so that it would pass the command-line parameter it was launched with on to the shortcut?
Here's what i'm trying to acchieve:
I'm using a QR Code reader called quickmark that can read a URL from the barcode, and open it in a web browser. It can ce switched to use Opera instead of IE, but it attempts to launch the executable called OperaLaunch.exe from /Windows, while my Opera9 beta exec is on the storage card, and it's called Opera9.exe
I tried to create a shortcut to it, rename it to VJTarget.lnk, and place it in /Windows along with VJBrisk renamed to "OperaLaunch.exe". When i tried to access a web page from quickmark, opera was launched, but it opened its home page, as if it didn't receive the command line parameter. Manualy running the link with URL as command line parameter worked fine, so it seems that VJBrisk doesn't pass the parameter...

[new version!] Command line support
mr_deimos - that's a really good idea. I don't know why I had never supported it before.
Can you please try this new version.
It's been years since I've made a cab, so for now, just a new .exe.
Let me know if it works ok for you.
VJBrisk 0.2 with command line support
V

Whoa, i didn't notice this version before. Thanks for making the update and sorry for the late reply.
However unfortunately it still doesn't seem to pass the command line parameters. Right now i don't have the opera9 anymore, but i tested it with netfront:
I have the vjbrisk.exe renamed to OperaLaunch.exe and vjtarget.lnk (pointing to my NetFront executable on storage card) in my /windows dir.
If i run:
Code:
\windows\vjtarget.lnk http://www.xda-developers.com
Netfront opens up, and loads the xda-dev website.
But ruunning:
Code:
\windows\operalaunch.lnk http://www.xda-developers.com
NetFronf fires up, but loads its homepage instead of this website Of course the same happens with QuickMark - it just launches NF, without loading the proper page.

vijay555 said:
mr_deimos - that's a really good idea. I don't know why I had never supported it before.
Can you please try this new version.
It's been years since I've made a cab, so for now, just a new .exe.
Let me know if it works ok for you.
VJBrisk 0.2 with command line support
V
Click to expand...
Click to collapse
it works fine, but can you make an option so that it is possible to use it multiple times in one directory =?
ex:
manila2d use on homescreen hardcoded:
-> clock.exe for timer+
-> calendar.exe for outlook calendar.
# # # #
now i want to use:
-> clock.exe for spb time
-> calendar.exe for thumbcal
so i overwrite calendar.exe + clock.exe with your tool(copy vjbrick.exe to calendar.exe + clock.exe) + make the link to vjtarget....
so how can handle your tool this for different targets ?
my idea would be that there is
1.) vjbrick.exe looks to its own exe-name and searching for a file with extension: ".vjb" . there the call is inside to the correct exefile + paramter
so for example:
1.) copy vjbrick.exe to calendar.exe + copy to windows(overwrite the orig file)
2.) generate a file calendar.vjb + inside there is: "programm files\thumbcal\thumbal.exe -day" + copy the file to \windows
manila2d->
THEREFORE: a lot of guys which are searching therefore a solution !!!!!!!!!!!
cu camel

Deprecated
Guys, VJBrisk has been updated and relaunched here
http://forum.xda-developers.com/showthread.php?p=3252253#post3252253
V

Related

Deny or restrain installation of applications WM5

I want to deny or restrain installation of applications on the fly as an service/process or by making changes in the registry on WM5 devices. Any ideas? The app preferely in C++/C#
CAB files are installed by wceload.exe in the windows directory.
You can overwrite this file with a blank exe, or remove the CAB extension reference to it in registry under HKEY_CLASSES_ROOT.
Deny or restrain inst. of apps
Thanks, yes I've thought about this - but this isn't a very dynamic solution. When a person run a CAB I want to check if app is okay to install from a "List" - then show a popup with a message saying something like "Sorry, you are not allowed to install this application. Please contact your company IT Admin for more info".
Is the .CAB association in HKEY_CLASSES_ROOT linked to wceload - so I could run an app to validate CAB, and if ok execute wceload..?
levenum said:
CAB files are installed by wceload.exe in the windows directory.
You can overwrite this file with a blank exe, or remove the CAB extension reference to it in registry under HKEY_CLASSES_ROOT.
Click to expand...
Click to collapse
Write up a registry entry in HKEY_CLASSES_ROOT to associate .CAB files with your custom file. Then, when the user taps on a CAB file, your program reads it, compares it against its list and, if it's approved, calls WceLoad with the appropriate parameters.
The key would probably look something like this:
HKCR\cabfile\shell\open\command
(default) = "<path to your app>" "%1"
(%1 will be replaced with the path to the CAB file).
Then, if the CAB was approved, call WceLoad with the following parameters:
\windows\wceload.exe "<path to cab file>" /nodelete
Note that some apps, may call wceload.exe directly. I am not sure if Activesync does it, but I know a couple of custom installers that do.
If you really want to secure the device against unothorized software do the following:
Rename wceload.exe to something else like wceload1.exe.
Create you own wceload.exe, but make sure you capture and preserve all command line parameters in case you need to transfer them to the original file for proper installation.
This way you can be sure no one will install anything without your permission.
Olso, keep in mind wceload is used to switch themes as well. (It handles *.tsk files).
Very much..
Thank You all!!

How to convert LNK to EXE? For key remap

I have been trying to get my HW keys remapped on the Q9 for a day now. After picking through the registry, I found a reg key that maps to the button
\HKEY_CURRENT_USER\ControlPanel\Keybd\APP2_Path
It accepts any .exe but I need to point it to a Mortscript file and that won't work. I can't even put a shortcut LNK value in there. Soon as I pop any exe in that field it works. Anybody know how to convert a LNK into an exe to trick this thing? I even tried running Mortscript.exe with the script name as a parameter but no luck. Thanks!
Looks like what I need is a basic applauncher .exe that would read the script/exe parameter from the registry or file. I have experimented some more with this registry key and it won't take anything other then a straight exe. Even quotes around the value breaks everything so I can't pass parameters around.
Mortscript comes with a file called autorun.exe. rename this file to the name of your mortscript, so if your mortscript is named 'myscript.mscr' then rename autorun.exe to 'myscript.exe'. make sure both files are in the same folder. Now when you run 'myscript.exe' it executes 'myscript.mscr'. For more information check mortscript documentation.
joemanb said:
Mortscript comes with a file called autorun.exe. rename this file to the name of your mortscript, so if your mortscript is named 'myscript.mscr' then rename autorun.exe to 'myscript.exe'. make sure both files are in the same folder. Now when you run 'myscript.exe' it executes 'myscript.mscr'. For more information check mortscript documentation.
Click to expand...
Click to collapse
i was so happy to see this fix and tried it. it appears to work about 5 times and then it stops responding. i have to reboot to get it working again. If i click on the script .mscr it works however. so something buggy in the autorun.exe. Any suggestions?
Take a look at http://www.vijay555.com
I think it's VJbrisk.exe or something like that, but I'm not sure...
There's definitely something there that can help you!
ithx i tried vbrisk but it would not install on wm6 smartphone. Any other apps that do the same?
Are your files in the same folder as 'mortscript.exe'? If not, put them there and try it. Make sure you have the lastest mortscript version.
Also, there is an old program called 'Launch Pad' by 'On Hiatus' that was developed for the HPC version of WinCE, and uses PocketC by 'Orbworks' (google both). You can use it to create .EXEs that work like .lnk files.
It works fine on my WM6 Wizard PPC, don't know if it will work on a Smartphone, but it's worth a try if the above doesn't work.
Another thing you could try is to extract the VJbrisk.exe from the cab file and manually transfer it to your device, then see if it works.
Yah they are in the same folder and named the same. I moved it al into the root. It appears to work for a couple hours, then dies and requires reboot. Otherwise it does the trick nicely. Mortscript is great!

WM6 Pro modifying autocorrect.0409.txt

Customizing the autocorrection in WM6 has been done, but WM6Pro is a bit different. This is the "can't live w/out" feature for past BlackBerry owners which allows you to type something like "brb" in and email and have the system replace it with "I just stepped out, but will respond when i get back."!
Figgured out how to do this on WM6pro from the device itself. The easiest way is to use Total Commander (3rd party file explorer). WM6pro requires that the autotext.0409.txt file be saved in unicode. it also protects the file in 3 ways: it sets the ReadOnly bit; it sets the SystemFile bit; and it watches the file from boot to make sure you don't change/delete it, but it will allow you to rename it. After figguring this out, i came up with the following process to update it:
1) open Total Commander and navigate to and highlight the \Windows\autocorrect.0409.txt file
2) copy the file to the root folder
3) navigate Total Commander to the root folder and highlight the \autocorrect.0409.txt
4) in the properties of the file, turn the ReadOnly and System bits off
6) click the notepad icon at the bottom of Total Commander to open the file in notepad
7) make your changes to the file minding the required alphabetical ordering
8) save the file as a unicode text file with a slightly different name (autocorrect.0409new.txt)
9) copy or move the new file to the windows directory
10) rename the existing autocorrect.0409.txt file to autocorrect.0409orig.txt
11) rename the new autocorrect.0409new.txt to autocorrect0409.txt
12) reboot WinMobile6 Pro
13) if you want to clean up, you should now be able to remove the extra files we have created along the way.
items I added:
sm =
fr =
degs = [the degree symbol]
brb = I just stepped out, but will respond when i get back
ack = (sent from wireless device) I read your email and will respond as soon as I am able. Thanks!
keywords: ppc wm6 windows mobile autocorrect type ahead intellisense as you type keyboard shortcuts macro speed
very interesting, I'll give it a try !
thx for the tip !
1. Very useful and cool tweak, this will help me a lot! I am going to try and get it to work with dual languages and will report back, so for example I could type "CHbusy" and get "县在忙,一会儿给您回答“ to avoid having to change the SIP....great
2. THis will be a great prank, will wait until my bro leaves his phone unattended and go change things like "the=Nate, you are a jackass" it'll take him ages to figure it out!!

[APP][18.11.2008] Manila2D patcher -> SSMaPa2D version 0.2.2.1 [abadoned/read]

[size=+2]SSMaPa2D no more continued[/size]
Take the SSMaPa version. its customized also for manila2d.
http://forum.xda-developers.com/showthread.php?p=2400995
---------------------------------------------------------------------------------------
[size=+0][18/11/2008] SSMaPa2D (Alpha) 0.2.2.1 (18/11/2008)[/size]
Hi guys,
simple Manila2D patcher -> SSMaPa2D version 0.2.2.1
this version is only for Manila2D devices! For Manila3D use this link:
http://forum.xda-developers.com/showthread.php?p=2400995
please test it and let me know if there are bugs…
Patch options:
.) Replace Calender
.) Replace Mail
.) Replace Opera
.) Replace Camera
.) Time Click Man2d
.) Bluetooth Settings
Note: extended Init not possible at the moment. If someone facing UnauthorizedAccessException tell here.
How does it work ?
1.) Copy SSMaPa2D.exe to pda and start it.
2.) Press "Init"
3.) Under settings – click on description line what you want to change
4.) Then change the program what you want in fields below + click on "patch" + "save"
5.) Under deploy – click "Deploy".
After that you can exit the program.
If your files are signed, you're asked if you want to unsign them.
Please note, I didn't find a way to remove the signatures in a 'correct' way. I do an exe-based-deactivating. This is ok, as long as you don't want to resign them. If you want to resign them with your own certificate chose no and do it by hand.
Also I didn't have a manila2d testdevice... So it was a little bit difficult to test the application, but I had a motivator and beta tester
Thank you camel (camro)!
Please donate for me! I'm a apprentice and use a lot of my free time for working on the computer, to be able to create such tools.
[size=+2]Thank you [/size]
Received Donations:
none for SSMaPa2D
Cu sven
Version 0.2.2.1 (18/11/2008)
- First release
--> Excuse the Versionnumber. It's because of the paralell-developement from SSMaPa and SSMaPa2D
-- reserved --
I must be doing something wrong; I don't have anything showing up under the description line.
fredcatsmommy said:
I must be doing something wrong; I don't have anything showing up under the description line.
Click to expand...
Click to collapse
strange.
if others have same problem, post here and mail me your manila2d.exe...
thank you
I like the idea of this, but I am having a problem. When I select a description to edit and then select the ..., although all folders is selected, not all of them are showing up. I am missing Program Files, Windows, etc. Looking forward to a fix for this.
this is a "file explorer" related problem.
ex:
1.) please check the link file of creating of a "new appointment" on thumbal folder in start menu with a file browser (ex: total commander resco explorer)
2.) copy the string from there then to m2d patcher . the same on paramter - i (have tested it) and it works
@sven - maybe you can post a screen shot of the gui on first posting.
camro said:
this is a "file explorer" related problem.
ex:
1.) please check the link file of creating of a "new appointment" on thumbal folder in start menu with a file browser (ex: total commander resco explorer)
2.) copy the string from there then to m2d patcher . the same on paramter - i (have tested it) and it works
@sven - maybe you can post a screen shot of the gui on first posting.
Click to expand...
Click to collapse
I realize I can create the path manually or copying it from a link, but I would much rather be able to browse to the file I want and have the app create the path . I use Resco File Explorer, so getting the full path is no issue. Thanks.
It seems I can only assign the software in the storage card. Is there any way for me to assign the software in the main memory ?
chihliouma said:
It seems I can only assign the software in the storage card. Is there any way for me to assign the software in the main memory ?
Click to expand...
Click to collapse
you can copy the software the every location and you can start the software from every location.
if you need this very often - create a link to the exe and move it to your start menu folder - thats it
@browing with the file explorer extension.
i know that there is somewhere an extra plugin for browsing easier to folder directions.... maybe somebody can do a search under xda...
camro said:
@browing with the file explorer extension.
i know that there is somewhere an extra plugin for browsing easier to folder directions.... maybe somebody can do a search under xda...
Click to expand...
Click to collapse
Use FileDialogChanger / gsgetfile.dll for a better filedialog
http://www.geocities.co.jp/SiliconValley-Cupertino/2039/
take the english and not the japanese version
How to point to Day view, Task .. shortcut of ThumbCal ?!
I just copy all path (view the Task.lnk, Dayview.lnk ... by Resco Explorer) but it say error !
shpy said:
How to point to Day view, Task .. shortcut of ThumbCal ?!
I just copy all path (view the Task.lnk, Dayview.lnk ... by Resco Explorer) but it say error !
Click to expand...
Click to collapse
don't copy the whole path.
enter only the exepath, then do the arguments in argument box.
for example:
exe: \Interner Speicher\Programme\ThumbApps\ThumbCal\ThumbCal.exe
argument: -i
working dir: \Interner Speicher\Programme\ThumbApps\ThumbCal\
cu
sven
svenso said:
don't copy the whole path.
enter only the exepath, then do the arguments in argument box.
for example:
exe: \Interner Speicher\Programme\ThumbApps\ThumbCal\ThumbCal.exe
argument: -i
working dir: \Interner Speicher\Programme\ThumbApps\ThumbCal\
cu
sven
Click to expand...
Click to collapse
Please, can you make Task, Day view of Thumbcal work ?! I done exactly what you wrote above but it's not work. (changed the path, and i can make Thumbcal work.)
svenso said:
Use FileDialogChanger / gsgetfile.dll for a better filedialog
http://www.geocities.co.jp/SiliconValley-Cupertino/2039/
take the english and not the japanese version
Click to expand...
Click to collapse
Ok, I guess I can make you easier here. Download the attachment and unzip and copy inside 2 files (you should choose "show all files" option when using the file explorer) into \windows.
After that, go to Settings/System tab, then you should see "File dailog Changer". Enter the software, and choose the "Exchange Standard File Dialog, click "add". Now it should trigger the shield feature of file browser for SSMAPA2D now.
Now you can assign the software as you want by using SSMAPA2D.
Nothing showing up under "Settings" tab
Hi,
INIT seems to work but the settings tab is empty and I cannot add or change anything.
Any ideas?
What am I doing wrong?
Regard,
John
jhuppertz said:
Hi,
INIT seems to work but the settings tab is empty and I cannot add or change anything.
Any ideas?
What am I doing wrong?
Regard,
John
Click to expand...
Click to collapse
do you have a cooked rom?
svenso said:
do you have a cooked rom?
Click to expand...
Click to collapse
Yep, this one http://forum.xda-developers.com/showthread.php?t=416636
jhuppertz said:
Yep, this one http://forum.xda-developers.com/showthread.php?t=416636
Click to expand...
Click to collapse
I don't know exactly why, but cooked rooms can cause problems..
I don't have the time to flash all posssible roms and check if ssmapa works..
sorry
This is the path of task.lnk of Thumbcal:
".../thumbcal.exe" task?thumbcal....
So, what and where should i type in :
New program:
Arguments:
Working Dir:
??
shpy said:
This is the path of task.lnk of Thumbcal:
".../thumbcal.exe" task?thumbcal....
So, what and where should i type in :
New program:
Arguments:
Working Dir:
??
Click to expand...
Click to collapse
new program: full path to thumbcal is the simpliest thing...
search for thumbcal.exe. In this format: "/programs/myprogram/myprog.exe"
arguments: task?thumbcal....
working dir: full path to thumbcal is the simpliest thing (but don't add the exename, only "/programs/myprogram/" not "/programs/myprogram/myprog.exe"
cu sven

How to CHANGE QuickMenu Folder Icons?

Okay, I searched for "change icons" and got two pages of threads on how to change program icons. Some provided great information; however, none addressed my need.
I'm interested in changing only FOLDER icons, and ONLY those in QuickMenu (see attached images). The folder icons are all the same except for two, the Games folder and the Office Mobile folder. They both have a small file inside the directory that's called "icon."
I would like to change any and all directories to whatever icon I choose, or design. Is this possible? If so, how?
Thanks,
Peter
Try PExplorer - it works magic!!!
http://www.heaventools.com/
Confused???
eenbox said:
Try PExplorer - it works magic!!!
http://www.heaventools.com/
Click to expand...
Click to collapse
Thanks for the quick reply. I had a look at that program, and the web site, and I'm completely confused. It looks like a program for my PC, and not my phone. Furthermore, I don't see anything mentioned on how to change an icon.
HELP!
ADDENDUM: Furthermore, as I said in my original post, I DO NOT want to change program icons, such as exe files or dll files. From what I can tell, PExplorer is desiged to modify the inner workings of exe and dll files, etc.
I want to change the icons for a directory (folder image). These are not programs or dlls.
Thanks,
Peter
Figured it out ...
I figured it out. It took a bit of thought, and some weird manipulation using Notepad, but now I can change any QuickMenu icon to almost whatever I want, as long as there's either an EXE or DLL file that contains the icon.
Cheers!
----------------------------------
Since I don't plan to return to this thread, and since there may be someone who wants to know what I did, here's my solution:
REMEMBER: This solution ONLY works if you want to change folder icons WITHIN the QuickMenu subset of folders. It does NOT work on program icons, or for any other icons for that matter (ONLY QUICKMENU FOLDERS).
01) Find an EXE or DLL file with the icon you want. If this file contains more than one icon, then you'll need to know the icon number within the program. This can be quite difficult to determine. However, for the purpose of this discussion, I'm assuming you want to use the MAIN icon, which is usually designated as icon "0" (zero) within the EXE or DLL file. We'll go with "0" for this discussion.
02) Your phone should already have at least one (probably two) folder icon files. The two in question are usually used for the Start Menu Games directory and for the Start Menu Office Mobile directory. Using Total Commander or any similar program (File Explorer will NOT work), make your way to either the Games or Office Mobile directory within the Windows\Start Menu. Whether it's the Games folder or the Office Mobile folder, you should find a shortcut file called icon. This is the file that determines how the folder will appear within the QuickMenu structure.
03) Copy this file to your PC. Anywhere will do as long as you remember where you put it. Make a second copy of it just in case you "ruin" your attempt to change the icon using these instructions. At least you can go back to what you had before.
04) Right click on this file and select Properties. In the General tab, uncheck the Read-only box. Click on Apply.
05) Open NotePad on your PC.
06) Within NotePad, click on File and then on Open. The Open dialogue box appears. At the bottom of this dialogue box are three horizontal white boxes. The second box has the title "Files of type." The default entry is "Text documents (*.txt). Click on the down arrow and change this to "All files." Now find the icon file you copied to your PC in (3) above and open it within NotePad.
07) You will see a line of instructions at the top of the file. These instructions tell your phone where to find the icon image. What we need to do, therefore, is change the instructions to another icon image.
08) Now let's assume that you have a Start Menu folder within QuickMenu called PDF files, and you would like that folder to have the Adobe Reader icon. To do this, change the line of instructions from what it currently reads to the following:
1#AdobeReaderLE.exe,-0
09) Make sure there's a carriage return after the final "0"
10) Re-save the file. The file name must not be changed. It must always remain as "icon."
11) Now copy this new file to the actual PDF directory within your phone's Start Menu. Soft reset your phone and the PDF folder will now have the Adobe icon.
DONE!
Here are some tips:
The above example assumes that the AdobeReaderLE.exe file is in your main Windows directory. If the EXE file you want to use is anywhere else, you need to direct the instructions appropriately. Here's an example for an EXE file contained on your Storage Card, and within the Program Files directory. Let's say you installed BsB Tweaks to the Storage Card, and you want to use the main BsB icon for one of your Start Menu folders. Here's how the instructions would look:
1#\Storage Card\Program Files\BsB\Tweaks\BsB Tweaks.exe,-0
Remember to always save the file with the name "icon." Always put the revised icon file inside the directory whose appearance you want to change.
Happy Changing!
Peter
P.S. Since I can't seem to add images to a post after the fact, I will submit another post shortly with images to show you what I did with my phone.
Before and After Images
As promised, attached (below) are images to show you what I did with my phone.
Peter
thanks alot man, i have been looking for days, to find a way to do this!!!!

Categories

Resources