Adding registry value that includes square brackets #9153
Unanswered
shahareldad
asked this question in
Questions
Replies: 3 comments
-
In the meantime I got an answer that worked using Claude.ai I defined a property <Property Id="DOMAIN_PATTERN" Value="[*.]ynet.com" /> and than used it like this <Component Id="cmpChromeInsecurePrivateNetwork" Guid="{D795493B-E11E-41F6-96F9-1E1C533A422D}">
<RegistryKey Root="HKLM" Key="Software\Policies\Google\Chrome\InsecurePrivateNetworkRequestsAllowedForUrls">
<RegistryValue Name="1" Value="[DOMAIN_PATTERN]" Type="string" />
</RegistryKey>
</Component> |
Beta Was this translation helpful? Give feedback.
0 replies
-
We leave conversations open so they can be found by search later. Note, the correct escape is |
Beta Was this translation helpful? Give feedback.
0 replies
-
If they are not open they cannot be found? So weird.
I will try to remember for next time.
Thanks
…On Sun, Aug 24, 2025 at 10:31 PM Rob Mensching ***@***.***> wrote:
We leave conversations open so they can be found by search later.
Note, the correct escape is [\[] and [\]] (brutal syntax to try to read)
from documentation:
https://learn.microsoft.com/en-us/windows/win32/msi/formatted
—
Reply to this email directly, view it on GitHub
<#9153 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHC4YBZ4TDNBT6HYRV4UGT3PIHIJAVCNFSM6AAAAACEVHAPN6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMRQGM4TCNI>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
--
Best regards
Shahar Eldad
Email: ***@***.***
Phone: 052-8421301
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hi all
I'm trying to register a value which holds square brackets as follow:
I got an error:
Package.wxs(80): error WIX0204: ICE03: Invalid format string; Table: Registry, Column: Value, Key(s): regsv1OtejatD1JMYsxznh6bQJilWg [AutoApps_setup.wixproj]
I tried all sort of combinations e.g.
[[].[]]ynet.com
[.]ynet.com
and more, none worked.
Any idea how to do it?
Open Source Maintenance Fee
wixtoolset
project because I support the maintainers.Beta Was this translation helpful? Give feedback.
All reactions