1 #pragma once 2 3 #define CMD_KEY_APPWIZ L"APPWIZ" 4 #define CMD_KEY_GENINST L"GENINST" 5 #define CMD_KEY_UNINSTALL L"UNINSTALL" 6 #define CMD_KEY_INSTALL L"INSTALL" 7 #define CMD_KEY_SETUP L"SETUP" 8 #define CMD_KEY_FIND L"FIND" 9 #define CMD_KEY_INFO L"INFO" 10 #define CMD_KEY_HELP L"?" 11 #define CMD_KEY_HELP_ALT L"HELP" 12 13 14 const WCHAR UsageString[] = L"RAPPS \ 15 [/" CMD_KEY_HELP L"] \ 16 [/" CMD_KEY_INSTALL L" packagename] \ 17 [/" CMD_KEY_UNINSTALL L" packagename|displayname] \ 18 [/" CMD_KEY_SETUP L" filename] \ 19 [/" CMD_KEY_FIND L" string] \ 20 [/" CMD_KEY_INFO L" packagename]"; 21 22 BOOL ParseCmdAndExecute(LPWSTR lpCmdLine, BOOL bIsFirstLaunch, int nCmdShow); 23