restore fs redirection only if it was set in the first place
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5119 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
96491877f2
commit
b5df399991
1 changed files with 5 additions and 5 deletions
|
@ -163,11 +163,11 @@ void RunSelf(char cmd, char *file, int x64)
|
|||
|
||||
CloseHandle(pi.hProcess);
|
||||
}
|
||||
}
|
||||
|
||||
if (x64)
|
||||
{
|
||||
SafeWow64EnableWow64FsRedirection(TRUE);
|
||||
|
||||
if (x64)
|
||||
{
|
||||
SafeWow64EnableWow64FsRedirection(TRUE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue