Reg Key with Curly Braces in Relevance Substitution

(imported topic written by sonny.mcmanigle91)

I am having consistent failures on this line of code… I thought the {{ escaped from substitution, but it’s within a substitution line? confusing… any input?

if{not exists key “{{7299052b-02a4-4627-81f2-1818da5d550d}” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of registry}

endif

Thanks guys!

(imported comment written by jessewk)

I get confused by the escaping rules sometimes, so instead I often just percent encode the braces:

if {not exists key “%7B7299052b-02a4-4627-81f2-1818da5d550d%7D” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of registry}

endif

(imported comment written by BenKus)

Another method is to escape the close bracket… so you can do this:

if{not exists key “{7299052b-02a4-4627-81f2-1818da5d550d}}” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of registry}

Ben

(imported comment written by sonny.mcmanigle91)

Nice guys, thanks! I think that this was just coincidental and we feel that maybe our upload directory hit a limit on our server…? is there a default max side of the upload directory on 7.0 server?

(imported comment written by BenKus)

Hey sonny,

By default, the maximum size of the Upload Manager directory on a BES Relay is 20 MB. The BES Support site contains a Fixlet message that will alert you if a BES Relay’s Upload Manager directories are at maximum capacity: “WARNING: Upload Manager Directory Full - BES Server / Relay” and lets you change the max size (max max size is 2 GB).

Ben