Pocket PC Uninstall_Init functions not called second time
Posted on 2004-08-23
I have a PocketPC logon replacement app developed in eVC++3 which is installing and working fine.
However, when it is uninstalled it needs to check if it is still active and prompts the user to disable it. i.e:
codeUNINSTALL_INIT Uninstall_Init(HWND hwndparent,LPCTSTR
if (still active)
MessageBox(hwndparent, _T("Still active."), _T("App"), MB_OK);
// do clean up ...
This works fine the first time. But if you click the 'Remove' button again in Remove Programs, it goes ahead and removes the whole app anyway without calling the Uninstall_Init function again?
Is this by design or I am missing something?
Appreciate any help!