Menu ▾ ▴

#867 global labels in unused functions can't be used

2.0 Series
closed-fixed
General (291)
5
2009-02-21
2009-02-12
tolekideeu
No

We produced a strange behavior since nsis version 2.42.

The installer window does not open when the installer is created with version 2.42 or 2.43. This is not a general behavior. We have created many other installers which works fine. A script which produces the error is attached.

Switching back to version 2.41 everything is ok.

When you compile the file DataDirectorySetup.nsi an installer DataDirTest.exe is created; the installer executable doesn't work when created with nsis version 2.42 and 2.43.

Additional comments can be found inside the script file.

Discussion

  • tolekideeu

    tolekideeu - 2009-02-12

    DataDirTest

     
  • Amir Szekely

    Amir Szekely - 2009-02-21

    It's because DataDirectory is not referenced and is zeroed out. WordReplace's code is actually in that function because you've used it there first. For now, you should put the first WordReplace call somewhere else or use that function.

     
  • Amir Szekely

    Amir Szekely - 2009-02-21
    • assigned_to: nobody --> kichik
     
  • Amir Szekely

    Amir Szekely - 2009-02-21

    Fixed for 2.44.

     
  • Amir Szekely

    Amir Szekely - 2009-02-21
    • summary: Installer does not open --> global labels in unused functions can't be used
    • status: open --> closed-fixed
     

Log in to post a comment.