mirror of https://github.com/tongzx/nt5src
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.
68 lines
2.5 KiB
68 lines
2.5 KiB
//+------------------------------------------------------------------
|
|
//
|
|
// Project: Windows NT4 DS Client Setup Wizard
|
|
//
|
|
// Purpose: Installs the Windows NT4 DS Client Files
|
|
//
|
|
// File: doinst.h
|
|
//
|
|
// History: Aug. 1998 Zeyong Xu Created
|
|
// Jan 2000 Jeff Jones (JeffJon) Modified
|
|
// - changed to be an NT setup
|
|
//
|
|
//------------------------------------------------------------------
|
|
|
|
|
|
#define STR_DSCLIENT_INF TEXT("dsclient.inf")
|
|
|
|
#define STR_INSTALL_SECTIONNT4 TEXT("DSClientNT4")
|
|
|
|
#define STR_DSCLIENTINF_REGISTEROCX TEXT("DsClient.inf,RegisterOCXsection,1,N")
|
|
#define STR_INSTSEC_DLL TEXT("instsec.dll")
|
|
#define STR_SECUR32_DLL TEXT("secur32.dll")
|
|
#define STR_GETENCSCHANNEL "GetEncSChannel"
|
|
|
|
// define for the custom registry action after dscleint.inf by Chandana Surlu
|
|
#define SECURITY_PROVIDERS_KEY TEXT("System\\CurrentControlSet\\Control\\SecurityProviders")
|
|
#define SECURITY_PROVIDERS_VALUE TEXT("SecurityProviders")
|
|
#define COMMA_BLANK TEXT(", ")
|
|
#define NEGOTIAT TEXT("negotiat.dll")
|
|
|
|
#define RUNONCE_KEY TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnce")
|
|
#define REG_DSUI_VALUE TEXT("RegisterDSUI")
|
|
#define REG_WABINST_VALUE TEXT("RunWABINST")
|
|
#define REG_DSPROP_VALUE TEXT("RegisterDSPROP")
|
|
|
|
#define STR_REGISTER_REGSVR32_SI_EXE TEXT("\\regsvr32.exe /s /i ")
|
|
#define STR_REGISTER_REGSVR32_S_EXE TEXT("\\regsvr32.exe /s ")
|
|
#define STR_RUN_WABINST_EXE TEXT("\\wabinst.exe /q /r:n")
|
|
#define STR_REGISTER_DSFOLDER_DLL TEXT("\\dsfolder.dll")
|
|
#define STR_REGISTER_DSQUERY_DLL TEXT("\\dsquery.dll")
|
|
#define STR_REGISTER_DSUIEXT_DLL TEXT("\\dsuiext.dll")
|
|
#define STR_REGISTER_CMNQUERY_DLL TEXT("\\cmnquery.dll")
|
|
#define STR_REGISTER_DSPROP_DLL TEXT("\\dsprop.dll")
|
|
|
|
|
|
|
|
INT LaunchINFInstall( HWND hWnd );
|
|
|
|
VOID CALLBACK Timer1Proc(HWND hwnd,
|
|
UINT uMsg,
|
|
UINT idEvent,
|
|
DWORD dwTime);
|
|
|
|
UINT CALLBACK QueueCallbackProc(PVOID pDefaultContext,
|
|
UINT Notification,
|
|
UINT_PTR Param1,
|
|
UINT_PTR Param2);
|
|
|
|
VOID InstallFinish(BOOL nShow);
|
|
BOOL LaunchProcess(LPTSTR lpCommandLine);
|
|
BOOL RegisterOCX();
|
|
VOID DoDsclientReg();
|
|
BOOL DoEncSChannel();
|
|
|
|
|
|
// encrypted schannel installer
|
|
typedef BOOL (__cdecl *FPGETENCSCHANNEL)(BYTE**, DWORD*);
|
|
//BOOL __cdecl GetEncSChannel(BYTE **pData, DWORD *dwDecSize);
|