Search code examples
.netsecuritywindows-mobilecompact-frameworkcab

windows mobile 6.5 CAB signing and wceload /silent problem


I generated a personal certificate file *.cer, signed my CAB file with it, installed this certificate on Windows Mobile 6.5. I want to silently install this CAB on the device. I call "wceload.exe /silent MyCab.CAB". The problem is that the /silent switch is not working - I get prompted for ack the installation of CAB while I'm expecting the /silent switch will ack all prompts itself. Additionally I'd like to avoid the dialog "The previous version of ... is installed..." if my CAB has been already installed before. Is there a way to do it on Windows Mobile? I tried setting the registry key HKLM/Software/Apps/My App/Instl to 0 but it is not working. Any help is appreciated.

Regards


Solution

  • have you tried warm-booting since the certificate was installed, and before you run wceload?

    You could try adding /noui to your command-line with the /silent parameter, though that's supposed to be for legacy applications. http://msdn.microsoft.com/en-us/library/bb158700.aspx

    But, you might be needing a Trusted Certificate. You can disable this requirement by changing [HKLM]\Security\Policies\Policies from [DWORD] 0 to [DWORD] 1.

    see also: