Error 1001 when deleting

Error 1001. An error occurred while deleting. This exception will be ignored and deletion will continue. However, the application cannot be completely uninstalled after the complete uninstall

I can not uninstall or install the application. This particular cell does not have access to the Internet, and I do not have physical access, so most googleable results are not useful, because they offer to run exe from Microsoft.

What are the leadership steps to address these issues. I can’t physically get to this machine, and it seems that I can’t get the files on it. This is the code that I am developing and testing. I tried to restore and delete what fails. I looked through the registry, but I have to miss something.

If it is better on SuperUsers, I will gladly translate it.

+7
source share
5 answers

I had the same issue with uninstall by uninstalling the application that I wrote, which includes two Windows services, ergo-user actions were inevitable. I decided that this works with Registry Mechanic. Sorry, Symantec has uninstalled this product. However, Microsoft Fixit is known to help with registry problems. http://support.microsoft.com/mats/Program_Install_and_Uninstall

+9
source

1001 always means that the custom InstallUtil action (Installer Class) is not completed. It is impossible to give you a more detailed answer, because, well, this is "custom." It is not known which code throws the exception.

If you want to save this computer and do not need to rebuild it, you need to register the deletion in order to get the name of the user action to be performed, use ORCA to configure MSI to turn off the user action, reuse MSI and perform the deletion.

Now you know why:

1) Always use a VM to test MSI throughout the development / testing life cycle.

2) Avoid using custom actions whenever possible

3) Never use the special InstallUtil actions. They are not a good model or practice.

+9
source

Control Panel 1.Goto then right-click to be able to repair. 2. Reboot it and remove it again after repair. Here you can uninstall the software.

+5
source

Make a detailed log file :

msiexec.exe /I "File.msi" /QN /L*V "C:\Temp\msilog.log" 
 /I = run installation sequence /L*V "C:\Temp\msilog.log"= verbose logging /QN = run completely silently 

Open it in notepad and find the value 3 . Also check the system event log for any prompts.

+2
source

Most MSI errors, such as, are likely to include user actions or service configuration, for example, Chris says .

If it is really important to chase you, you should get hold of Orca, the SDK tool used to validate MSI files. You can see screenshots of the tool used in this answer . Then check the Custom Action table and the end of the InstallExecuteSequence table (order by serial number) and let us know what entries you find there.

Unfortunately, this is the only way to get Orca by installing the Windows SDK . In addition, you can download a trial version of one of the tools for third-party developers .

My guess is that after InstallFinalize there is an immediate change to the user action that returns some kind of error code. In short, you can report all items AFTER INSTALLING INSTALLATION in InstallExecuteSequence, and we can possibly narrow it down.

+1
source

All Articles