InstallShield und AdminStudio Schulungen Original-Kurse mit Zertifikat Hier klicken


InstallSite MSI FAQ Home Introduction Preparing Creating How To Runtime Issues Error Reference Deutsch MSI FAQ in Deutsch

How do I write square brackets to the registry?

When writing registry data, Windows Installer treats expressions inside square brackets as properties to be expanded, which can cause incomplete information to be written at runtime. To avoid this, you can use the expression [\c] in your code, which is written to the registry as the character c at runtime; for example, to write a left square bracket to the registry, you can use the expression [\[].

For example, to write this expression to the registry:

  [open("%1")]

you would use this expression in your registry value data:

  [\[]open("%1")[\]]

For more details, see the MSI Help Library page "Formatted".


English News Discussions Windows Installer Related Tools More Help InstallScript About InstallSite Shop Site Search
deutsch Neuigkeiten Diskussionsgruppen Windows Installer MSI FAQ Artikel     Shop Suche

Copyright © by InstallSite Stefan Krueger. All rights reserved. Legal information.
Impressum/Imprint Datenschutzerklärung/Privacy Policy
By using this site you agree to the license agreement. Webmaster contact.