Instructor
8th October 2005 07:47 UTC
Logging question
Script:
WriteRegStr HKEY_CURRENT_USER "SOFTWARE\Opera Software" "1" "2"
WriteRegStr HKEY_CLASSES_ROOT "Opera" "3" "4"
install.log:
WriteRegStr: set -2147483647\SOFTWARE\Opera Software\1 to 2
WriteRegStr: set -2147483648\Opera\3 to 4
Is it possible to see it like this:
WriteRegStr: set "HKEY_CURRENT_USER\SOFTWARE\Opera Software\1" to "2"
WriteRegStr: set "HKEY_CLASSES_ROOT\Opera\3" to "4"
kichik
8th October 2005 14:20 UTC
If you submit a patch for this, I'll apply it.
Instructor
26th October 2005 15:33 UTC
Script:
Name "Output"
OutFile "Output.exe"
Section
StrCpy $INSTDIR "$EXEDIR"
LogSet on
WriteRegStr HKCU "SOFTWARE\Opera Software\a" "X" "y"
WriteRegExpandStr HKCU "SOFTWARE\Opera Software\a" "\X\/\" "y"
WriteRegDWORD HKCU "SOFTWARE\Opera Software\a" "X2" "12345"
WriteRegBin HKCU "SOFTWARE\Opera Software\a" "X3" "01FFDD"
DeleteRegValue HKCU "SOFTWARE\Opera Software\a" "X2"
DeleteRegKey HKEY_CURRENT_USER "Software\Opera Software\a"
SectionEnd
install.log (without patch):
WriteRegStr: set -2147483647\SOFTWARE\Opera Software\a\X to y
WriteRegStr: set -2147483647\SOFTWARE\Opera Software\a\\X\/\ to y
WriteRegDWORD: set -2147483647\SOFTWARE\Opera Software\a\X2 to 12345
WriteRegBin: set -2147483647\SOFTWARE\Opera Software\a\X3 with 3 bytes
DeleteRegValue: -2147483647\SOFTWARE\Opera Software\a\X2
DeleteRegKey: -2147483647\Software\Opera Software\a
RMDir: RemoveDirectory invalid input("")
install.log (with patch):
WriteRegStr: "HKEY_CURRENT_USER\SOFTWARE\Opera Software\a" "X"="y"
WriteRegExpandStr: "HKEY_CURRENT_USER\SOFTWARE\Opera Software\a" "\X\/\"="y"
WriteRegDWORD: "HKEY_CURRENT_USER\SOFTWARE\Opera Software\a" "X2"="12345"
WriteRegBin: "HKEY_CURRENT_USER\SOFTWARE\Opera Software\a" "X3"="01ffdd"
DeleteRegValue: "HKEY_CURRENT_USER\SOFTWARE\Opera Software\a" "X2"
DeleteRegKey: "HKEY_CURRENT_USER\Software\Opera Software\a"
RMDir: RemoveDirectory invalid input("")
kichik
27th October 2005 20:06 UTC
Please submit it to the patch tracker.