Revert some inadvertent changes from the last commit.
authorGerald Combs <gerald@wireshark.org>
Thu, 14 Nov 2013 22:52:05 +0000 (22:52 -0000)
committerGerald Combs <gerald@wireshark.org>
Thu, 14 Nov 2013 22:52:05 +0000 (22:52 -0000)
svn path=/trunk/; revision=53329

packaging/portableapps/win32/WiresharkPortable.nsi
wsutil/u3.c

index 38ae7ebb65829506a3d22751817a53b421a3c232..50538ac646762b7cd78fbad3f7c6944d5f6b6b2b 100755 (executable)
@@ -213,16 +213,16 @@ Section "Main"
        EnvironmentVariables:
                ; set the U3 environment variables
                StrCpy $PDRIVE $EXEDIR 2
-               ;System::Call 'Kernel32::SetEnvironmentVariableA(t,t) i("U3_DEVICE_SERIAL", "0000060414068917").r0'
+               System::Call 'Kernel32::SetEnvironmentVariableA(t,t) i("U3_DEVICE_SERIAL", "0000060414068917").r0'
                System::Call 'Kernel32::SetEnvironmentVariableA(t,t) i("U3_DEVICE_PATH", "$PDRIVE").r0'
-               ;System::Call 'Kernel32::SetEnvironmentVariableA(t,t) i("U3_DOCUMENT_PATH", "$PDRIVE\Documents").r0'    
-               ;System::Call 'Kernel32::SetEnvironmentVariableA(t,t) i("U3_DEVICE_VENDOR", "Wireshark Developers").r0'
+               System::Call 'Kernel32::SetEnvironmentVariableA(t,t) i("U3_DOCUMENT_PATH", "$PDRIVE\Documents").r0'     
+               System::Call 'Kernel32::SetEnvironmentVariableA(t,t) i("U3_DEVICE_VENDOR", "Wireshark Developers").r0'
                System::Call 'Kernel32::SetEnvironmentVariableA(t,t) i("U3_DEVICE_PRODUCT", "PortableApps").r0'
-               ;System::Call 'Kernel32::SetEnvironmentVariableA(t,t) i("U3_DEVICE_VENDOR_ID", "0000").r0'
+               System::Call 'Kernel32::SetEnvironmentVariableA(t,t) i("U3_DEVICE_VENDOR_ID", "0000").r0'
                System::Call 'Kernel32::SetEnvironmentVariableA(t,t) i("U3_APP_DATA_PATH", "$EXEDIR\Data").r0'
                System::Call 'Kernel32::SetEnvironmentVariableA(t,t) i("U3_HOST_EXEC_PATH", "$EXEDIR\App\Wireshark").r0'
                System::Call 'Kernel32::SetEnvironmentVariableA(t,t) i("U3_DEVICE_EXEC_PATH", "$EXEDIR\App\Wireshark").r0'
-               ;System::Call 'Kernel32::SetEnvironmentVariableA(t,t) i("U3_ENV_VERSION", "1.0").r0'
+               System::Call 'Kernel32::SetEnvironmentVariableA(t,t) i("U3_ENV_VERSION", "1.0").r0'
                System::Call 'Kernel32::SetEnvironmentVariableA(t,t) i("U3_ENV_LANGUAGE", "1033").r0'
                StrCmp $SECONDARYLAUNCH "true" LaunchAndExit
 
index 73bf80b9bd363acb6af08fcf57a059b871972e67..217d9f3bace47166114707f0eecb9c3067f58578 100644 (file)
@@ -89,6 +89,8 @@ void u3_runtime_info(GString *str)
     g_string_append(str, " from a ");
   }
 
+  g_string_append(str, " U3 device");
+
   if((u3devicepath_lcl =
 #ifdef _WIN32
       getenv_utf8