You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.2 KiB
56 lines
1.2 KiB
#ifndef _WIZARD_H_
|
|
#define _WIZARD_H_
|
|
|
|
#define _MSOERT_
|
|
#define MSOERT_NO_STRPARSE
|
|
#define MSOERT_NO_BYTESTM
|
|
#define MSOERT_NO_ENUMFMT
|
|
#define MSOERT_NO_CLOGFILE
|
|
#define MSOERT_NO_LISTOBJS
|
|
|
|
#include <windows.h>
|
|
#include <windowsx.h>
|
|
#include <regstr.h>
|
|
#include <msoert.h>
|
|
#include <tchar.h>
|
|
|
|
#include <comctrlp.h>
|
|
#include <shlobj.h>
|
|
#ifdef NT_BUILD
|
|
#include <shlobjp.h>
|
|
#else
|
|
#include <shsemip.h>
|
|
#endif
|
|
|
|
#include "wizdef.h"
|
|
#include "ids.h"
|
|
|
|
// Globals
|
|
|
|
extern HINSTANCE g_hInstance; // global module instance handle
|
|
|
|
// Defines
|
|
|
|
// functions in PROPMGR.C
|
|
void InstallUser();
|
|
HRESULT InstallMachine();
|
|
void HandleV1Uninstall(BOOL fSetup);
|
|
void HandleLinks(BOOL fCreate);
|
|
BOOL MigrateSettings();
|
|
void CopySettings(HKEY hkey, SETUPVER sv, BOOL bUpgrade);
|
|
BOOL bVerInfoExists(SETUPVER sv);
|
|
HRESULT CreateLink(LPCTSTR lpszPathObj, LPCTSTR lpszArg, LPCTSTR lpszPathLink, LPCTSTR lpszDesc, LPCTSTR lpszIcon, int iIcon);
|
|
BOOL UninstallOEMapi();
|
|
void UpdateStubInfo(BOOL fInstall);
|
|
|
|
// functions in UNINSTALL.C
|
|
void UnInstallUser();
|
|
BOOL UnInstallMachine();
|
|
LONG RegDeleteKeyRecursive(HKEY hKey, LPCTSTR lpszSubKey);
|
|
void BackMigrateConnSettings();
|
|
|
|
|
|
// functions in MENU.CPP
|
|
void DisplayMenu();
|
|
|
|
#endif // _WIZARD_H_
|