Menu

#259 Program Group allows invalid characters

Fixed in Repo
closed
nobody
None
5
2008-06-26
2008-05-07
Jay McMeans
No

If the user types in invalid characters for the program group name Install Jammer throws an error. It does this because it attempts to create a directory with invalid file name characters. This is very similar to bug 1849403. Because I have some very stupid users and testers it would be greatly appreciated if these two bugs were fixed soon.

This error log is from InstallJammer 1.2.6b1:

Error in action ExecuteAction: Error in action InstallProgramFolderShortcut: can't create directory "C:/Documents and Settings/John.Doe/Start Menu/Programs/XYZ Company ?": no such file or directory
Error in action ExecuteAction: Error in action InstallProgramFolderShortcut: can't create directory "C:/Documents and Settings/John.Doe/Start Menu/Programs/XYZ Company ?": no such file or directory
while executing
"$obj execute"
(procedure "::InstallJammer::ExecuteActions" line 64)
invoked from within
"::InstallJammer::ExecuteActions $id -when $when"
(procedure "::InstallJammer::RaiseEventHandler" line 74)
invoked from within
"::InstallJammer::RaiseEventHandler .wizard"
(command bound to event)

Discussion

  • Damon Courtney

    Damon Courtney - 2008-05-16

    Logged In: YES
    user_id=50387
    Originator: NO

    Ok. I added a new File Name Test Condition that will do what you want, and I modified the Modern Wizard theme to have this new condition by default on the Select Program Folder pane, but it won't alter your existing project.

    If you haven't made any changes to the pane, you can just delete the one you have and add a new one in its place. The new one will have the default conditions. Or, you can just add the condition to your existing pane. 0-]

     
  • Damon Courtney

    Damon Courtney - 2008-05-16
    • milestone: --> Fixed in Repo
     
  • Damon Courtney

    Damon Courtney - 2008-05-16

    Logged In: YES
    user_id=50387
    Originator: NO

    You'll have to download the hourly snapshot to get this fix, by the way. 0-]

     
  • Damon Courtney

    Damon Courtney - 2008-06-26
    • status: open --> closed
     

Log in to post a comment.