Wednesday, May 31, 2006

Ever want to make all CAB file installs on your device be silent?  Simply add the following registry key to your platform:

[HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]
    @="wceload.exe \"%1\" /nodelete /noaskdest /noui"

5/31/2006 1:04:13 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [2]  | 
1/22/2007 6:46:51 PM (Eastern Standard Time, UTC-05:00)
ok...after adding the registry setting, how do i, in my program invoke wceload? thanks.
6/9/2007 11:12:37 PM (Eastern Daylight Time, UTC-04:00)
FYI, the answer to invoking wceload is to use CeCreateProcess. On the options to wceload, you're right about the first install, but the second time you attempt to install xyz.cab, you'll still get a modal confirmation dialog. Any ideas on how to suppress this dialog?

"The previous version of 'providerName appName'
will be removed before the new one is installed.
Select OK to continue or Cancel to quit."

-Mike
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):