CodeMeter fails to install during ARD installation when username has a # in it

Document ID : KB000118645
Last Modified Date : 29/10/2018
Show Technical Document Details
As par of the ARD prerequisites installation, CodeMeter must be installed. During the CodeMeter installation, it fails with an error message when the username has a # in it:
Invalid variable #username in

To work around this problem, do the following:
  1. Open a command prompt as Administrator
  2. mkdir c:\windows\temp\cm
  3. set TEMP=c:\windows\temp\cm
  4. set TMP=%TEMP%
  5. cd [directory where ARD install materials exists]
  6. setup_AgileDesigner_x.x.xxxx.xx.exe
  7. Run though the Installation UI as normal

Once the installation completes successfully, the command prompt can be closed. The variable changes were temporary for the command prompt and any children processes only (the ARD/CodeMeter installation processes).