N
Neville Lang
Hi all,
When I deploy my VS2003-compiled app, it installs EXEs to the desktop side
and uses the ActiveSync AppMgr to install the CAB to the device. I also
control the deployment using an MSI file and have a custom installer and
uninstaller on the desktop.
After my app is installed, I have found that it can be Removed in two
places - i) the Remove button on ActiveSync's Tools -> Add/Remove Programs
and, ii) the Remove button for the app on the Add or Remove Programs on the
control panel. Removing my app using the Remove button on ActiveSync
(AppMgr) works perfectly as it has been setup to call my uninstaller via the
AppMgr INI file, and so things get tidied up on the desktop side as well as
the device side.
However, if I (or one of my customers) decide to remove my app using the
Remove button in the Add or Remove Programs on the Control Panel, the
removal process fails. I assume at this point the uninstaller has no
knowledge that the app was installed on the device via AppMgr and so the
removal from the device does not happen.
How can I prevent either i) the app from appearing on the Add or Remove
Programs list in Control Panel or ii) prevent the Remove button from being
operational on the Add or Remove Programs list and give a reminder to use
the ActiveSync Remove button instead? I will be interested to know how
others have got around this one when using MSI deployment.
Regards,
Neville Lang
When I deploy my VS2003-compiled app, it installs EXEs to the desktop side
and uses the ActiveSync AppMgr to install the CAB to the device. I also
control the deployment using an MSI file and have a custom installer and
uninstaller on the desktop.
After my app is installed, I have found that it can be Removed in two
places - i) the Remove button on ActiveSync's Tools -> Add/Remove Programs
and, ii) the Remove button for the app on the Add or Remove Programs on the
control panel. Removing my app using the Remove button on ActiveSync
(AppMgr) works perfectly as it has been setup to call my uninstaller via the
AppMgr INI file, and so things get tidied up on the desktop side as well as
the device side.
However, if I (or one of my customers) decide to remove my app using the
Remove button in the Add or Remove Programs on the Control Panel, the
removal process fails. I assume at this point the uninstaller has no
knowledge that the app was installed on the device via AppMgr and so the
removal from the device does not happen.
How can I prevent either i) the app from appearing on the Add or Remove
Programs list in Control Panel or ii) prevent the Remove button from being
operational on the Add or Remove Programs list and give a reminder to use
the ActiveSync Remove button instead? I will be interested to know how
others have got around this one when using MSI deployment.
Regards,
Neville Lang