summaryrefslogtreecommitdiff
path: root/setup_native/source/win32/customactions/indexingfilter/restartindexingservice.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'setup_native/source/win32/customactions/indexingfilter/restartindexingservice.cxx')
-rw-r--r--setup_native/source/win32/customactions/indexingfilter/restartindexingservice.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup_native/source/win32/customactions/indexingfilter/restartindexingservice.cxx b/setup_native/source/win32/customactions/indexingfilter/restartindexingservice.cxx
index f68936f176e2..d6bc4cb38f27 100644
--- a/setup_native/source/win32/customactions/indexingfilter/restartindexingservice.cxx
+++ b/setup_native/source/win32/customactions/indexingfilter/restartindexingservice.cxx
@@ -54,7 +54,7 @@ OpenService_t OpenService_ = NULL;
QueryServiceStatus_t QueryServiceStatus_ = NULL;
StartService_t StartService_ = NULL;
-const TCHAR* const INDEXING_SERVICE_NAME = TEXT("cisvc");
+const char * const INDEXING_SERVICE_NAME = "cisvc";
bool StopIndexingService(SC_HANDLE hService)
{
@@ -150,7 +150,7 @@ void StartIndexingService(SC_HANDLE hService)
extern "C" UINT __stdcall RestartIndexingService(MSIHANDLE)
{
- //MessageBox(NULL, TEXT("Restarting Indexing Service"), TEXT("Message"), MB_OK | MB_ICONINFORMATION);
+ // MessageBoxW(NULL, L"Restarting Indexing Service", L"Message", MB_OK | MB_ICONINFORMATION);
HMODULE hAdvapi32 = LoadLibrary("advapi32.dll");