packagefactory icon indicating copy to clipboard operation
packagefactory copied to clipboard

Question: Multiple InstallTasks (install.json) possible?

Open Constey opened this issue 1 year ago • 2 comments

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

Constey avatar Dec 28 '22 12:12 Constey