Announcement

Collapse
No announcement yet.

ConfigRead Problem

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

  • ConfigRead Problem

    I use the ConfigRead command on my Installer.
    Now I have the Problem that I only can use the Installer when die *.ini file is in the same folder.
    Isnt the ConfigRead command a run-time command like "File" ?

  • #2
    If the ini is not in the same folder, I guess you should pass the exact path where to find it.

    Certainly the ConfigRead function operates at run time, but File is compile time instruction.
    Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
    Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS

    Comment


    • #3
      ConfigRead will work with any file at runtime, just make sure you pass it the full, valid path to the file.

      Comment


      • #4
        If i use the below code

        ${ConfigRead} "[File]" "[Entry]" $var

        and my config file contains <name>abcd</name> <company>xyz</company> <choise>choise1</choise>

        how to get the value of company and overwrite only the value of company.

        thanks in advance

        Comment


        • #5
          ConfigRead is for key=value type format files. For XML you will need to use a plug-in.

          Stu

          Comment

          Working...
          X