I have an application that ActiveSync does not install in the correct folder
when I install it in the Main memory (i.e. default location).
If I select "File Store" or "SD Card", the app is correctly installed in the
right installation folder (in the "File Store" or "SD Card").
The CAB file that is used contains the correct installation folder name (I
checked), and when I install the app directly from the CAB file, it install
in the correct folder.
The problem occurs only when I use ActiveSync to install the app (and again,
I checked that the CAB file that is transfered to the device by ActiveSync
is the correct one).
This is a mystery!!!!
I suspect that ActiveSync somehow overrides the name of the application
installation folder that is defined in my CAB file - and uses another one -
but I cannot figure out where ActiveSync stores this information (either in
the device or on the PC). I couldn't find this info in the registry on the
PC. Of course, I find indication of the incorrect folder in
\HKLM\SOFTWARE\Apps\<my app>\InstallDir and ...\InstlDir once the app is
installed, but that's normal, as this is used to remove the app file when
the app is removed.
I tried to remove entirely the ActiveSync app folder on the PC (C:\Program
Files\Microsoft ActiveSync\<my app>) before the install, to no avail.
ActiveSync stubbornly keeps installing my app in the wrong folder (i.e. not
in the app folder indicated in the CAB file).
Does anyone have a clue ?