When you launch an uninstall.exe written using WriteUninstaller, the uninstall.exe is named in the process list something to the tune of A_u.exe, or B_u.exe (depending on how many of the exe's you have launched, it will go through the alphabet).
Is there a way to set a flag to name the process for the uninstaller? The install name stays named the exe you launch. I assume this is part of the "uninstaller extracts itself to a temp directory and then launches so it doesn't retain a file lock on the folder you're trying to delete" behavior. Is it possible to retain the process name?
Name the Uninstall Process
5 posts
You could copy it there yourself and then run it with _?=$INSTDIR.
Stu
Stu
Yea, I was thinking about doing that and using "Exec" so it wouldn't block when I spawn off the child process. I just wondered if there was a directly supported NSIS method of handling this.
Thanks!
Thanks!
dear i am facing same problem my process name while uninstalling is Au_.exe or Bu_.exe how can i fix it please can you provide me some details.
There is currently no way to customize the name of this uninstaller file but I did change it from %UNIQUE%u_.exe to Un_%UNIQUE%.exe for the next version of NSIS 3.
You could file a feature request but it is unlikely to get fixed any time soon. There is a reason for the name the way it is and we would have to figure out a way to be able to keep most of the name while still having the ability to transform it if there is another uninstaller running at the same time.
You could file a feature request but it is unlikely to get fixed any time soon. There is a reason for the name the way it is and we would have to figure out a way to be able to keep most of the name while still having the ability to transform it if there is another uninstaller running at the same time.