Old 11th May 2010, 14:07   #1
Zilatica
Junior Member
 
Join Date: Mar 2010
Location: Austin, TX
Posts: 21
Name the Uninstall Process

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?
Zilatica is offline   Reply With Quote
Old 11th May 2010, 14:14   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
You could copy it there yourself and then run it with _?=$INSTDIR.

Stu
Afrow UK is offline   Reply With Quote
Old 11th May 2010, 14:44   #3
Zilatica
Junior Member
 
Join Date: Mar 2010
Location: Austin, TX
Posts: 21
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!
Zilatica is offline   Reply With Quote
Old 10th March 2016, 06:00   #4
AliNisar
Junior Member
 
Join Date: Mar 2016
Posts: 1
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.
AliNisar is offline   Reply With Quote
Old 11th March 2016, 18:36   #5
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,873
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.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Tags
nsis

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump