Application not executing when pendrive removed

It will only run on SanDisk drives.