diff --git a/uppbox/MakeInstall4/Main.cpp b/uppbox/MakeInstall4/Main.cpp index 5e08ddeb9..9a1714856 100644 --- a/uppbox/MakeInstall4/Main.cpp +++ b/uppbox/MakeInstall4/Main.cpp @@ -80,7 +80,7 @@ int FilterVersion(int c) { return c == ':' ? '_' : c; } void Make(String pkg, String exe, String method = "MSC9") { Syx("c:/theide/umk " + ass + " " + pkg + " c:/theide/" + method + ".bm -ar " + upptmp + "/" + exe); - FileDelete(upptmp + "/" + exe + ".map"); + FileDelete(upptmp + "/" + ForceExt(exe, ".map")); } CONSOLE_APP_MAIN diff --git a/uppbox/WinInstaller2/Install.cpp b/uppbox/WinInstaller2/Install.cpp index fe4ed0a9d..99ce2d948 100644 --- a/uppbox/WinInstaller2/Install.cpp +++ b/uppbox/WinInstaller2/Install.cpp @@ -70,7 +70,6 @@ BOOL CALLBACK Proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) SetWinRegString("\"" + exe + "\" \"%1\"", "", "TheIDE.upp\\shell\\open\\command\\", HKEY_CLASSES_ROOT); } pi.Destroy(); - RDUMP(AppendFileName(h, IsWow64() ? "theide64.exe" : "theide32.exe")); FileMove(AppendFileName(h, IsWow64() ? "theide64.exe" : "theide32.exe"), exe); EndDialog(hwnd, 0); WinExec(exe, SW_SHOWNORMAL);