
i have succefully made a.exe installation.
and i did the following steps
1) First, install a.exe installation
2) Succesfully installed a.exe
3) Then i try to unistall a.exe
4) while uninstalling i click cancel button - 41% unistallation
5) it pops message saying whether you want to cancel or not i choose "yes"
it should not do any unsintallation at all. But, seems to me there are files that it did unistall.
i try log it when uninstall happen the codes:
function OnUninstallingFile(File)
NUMBER nvFileHandle;
begin
OpenFileMode(FILE_MODE_APPEND);
if (!Is (FILE_EXISTS, "C:\\Uninstall.txt")) then
CreateFile(nvFileHandle, "C:\\", "Uninstall.txt");
else
OpenFile(nvFileHandle, "C:\\", "Uninstall.txt");
endif;
WriteLine(nvFileHandle,File);
WriteLine(nvFileHandle,"");
CloseFile(nvFileHandle);
end;
open the C:\uninstall yes.. there are file that are files that succefully uninstall which should not be happened.
any ideas on how soleve this..?
Thank you.