diff options
author | Jesús Corrius <jcorrius@gmail.com> | 2013-09-02 16:30:41 +0200 |
---|---|---|
committer | Jesús Corrius <jcorrius@gmail.com> | 2013-09-02 16:30:41 +0200 |
commit | a03b1876c7b334acc26a41b4d8ca6eead07cfa1f (patch) | |
tree | bb0077398064341e6928d26154910caf480dc74f /setup_native | |
parent | b23999755a865a277c29adfc1dc0c249275bfd7e (diff) |
We don't support Win9x anymore, remove legacy code
Change-Id: I12afdc1c25bb09d20fd0698831642b953e08bb63
Diffstat (limited to 'setup_native')
-rw-r--r-- | setup_native/source/win32/customactions/regactivex/regactivex.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/setup_native/source/win32/customactions/regactivex/regactivex.cxx b/setup_native/source/win32/customactions/regactivex/regactivex.cxx index 7be03a2dabc4..b25602db198a 100644 --- a/setup_native/source/win32/customactions/regactivex/regactivex.cxx +++ b/setup_native/source/win32/customactions/regactivex/regactivex.cxx @@ -71,12 +71,6 @@ char* UnicodeToAnsiString( wchar_t* pUniString ) //---------------------------------------------------------- void RegisterActiveXNative( const char* pActiveXPath, int nMode, BOOL InstallForAllUser, BOOL InstallFor64Bit ) { - // For Win98/WinME the values should be written to the local machine - OSVERSIONINFO aVerInfo; - aVerInfo.dwOSVersionInfoSize = sizeof( aVerInfo ); - if ( GetVersionEx( &aVerInfo ) && aVerInfo.dwPlatformId != VER_PLATFORM_WIN32_NT ) - InstallForAllUser = TRUE; - HINSTANCE hModule = LoadLibraryExA( pActiveXPath, NULL, LOAD_WITH_ALTERED_SEARCH_PATH ); if( !( hModule <= ( HINSTANCE )HINSTANCE_ERROR ) ) { @@ -104,12 +98,6 @@ void RegisterActiveXNative( const char* pActiveXPath, int nMode, BOOL InstallFor //---------------------------------------------------------- void UnregisterActiveXNative( const char* pActiveXPath, int nMode, BOOL InstallForAllUser, BOOL InstallFor64Bit ) { - // For Win98/WinME the values should be written to the local machine - OSVERSIONINFO aVerInfo; - aVerInfo.dwOSVersionInfoSize = sizeof( aVerInfo ); - if ( GetVersionEx( &aVerInfo ) && aVerInfo.dwPlatformId != VER_PLATFORM_WIN32_NT ) - InstallForAllUser = TRUE; - HINSTANCE hModule = LoadLibraryExA( pActiveXPath, NULL, LOAD_WITH_ALTERED_SEARCH_PATH ); if( !( hModule <= ( HINSTANCE )HINSTANCE_ERROR ) ) { |