I am looking for a way I can pass to my installscript check if I application is uninstalling.
I tried this:
if (REMOVE) then
MessageBox("uninstalling!", INFORMATION);
return 0;
endif;
but it triggers even if I am installing :(
I am looking for a way I can pass to my installscript check if I application is uninstalling.
I tried this:
if (REMOVE) then
MessageBox("uninstalling!", INFORMATION);
return 0;
endif;
but it triggers even if I am installing :(
This won't do what you want because REMOVE is a constant so the condition is always true. Try using REMOVEALLMODE instead, or look at OnMaintUIBefore to override the selection up front.