Windows installer 2.0 (C++ port)

This commit is contained in:
Paravis committed 2026-11-07 20:40:49 +03:00
commit 88bf5f1cad
32 files changed
+1768

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
#pragma once
#include <windows.h>
#include <string>
std::wstring Format(const wchar_t* fmt, ...);
std::wstring GetExeDir();
std::wstring GetExeFileName();
std::wstring GetWindowsDir();
std::wstring GetTempDir();
bool FileExists(const std::wstring& path);
bool DirectoryExists(const std::wstring& path);
bool ExtractResourceToFile(HINSTANCE instance, int resourceId, const wchar_t* type,
const std::wstring& path);
int RunWait(const std::wstring& commandLine, bool hidden = false);
void PumpMessages();
COLORREF ColorFromHex(DWORD rgb);
void DebugLog(const wchar_t* fmt, ...);