| Author: Deepika Haridas 01 Aug 2009 | Member Level: Diamond | Rating:  Points: 2 |
Hi,
With silent cab installer for WM5 and WM6 you can install it totally silent. Download it from.
http://cssoft.freehosting.net/website2/default.html
Thanks & Regards, Deepika Editor
If U want to shine like a SUN..First U have to burn like the SUN!! Need a Guide? Join my mentor program..
|
| Author: Ansar 02 Aug 2009 | Member Level: Bronze | Rating:  Points: 2 |
Thanks for your response.
Is there is way to do it without using third party application?
|
| Author: Malleswar 03 Aug 2009 | Member Level: Gold | Rating:  Points: 2 |
Hi Ansar,
Check this links as well.
http://social.msdn.microsoft.com/Forums/en-US/netfxcompact/thread/6238a232-1e87-4067-8720-6cbc548dcd2d/
http://social.msdn.microsoft.com/Forums/en-US/netfxcompact/thread/968ea4ed-477d-4352-bffd-bab302732ea9/
Regards, Malleswar
|
| Author: Pavan Pareta 07 Aug 2009 | Member Level: Silver | Rating:  Points: 2 |
Hi,
Whatever CAB file you want to install in your device first you have to check in you device, is it installed or not if not installed then you have to call silent installation code.
See below code snippet: private void SilentCabInstall() { try { string ceLoadPath = @"\Windows\Wceload.exe"; string cabFile = @"\Storage Card\TestApp.CAB"; string parmeter = @"/delete 0 """ + cabFile + @""" /silent";
ProcessStartInfo psi = new ProcessStartInfo(ceLoadPath, parmeter); Process SilentProcess = new Process();
SilentProcess.StartInfo = psi; SilentProcess.Start(); SilentProcess.WaitForExit(); if (SilentProcess.ExitCode != 0) { MessageBox.Show("Installation failure !"); } } catch (Exception x) { MessageBox.Show(x.Message); } }
|
| Author: Ansar 08 Aug 2009 | Member Level: Bronze | Rating:  Points: 2 |
Hello,
Actually, the previous post by Malleswar helps me to find out a solution for this issue. As it is mentioned in the below link. http://social.msdn.microsoft.com/Forums/en-US/netfxcompact/thread/968ea4ed-477d-4352-bffd-bab302732ea9 We have to delete the sub key in registry (HKEY_Local_Machine\Software\Apps\<Your Application name>).
On application startup after installation, I’m setting the value of Registry key (HKEY_Local_Machine\Software\Apps\<Your Application name>\Instl) to 0.
Above changes to the Registry key, avoids messages like "Application already installed" in the next installation.
I dont know whether it is the correct way to accomplish this task or not. But it fulfilled my requirement.
Regards,
|