forward slashes and firewall rules?

Comments

1 comment

  • Avatar
    wojciechka

    You can simply replace all forward slashes and always pass a path with backslashes to netsh. You can do this for example by doing:

    <setInstallerVariableFromRegEx>
      <name>jre_java_path</name>
      <pattern>/</pattern>
      <substitution>\\</substitution>
      <text>${installdir}/jre/bin/java.exe</text>
    </setInstallerVariableFromRegEx>
    

    It is also documented in Variables section of InstallBuilder User Guide.

Please sign in to leave a comment.