mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
57b775ef6e
With a single database line added to applications distributed as zip/cab allows rapps.exe to act as an installer that automatically extracts the files and creates a startmenu shortcut. It can also uninstall the extracted files (and optionally other files and registry entries created by the application).
22 lines
634 B
C
22 lines
634 B
C
#pragma once
|
|
|
|
#define CMD_KEY_APPWIZ L"APPWIZ"
|
|
#define CMD_KEY_GENINST L"GENINST"
|
|
#define CMD_KEY_UNINSTALL L"UNINSTALL"
|
|
#define CMD_KEY_INSTALL L"INSTALL"
|
|
#define CMD_KEY_SETUP L"SETUP"
|
|
#define CMD_KEY_FIND L"FIND"
|
|
#define CMD_KEY_INFO L"INFO"
|
|
#define CMD_KEY_HELP L"?"
|
|
#define CMD_KEY_HELP_ALT L"HELP"
|
|
|
|
|
|
const WCHAR UsageString[] = L"RAPPS \
|
|
[/" CMD_KEY_HELP L"] \
|
|
[/" CMD_KEY_INSTALL L" packagename] \
|
|
[/" CMD_KEY_UNINSTALL L" packagename|displayname] \
|
|
[/" CMD_KEY_SETUP L" filename] \
|
|
[/" CMD_KEY_FIND L" string] \
|
|
[/" CMD_KEY_INFO L" packagename]";
|
|
|
|
BOOL ParseCmdAndExecute(LPWSTR lpCmdLine, BOOL bIsFirstLaunch, int nCmdShow);
|