diff options
author | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-09-09 21:30:04 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-09-12 10:21:14 +0300 |
commit | 43b5c9e772eacbd1bdf607b1e55d5fffb6c51ef4 (patch) | |
tree | 5a3e6da01eb512459da9b684c5eb34fd9a5118aa /setup_native | |
parent | deletion of unneded variable in setup_native, swappatchfiles.cxx (diff) | |
download | core-43b5c9e772eacbd1bdf607b1e55d5fffb6c51ef4.tar.gz core-43b5c9e772eacbd1bdf607b1e55d5fffb6c51ef4.zip |
deleted unneded var in setup_native, migrateinstallpath.cxx
and some coding commented since 2005
Diffstat (limited to 'setup_native')
-rw-r--r-- | setup_native/source/win32/customactions/shellextensions/migrateinstallpath.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/setup_native/source/win32/customactions/shellextensions/migrateinstallpath.cxx b/setup_native/source/win32/customactions/shellextensions/migrateinstallpath.cxx index a487309c53f2..395a21fb8d4e 100644 --- a/setup_native/source/win32/customactions/shellextensions/migrateinstallpath.cxx +++ b/setup_native/source/win32/customactions/shellextensions/migrateinstallpath.cxx @@ -86,10 +86,6 @@ extern "C" UINT __stdcall MigrateInstallPath( MSIHANDLE handle ) std::_tstring sProductKey = "Software\\" + sManufacturer + "\\" + sDefinedName + "\\" + sUpdateVersion + "\\" + sUpgradeCode; - std::_tstring mystr; - mystr = "ProductKey: " + sProductKey; - // MessageBox( NULL, mystr.c_str(), "ProductKey", MB_OK ); - if ( ERROR_SUCCESS == RegOpenKey( HKEY_CURRENT_USER, sProductKey.c_str(), &hKey ) ) { if ( ERROR_SUCCESS == RegQueryValueEx( hKey, TEXT("INSTALLLOCATION"), NULL, NULL, (LPBYTE)szValue, &nValueSize ) ) |