uppbox: WinInstaller2

git-svn-id: svn://ultimatepp.org/upp/trunk@8009 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-12-26 15:07:27 +00:00
parent 025ed47aa6
commit 57f9f0b4e4
2 changed files with 2 additions and 0 deletions

View file

@ -80,6 +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");
}
CONSOLE_APP_MAIN

View file

@ -70,6 +70,7 @@ 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);