Some notes on software development... RSS 2.0
# Wednesday, 27 February 2008

I got the Internal error 2715 'Component' after I created an InstallShield component with only registry settings in it.

The error message from the log file is:

The specifield File Key component not found in the File Table

So the solution? Don't create InstallShield components that contain only registry settings and no files.

Wednesday, 27 February 2008 15:20:20 (GMT Standard Time, UTC+00:00)  #    -
InstallShield

To run a setup.exe with logging from the command line:

<path to setup file>\setup.exe /verbose"C:\IS.log"

Links:
Setup.exe and Update.exe Command-Line Parameters

Wednesday, 27 February 2008 14:32:20 (GMT Standard Time, UTC+00:00)  #    -
InstallShield
# Wednesday, 20 February 2008

The ActiveSync log file is located in the user temp directory and is called WCESMgr.log.

An example of the type of detail that get logged by ActiveSync:

**** ActiveSync (4.5.5096 RETAIL) started, Cmd line: '/show'
01/07/2008 14:26:46.553 ERROR returned in function CMainFrmWnd::ReadWindowPlacement. hr: 0x80070002
01/07/2008 14:27:14.499 **************** Logging Started ****************
01/07/2008 14:27:14.499 Process C:\Program Files\Microsoft ActiveSync\WCESMgr.exe  p(3452)
01/07/2008 14:27:14.499 ActiveSync second instance started, Cmd line: '/onconnect'
01/07/2008 14:27:14.499 ActiveSync second instance exiting
01/07/2008 14:27:14.499 **************** Logging Stopped ****************
01/07/2008 14:27:14.752 Creating new partnership for device 0x0 (Allegro60344308, XScale).
01/07/2008 14:27:14.752 Found PIM at 'C:\PROGRA~1\MICROS~2\Office12\OUTLOOK.EXE'
01/07/2008 14:27:14.752 Notes Sync not available for device type: 'XScale'
01/07/2008 14:27:22.992 Connected to device 0x64742AEE (XScale, Allegro60344308) [partner 0]
01/07/2008 14:27:22.992 **** Starting synchronization engine
01/07/2008 14:27:22.992 Remote object: 'File', SSPId: 0x00002711 [2 items]
01/07/2008 14:27:22.992 WARNING: Object type 'Appointment' is not installed on the device
01/07/2008 14:27:22.992 WARNING: Object type 'Contact' is not installed on the device
01/07/2008 14:27:22.992 WARNING: Object type 'Task' is not installed on the device
01/07/2008 14:27:25.174 Lost global mapping, uCode: MC_NEW_DESKTOP
01/07/2008 14:27:25.174 **** Synchronization engine started
01/07/2008 14:59:50.481 **** ActiveSync session completed.
01/07/2008 14:59:52.560 **** ActiveSync exiting
01/07/2008 14:59:52.560 **************** Logging Stopped ****************
01/08/2008 10:33:40.431 **************** Logging Started ****************
01/08/2008 10:33:40.431 Process C:\Program Files\Microsoft ActiveSync\WCESMgr.exe  p(3444)

Wednesday, 20 February 2008 11:16:55 (GMT Standard Time, UTC+00:00)  #    -
ActiveSync
# Tuesday, 19 February 2008


Prevent ActiveSync dialog showing every time a device connects
[HKEY_CURRENT_USER\Software\Microsoft\Windows CE Services]
"Sync window display mode"=dword:00000000

No system tray icon:
[HKEY_CURRENT_USER\Software\Microsoft\Windows CE Services]
"ComShowIcon"=dword:00000000

Allow guests by default:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services]
"GuestOnly"=dword:00000001



Links
AppDeploy ActiveSync 4.x

Tuesday, 19 February 2008 14:03:42 (GMT Standard Time, UTC+00:00)  #    -
ActiveSync
Navigation

Sign In
Extras
Statistics
Total Posts: 116
This Year: 0
This Month: 0
This Week: 0
Comments: 36
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2018
Hadrian Phillips

All Content © 2018, Hadrian Phillips
DasBlog theme 'Business' created by Christoph De Baene (delarou)