Percent sign % in file name breaks bundles that use system variables

  • 7009240
  • 24-Aug-2011
  • 24-Jul-2012

Environment

Novell ZENworks 10 Configuration Management Bundles
Novell ZENworks 11 Configuration Management Bundles
Windows 7

Situation

File names containing a percent symbol - % - give unexpected behaviour when deployed by a bundle that uses system variables.

Resolution

For ZCM 10.3: This is fixed in version 10.3.4 - see KB 7008244 "ZENworks Configuration Management 10.3.4 - update information and list of fixes" which can be found at https://www.novell.com/support

For ZCM 11: This is fixed in version 11.2 - see KB 7010044 "ZENworks Configuration Management 11.2 - update information and list of fixes" which can be found at https://www.novell.com/support

Additional Information

How to recreate the issue
  • Source files in C:\files named as follows (note some file names contain % sign):

    acad.ctb
    acad.stb
    Autodesk-Color.stb
    Autodesk-MONO.stb
    DWF Virtual Pens.ctb
    DWGVIEWR.ctb
    DWGVIEWR.stb
    Fill Patterns.ctb
    Grayscale.ctb
    monochrome.ctb
    monochrome.stb
    Screening 100%.ctb
    Screening 25%.ctb
    Screening 50%.ctb
    Screening 75%.ctb

  • Test 1
    • ZCC -> Bundles -> New Bundle -> File Bundle -> Install Directory -> Name -> Test1 -> Source Directory -> C:\files -> Destination Directory -> C:\temp\%username% -> Associate with a test user, refresh workstation and deploy bundle
    • Expected results: The files should end up in C:\temp\testuser
    • Actual results: Some of the files end up in C:\temp\testuser and some of the files end up in C:\temp\%username%

  • Test 2
    • ZCC -> Bundles -> New Bundle -> File Bundle -> Install Directory -> Name -> Test2 -> Source Directory -> C:\files -> Destination Directory -> C:\%AppData%\Autodesk -> Associate with a test user, refresh workstation and deploy bundle
    • Expected results: The files should end up in C:\Users\testuser\AppData\Roaming\Autodesk
    • Actual results: Some of the files end up in C:\Users\testuser\AppData\Roaming\Autodesk and some of the files end up in C:\Program Files\Novell\ZENworks\%AppData%