Skip to content

Commit

Permalink
Ha Ha C++
Browse files Browse the repository at this point in the history
  • Loading branch information
anaisbetts committed May 11, 2015
1 parent 4533a06 commit f6c2d59
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Setup/MachineInstaller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,7 @@ bool MachineInstaller::ShouldSilentInstall()
}

// C:\ProgramData\$pkgName\$username\.dead
wchar_t username[512];
DWORD unamesize = _countof(username);
SHGetFolderPath(NULL, CSIDL_COMMON_APPDATA, NULL, SHGFP_TYPE_CURRENT, installFolder);
GetUserName(username, &unamesize);
wcscat(installFolder, L"\\");
wcscat(installFolder, pkgName);
wcscat(installFolder, L"\\");
Expand Down

0 comments on commit f6c2d59

Please sign in to comment.