Hi...
I need an extra functionality for my cab file...
i need to ask user if he wont shortcut of app in start menu or default start menu\programs...
is this available from cab suface?? or i need use install_exit function from setup.dll to call outside app to ask that question and create an action?? (.dll file can't show messagebox, can they??)
ok, i can show messagebox from setup.dll so no question.... ;p
ergh friends from work can mixed things up, can't they??
heh... it's not that simple... if before my messagebox shows another messagebox (ex. question about reistall app) install process hangs up... ;/
Related
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.
Hi all,
I've just installed TomTom7 , and I'm not able to find a shortcut in start/programs/ , the only way to run it is to go to explorator and SD/prgrams files/ and run the exe file.
my question is,1/ why first I cannot find the icon in the last used application in the start menu after running it?
2/why there is no shortcut created automatically.
Thanks for your reply
maybe an installation error, should be a shortcut in the program group. At any rate, download total commander and simply make a shortcut for it.
Update
I have now created a CAB for the script.
It will install a link to the program in Programs under the Start Menu.
IMPORTANT: You need to have MortScript installed. There is a CAB in \Program Files\HideFolder. If you already have MortScript you can delete this CAB.
The new cab is at the end of this post.
-------------------------------------------------------------------------
Hiding folders from HTC Album has been discussed elsewhere, maybe for different reasons than mine !
When I select 'Storage Card' a list of folders appear that have no interest to me and do not contain any images that are mine.
I have written a script that allows you to Show or Hide folders from HTC Album. I included the ability to 'Show' folders in the event that you may want to temporarily hide a folder but re-enable it at some point.
You need to have Mortscript installed on your device !
Unzip the file and copy to your device.
When you run the script you will be given a choice whether you want to:
1) Show a Folder
2) Hide a Folder
3) Exit the Script
When you select Show or Hide you will then be asked to select the folder.
If you select Show: A previously hidden folder will be enabled (If the folder is not hidden you will get a message informing you of the error)
A confirmation message will be displayed and you are done.
If you select Hide: The selected folder will now be hidden from HTC Album (If the folder is already hidden you wil get a message informing you of the error)
A confirmation message will be displayed and you are done.
I've run the script in as many combinations as I can think of and all seems to work, please let me know if there is something I hae missed.
CAB Now available see above.
Thanks for such a necessary utility, I was actually looking for this for some days now...I needed this... you know to hide some things when your is taken over by some enthusiast who wants to check out everything in it and occasionally press wrong links....
This app. does its work what it supposed to do but I have Resco photo manager installed the hidden folder is visible in this photo manager...is there a way it could be hidden to resco as well.
great,
is this also possible for HTC Music Player ß
I don´t want to see my ringtones and others on the SD card.
thanks
I edit the registry to hide the folders. This saves me a lot of work. Simple enough. Thanks
Mesquire said:
I edit the registry to hide the folders. This saves me a lot of work. Simple enough. Thanks
Click to expand...
Click to collapse
Can you share the registry edits...pls.
Do you have the same tweaks for music ???
Does this work for HTC HD2? I have tried it an error, unknown function selectdirectory?
A non responding thread...
Application does not work with the newer builds 6.5.x
Here you go.... to all who want to hide folders for whatever reasons, go to this link and follow directions and viola, job done!!! no cabs to install or extra steps that make it complicated, all's you need is a reg-edit on your phone and your good to go!!!
http://pocketnow.com/tweaks-hacks/how-to-hide-folders-with-pictures-from-htc-album
ENJOY AND HAVE FUN!!!
^^^
having some trouble figuring that out could you help
Apologies
Hi All,
I am really sorry that I have not been able to respond to recent requests.
I have some personal stuff going on at the moment which has meant my head has been inserted up an unattractive part of my body.
I am sorting myself out and will try to help where I can in the next few days.
Apologies and thanks in adavnce for your understanding.
Hide more then one folder????
it seems as if i can only hide 1 folder and not multipl folders. How can I hide multiple different folders? When i attempt to do another folder the error always says this folder is already hidden and its not.
Thanks man, nice little app!!
tried on hd2, doesnt work
i have the following Problem and hope some expert might be able to help.
I have the 5*5 shortcut-matrix installed on my Sense-Homescreen. I always use SK Tools to uninstall programms and let it do a "deep scan" after the uninstallation to get rid of any rubble in the registry.
This was the first time i uninstalled a programm which had a shortcut link on the sense homescreen.
Unfortunatly, now i have a dead link. When i press on the link, it tells me it did not find the programm named "" (the name was obvoisly removed by SK Tools). Thats quite obvois, as i uninstalled the program.
However, when i want to remove the dead shortcut (direct link) and replace it by another, it wont let me. The other shortcut links work quite fine and i can remove or replace them.
I guess i have to repair something in the registry, eg. give the link back its name to the program - but where? If i knew before, I just would have removed the shortcut link before the uninstallation...
Can anyone help?
go to registry: hklm/software/htc/manila/home and there u have to find where the shortcut of the program is located and delete it
Hello all, I am having trouble with 2 cabs, Bing, and SPBTv2.1 (freeware)
Bing: I cant install as EXT because of the issue with all of its wav files showing up in Sounds and Notifications... I even edit app.dat to redirect install path and it still shows up there.
When I try to install as cab via config_ap.txt, I receive an error that bing cannot be installed.
I am trying to install it to my Start Menu folders called "Apps", "GPS" and "Internet" instead of top level of start menu.
SpbTV: I cant install as EXT because the Video wont stream.
When I try to install it as cab, I edit the cab with WinCE cab manager to change the shortcut to install to my Start Menu folder called "Entertainment", but it always installs in top level of start menu (even when nothing in the cab has that setting and I delete the shortcut).
Can anyone try their hand at editing the 2 cabs (within the zip files) and see if you can manage to place their shortcuts to the Start Menu folders I mentioned above?
Much appreciated!
Did u
Did u interest to try mortscript method ??then u CAN install ur cab normally and then u CAN move ur shortcuts to ur desired folder with move commands....
U have to morscript cooked in ur rom and then create a mortscript and launch it via config_ap.txt at first boot so after the flash ur shortcuts are in ur desire folder....
Tell me if u interested this method I will post the commands...
Thanks