ActiveSync 4.1 - has something changed?

ActiveSync 4.1 - has something changed?

Post by Natha » Sun, 01 Jan 2006 08:28:04


I am using an MSI Install that installs four cabs.

Some customers have reported that the Add Remove Programs comes up blank at
the end of installation.

I have not been able to reproduce it, but at least two customers experienced
it and had to look for the cabs to install.

The following is the code that I've used and has worked reliably to my
knowledge in previous versions. Argline is command line arguments:

"fullpath/Program.ini" "fullpath/NETCFSP3.ini" "fullpath/SR_enu.ini"
"fullpath/SQLServerCE2.ini"

Nathan

// get path to the app manager
const string RegPath = @"Software\Microsoft\Windows\" +@"CurrentVersion\App
Paths\CEAppMgr.exe";

RegistryKey key = Registry.LocalMachine.OpenSubKey(RegPath);

string appManager = key.GetValue("") as string;


if (appManager != null)

{

Process p = Process.Start(string.Format("\"{0}\"",appManager),argline);

p.WaitForExit();