Skip to content

Question: Multiple InstallTasks (install.json) possible? #14

@Constey

Description

@Constey

Hi there,

i've a short question about the install.json. I want to add or edit some registry keys postinstall. I've found that Remove and Copy of files is possible, but how could I run an additional .ps1 script for example or add those registry keys after the setup?

   "Version": "11.9.0"
  },
  "LogPath": "C:\\ProgramData\\Microsoft\\IntuneManagementExtension\\Logs",
  "InstallTasks": {
    "ArgumentList": "/package \"#SetupFile\" AUTOUPDATE=No DESKTOPICONS=No FAXPRINTER=No REGISTERREADER=No /qn /log \"#LogPath\\#LogName.log\""
  },
  "PostInstall": {
    "Remove": [],
    "Copy": []
  }
}

Kind regards,
Constantin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions