VirtualBox

Ignore:
Timestamp:
Apr 30, 2025 3:01:33 PM (10 days ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168672
Message:

Windows Additions installer: Got rid of strstr.nsh and use the official (included with NSIS) StrFunc.nsh library.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh

    r108948 r109120  
    6161    ; Or: \Registry\Machine\System\CurrentControlSet\Control\Video\vboxvideo\Device0
    6262    ; Result: Machine\System\CurrentControlSet\Control\Video\{28B74D2B-F0A9-48E0-8028-D76F6BB1AE65}\0000
    63     Push "$tmp" ; String
    64     Push "\" ; SubString
    65     Push ">" ; SearchDirection
    66     Push ">" ; StrInclusionDirection
    67     Push "0" ; IncludeSubString
    68     Push "2" ; Loops
    69     Push "0" ; CaseSensitive
    70     Call StrStrAdv
    71     Pop $tmppath ; $1 only contains the full path
     63    ; Param: "$tmppath" ; Result string
     64    ; Param: "$tmp"     ; String to be searched
     65    ; Param: "\"        ; SubString
     66    ; Param: ">"        ; SearchDirection
     67    ; Param: ">"        ; StrInclusionDirection
     68    ; Param: "0"        ; IncludeSubString
     69    ; Param: "2"        ; Loops
     70    ; Param: "0"        ; CaseSensitive
     71    ${StrStrAdv} "$tmppath" "$tmp" "\" ">" ">" "0" "2" "0"
    7272    StrCmp $tmppath "" dev_not_found
    7373
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette