My app has disappeared along with all my data. I know why but need an urgent
fix. I have to say it is probably of my own making.

Following JP's advice (and I am not blaming him <g>) I created a custom
uninstall. I tested it rigorously in all scenarios and it worked fine.
Pretty simple stuff:

! Get the registry install and data paths
Set Variable %INSTALL_PATH% to FUNCTION:Get Registry Key Value("Install
Path") from "HKEY_LOCAL_MACHINE\Software\Ambrit Software\Dentists Manager"
Set Variable %INSTALL_DATA_PATH% to FUNCTION:Get Registry Key Value("Data
Folder") from "HKEY_LOCAL_MACHINE\Software\Ambrit Software\Dentists Manager"

! --- Process uninstall queue ---
Process Uninstall Queue

! Delete the remaining folders and files including registry entries
Delete Tree "%INSTALL_PATH%"
Delete Tree "%INSTALL_DATA_PATH%"
Edit Registry (Remove key and all subkeys) "HKLM\Software\Ambrit
Software\Dentists Manager"=
Edit Registry (Remove key and all subkeys) "HKCU\Software\Ambrit
Software\Dentists Manager"=

The thing is I performed a web update within my app. This closed down my
application as it should but failed at about 75%. No idea why but that's not
important. SB asked me if I wanted to rollback the changes to which I said
YES as you would.

When this has happened before (without a custom uninstall) it was not a
problem but now the custom uninstall has clearly been actioned and has done
what it should I suppose.

So how do I prevent this custom uninstall running in a scenario where there
is a rollback?

Friedrich, I know you do not support custom un installs but I did not change
the standard one created by SB other than wrapping the Process Uninstall
Queue with the lines.

Many thanks

John