Changed the name of the uninstaller created in %TEMP%\\~nsu.tmp from %UNIQUE%u_.exe to Un_%UNIQUE%.exe

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6721 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2016-03-11 19:32:21 +00:00
parent 1967160500
commit 4ae373f2d3
3 changed files with 6 additions and 4 deletions

View file

@ -320,7 +320,7 @@ EXTERN_C void NSISWinMainNOCRT()
{
static TCHAR buf2[NSIS_MAX_STRLEN];
GetNSISString(buf2,g_header->str_uninstchild); // $TEMP\$1u_.exe
GetNSISString(buf2,g_header->str_uninstchild); // $TEMP\Un_$1.exe
DeleteFile(buf2); // clean up after all the other ones if they are there
@ -333,7 +333,7 @@ EXTERN_C void NSISWinMainNOCRT()
#ifdef NSIS_SUPPORT_MOVEONREBOOT
MoveFileOnReboot(buf2,NULL);
#endif
GetNSISString(buf2,g_header->str_uninstcmd); // '"$TEMP\$1u_.exe" $0 _?=$INSTDIR\'
GetNSISString(buf2,g_header->str_uninstcmd); // '"$TEMP\Un_$1.exe" $0 _?=$INSTDIR\'
hProc=myCreateProcess(buf2);
if (hProc)
{