summaryrefslogtreecommitdiff
path: root/setup_native
diff options
context:
space:
mode:
authorPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-09-09 21:30:04 +0200
committerTor Lillqvist <tlillqvist@suse.com>2011-09-12 10:21:14 +0300
commit43b5c9e772eacbd1bdf607b1e55d5fffb6c51ef4 (patch)
tree5a3e6da01eb512459da9b684c5eb34fd9a5118aa /setup_native
parent03369ebd2d613238e0c1e47c91dcd57f787a764d (diff)
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.cxx4
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 ) )