Announcement

Collapse
No announcement yet.

Get name of setup file and use write to ini file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Get name of setup file and use write to ini file

    Hello

    I want to get the name of the setup file currently being run and write this to an ini file in the install folder...

    Example...

    setup_123.exe is running... I want to get the name of this setup exe and use everything after the _ as an id and write this ID to id.ini in my install folder...

    Is this possible?

    Thanks

  • #2
    See the documentation for Session Variables, and use %SourceFilename%. With a simple string operation you can retrieve the file name as you want.

    Ulrich

    Comment


    • #3
      Thanks

      Solved now.

      Comment

      Working...
      X