mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
uppbox: WinInstaller2
git-svn-id: svn://ultimatepp.org/upp/trunk@8009 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
025ed47aa6
commit
57f9f0b4e4
2 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue