Search code examples
windows-installerinstallshieldinstallscript

How to remove letters from a Property?


I'm creating a Basic MSI, and i'm using System Search to read a value from the registry, and store it in a Property. I would like to use this property in a cfile path, but unfortunately the value, what I read from the registry looks like this: \\MyServer.MyDomain.com. Does anyone know ho could I remove, the two "\" ?

Thanks in advance!


Solution

  • You'll have to wrote a custom action. The InstallScript function StrReplace will likely be useful.