How to install packages which doesn't register in add/remove programs?

This topic contains 2 replies, has 3 voices, and was last updated by  Ryan Bartram 1 day, 6 hours ago.

  • Author
    Posts
  • #92350

    Charan
    Participant

    Guys,

    I have couple of apps like putty.exe or any portable apps, how can i install them using dsc?

    Of-course i have installed them using cApplication Module, but as they are not as regular apps dsc detecting them as absent every-time and re-installing them. My dsc lcm should be in ApplyandAutoCorrect mode always.

    Best regards
    Charan

  • #92353

    Eric
    Participant

    I would use the File resource to ensure the executable (or folder) is present where you expect it. The Archive resource would be another option if you want to use a zip file as the source.

    -Eric

  • #93984

    Ryan Bartram
    Participant

    If its like an exe which exports a portable for example. Meaning you need to run an "installer" but it doesn't show up in the programs features. The you could use the xPackage resource, with that you can get DSC to create a custom reg key that it uses to track the state of the installation. The only problem I have with the file resource solution is that the source file then always need to be available and DSC will continually check the source to see if it matches the destination. Not necessary if you just want to install an app and have it stay at a particular version.

You must be logged in to reply to this topic.