The path is validate when the real uninstaller starts. There is no need to validate twice.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2658 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0b4f2a9809
commit
3505d41bbb
1 changed files with 0 additions and 2 deletions
|
@ -329,7 +329,6 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInst,LPSTR lpszCmdParam,
|
||||||
#endif
|
#endif
|
||||||
if (state_install_directory[0]) mystrcpy(ibuf,state_install_directory);
|
if (state_install_directory[0]) mystrcpy(ibuf,state_install_directory);
|
||||||
else trimslashtoend(ibuf);
|
else trimslashtoend(ibuf);
|
||||||
if (!is_valid_instpath(ibuf)) break;
|
|
||||||
done++;
|
done++;
|
||||||
lstrcat(buf2,"\" ");
|
lstrcat(buf2,"\" ");
|
||||||
lstrcat(buf2,realcmds);
|
lstrcat(buf2,realcmds);
|
||||||
|
@ -373,4 +372,3 @@ end:
|
||||||
|
|
||||||
ExitProcess(ret);
|
ExitProcess(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue