Announcement

Collapse
No announcement yet.

install files

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

  • install files

    I have 100 files in my installer. How can I instruct to install only 1 specific file based on a certain condition and ALL of them otherwise. Do I have to manually add the build-time condition for each file ?

  • #2
    Re: install files

    You could zip the 99 files into one file, so you only have two files to work with. Then write code to either copy that one file to destination, or unzip the other file's contents to destination. Another solution, create two Packages, and let the user chose which package they want..

    Hope this helps,
    Praveen

    Comment


    • #3
      Re: install files

      You can highlight ALL of the files that meet the criteria, right click, select properties, switch to the Conditions tab, and then set the RT Condition for all of them at the same time. (Make sure to choose the correct "Replace", "Append", or "Prepend" setting in the drop down list for the Apply Method.)

      LochWar

      Comment


      • #4
        Re: install files

        What would be the zip file name to enter:
        %AppDir%\filename.zip or should I use another variable ?
        That's the zip file I added to the installer. And then instruct to install to %AppDir%\

        Comment


        • #5
          Re: install files

          You could do that w/o the variable and it will work, or just do what LochWar suggested.

          Comment

          Working...
          X