Hi All,
I need some help with Deleting an Entry from the mxip_notify.vol database through C# in NETCF.
Can someone please point me out in the right direction?
I am not looking for any tool that would do it, I am looking for automating the deletion of a particular entry( or even a group of entries) myself, through NETCF and C#.
Related
Hi folks!
I have an issue that I'm hoping somebody here can help with.
I have a customer for whom I'm developing a custom app for WM5. In discussions about installation/deployment the need came up for the cab installation to be completely automated. What I mean by that is to make sure that once the cab starts executing, no dialogs appear prompting the user for input (i.e. install location). They need this to be completely automated.
Now, I've done my research and found that there is a section called "DefaultInstall" in the .inf file that is used during the build of a cab file that will allow you to specify the installation location and therefore bypassing the pop-up dialog during the execution of the cab file. That's great and will work fine. The problem is that there are also some other cabs that are installed as part of the deployment of the application (third-part API's, SQL CE etc.) that already have their cabs pre-built without a default location specified. This causes the pop-up to appear.
Does anyone know of any workaround for these other cabs? Any way that I can get them to install to a default location so that they don't display the pop-up?
Would extracting the files from these pre-built cabs and re-build them with the DefaultInstall section work?
Your help is appreciated.
Thanks!!
Ag.
Try this http://row1.info/content/view/85/2/
Use a custom install dll
Thanks doedoe!
I haven't tried it out but I will and post the results here.
Anybody else have any ideas?
thx.
have you thought about calling wceload.exe with "/noui" or "/silent" params?
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=823109&SiteID=1
thx mestrini,
I remember looking into that and running into similar issues that are discussed on the site that your link points to.
I will give it a shot again and see what happens...
Hello,
I'm searching for a batch-file to read the information of installed software (names and releases) from registry in the WM5 device. After the query the results should be written in a text file on the device. This application is very importand and required for our customer support (remote service). Can anyone create a batch-file to realize this? Other solutions welcome!
Thanks in advance.
I think it could be possible to realize it with a mortscript.
Hi,
I have just been on the following thread:
http://www.satter.org/2007/03/lets_shell_some.html
And want to know if anyone can assist me in this forum with the production of a working file for the thread.
I created a CPF file and dropped it into the Herald and executed it. I received an System Notification entry in my Text messaging folder stating 'your device settings cannot be changed by Test.cpf'
Does anyone know whether this is because I do not have the OTA Enterprise prvileges or is ot just that I screwed up in the execution of the file or contents?
I thought in the file it suggests I only need manager access to execute these entries.
All comments are appreciated - I am not a hardcore developer so I have posted this with some trepidation but I need a little help here to get the example working.
Kind Regards,
PianoSam.
make an application unlock
Erofich,
Many thanks for your reply but I wonder if you can explain a little further...
Is it possible to execute changes to the registry with a file like this or do I need to do some programming?
Sorry for my being so ignorant...
PianoSam.
Hi All,
Wouldn't it be great to be able to control which applications ran on your PDA...Ensuring that your users could not run certain apps would be a real bonus.
So I came across a URL that explained just how to do this...
http://www.satter.org/2007/03/lets_shell_some.html#comment-74156022
Sadly, for me I am on WM6 but only have access to the WM5 SDK and when I tried to carry out the suggestions I failed with the SMS text error:
Change of Device Settings Unsuccessful
Your device settings cannot be changed by Test.cpf
So I am at a dead end. Can anyone else who has interest step in and assist this beginner to get this function working?
I ran the SDKCerts.Cab on my device and the SecurityOff.CPF file. They were successful and I got the SMS message telling me that the changes in SecurityOff.cpf were successful.
I am probably close to a solution but don't have the background to make the last few steps. Can anyone else assist me please?
Have I just a typo in my test.cpf file (on the URL there is a message about the script containing a typo error - I couldn't spot it though...was it fixed?)
All help is greatly appreciated and would deserve a beer or a cyber equivalent.
Many thanks,
PianoSam.
Could you post the wap-provisioning source you used? So I could check for a typo or sumthin.. I've done the same thing as the blogg describes, and it works fine with me..
I on the other hand, wanted to restrict wceload being loaded via Activesync->Add/Remove programs.. but it seems like RAPI doesn't use the same disallowrun settings etc..
But post you cpf file or you code.. and i'll take a look at it.
Hi,
Thanks for the assistance. I have attached a small zip with the various bits and pieces that I have.
My file is the test.cpf file. What I actually wish to do is to prevent Pocket IE from loading...although my test tried to control the clock.exe file.
all assistance is greatly appreciated and you have already renewed my hope that I might be able to do what is needed...
Thanks,
PianoSam
I'll have a look at it.. but it seems that the Test.cpf is just a doc or a rtf file you've renamed? You know this isn't a "cpf" file that wceload.exe can recognize?
I'll have a look at the registry settings within the file and build a cab/cpf file .. so i can test it... i'll let you know how this goes.. unfortunately, i can't reply before tomorrow.
I didn't realise...
Thanks for your help. I just created my test.cpf in word by cutting and pasting the xml script from the url.
I saved as utf-8 and thought job done. Sadly not.
So what should I do instead? forgive me but I don't know the steps to make a suitable cpf/cab file.
Once again THANK YOU for your kindness,
Sam.
Hello all. I'm looking for some pointers and I'd greatly appreciate any help you can give.
I'm starting to make some OEMs out of cab files, and I've pretty much got that part down. The problem I am having is making an OEM out of a cab that utilizes a setup.dll file.
I have taken a registry snapshot before and after installing one of these cabs, but it is still missing something. Am I just SOL? Does anyone know of an app that will "decompile" the .dll file so I can see the install_exit and install_init calls?
My other option was to modify these cabs so that they have hard coded paths and force them to install without user interraction. Then dump them in /windows, make a mortscript in /windows/startup that will install the cab, delete the cab, then auto delete the mortscript. Does anyone have a better way of doing this?
I do it the old fashion way. Dump registry, install app, dump registry again and then Use windiff to see the new reg entry's. Also grab all the files on the ppc from the cab. (sometimes Setup.dll renames files in cab)
After you do a few, it'd becomes as easy as a regular cab. If you need help let me know.
If there is an easier way i don't know it. I hope there is though.