microsoft / shell-intune-samples

Sample shell scripts for Intune admins.
MIT License
670 stars 222 forks source link

Not an issue, more like a question #23

Closed InsulT closed 3 years ago

InsulT commented 3 years ago

Hey Guys!

Thank you very much for this project, it helps a lot. I was wondering, have you ever tried to package Cisco AMP this way?

I have tried everything, but it will never install successfully :(

Thanks in advance!

theneiljohnson commented 3 years ago

Sorry, this isn’t something I have done. I did a bit of reading though and it looks like you should have a DMG that contains the package and dependencies supplied from the AMP console?

I think I’d approach this by scripting the download of the DMG, mounting it and then firing the package installer in silent mode. It looks like it should all run as root.

From: InsulT @.> Date: Thursday, 22 July 2021 at 20:27 To: microsoft/shell-intune-samples @.> Cc: Subscribed @.***> Subject: [microsoft/shell-intune-samples] Not an issue, more like a question (#23)

Hey Guys!

Thank you very much for this project, it helps a lot. I was wondering, have you ever tried to package Cisco AMP this way?

I have tried everything, but it will never install successfully :(

Thanks in advance!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fshell-intune-samples%2Fissues%2F23&data=04%7C01%7Cneiljohn%40microsoft.com%7C14ef7e162dd24e9cfac408d94d46acc3%7C72f988bf86f141af91ab2d7cd011db47%7C0%7C0%7C637625788227861797%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=oy51vthaqAFfwm0CHvMmCp%2BOU%2Fm5MJpAIu%2BgoD4%2BOG0%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGOC2JPWAIVOCASWUJH3XWTTZBWIFANCNFSM5A2UHYIA&data=04%7C01%7Cneiljohn%40microsoft.com%7C14ef7e162dd24e9cfac408d94d46acc3%7C72f988bf86f141af91ab2d7cd011db47%7C0%7C0%7C637625788227871755%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=pmNh7SCUBC0HBEwr9Dr%2FmrdBeODzXH5n1cp3IC7sROs%3D&reserved=0.

InsulT commented 3 years ago

Hey Niel,

unfortunately the cisco amp is packaged in a really weird way. Its in a .dmg format, but it contains a .pkg file, which also contains a bunch of .pkg files. When I try to use your script that install it from a .pkg file I got an error something like: "installer has no access to that pkg file or access denied".

At this point I am kinda lost :(

Anyway, thanks for your reply.

theneiljohnson commented 3 years ago

Reach out to me at @.*** and we can take a deeper look.


From: InsulT @.> Sent: 26 July 2021 13:45 To: microsoft/shell-intune-samples @.> Cc: Neil Johnson @.>; Comment @.> Subject: Re: [microsoft/shell-intune-samples] Not an issue, more like a question (#23)

Hey Niel,

unfortunately the cisco amp is packaged in a really weird way. Its in a .dmg format, but it contains a .pkg file, which also contains a bunch of .pkg files. When I try to use your script that install it from a .pkg file I got an error something like: "installer has no access to that pkg file or access denied".

At this point I am kinda lost :(

Anyway, thanks for your reply.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fshell-intune-samples%2Fissues%2F23%23issuecomment-886670143&data=04%7C01%7Cneiljohn%40microsoft.com%7C279704080e11472c626d08d9503330b0%7C72f988bf86f141af91ab2d7cd011db47%7C0%7C0%7C637629003110904216%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=YW%2BZhC8340UejdLZ%2FFr2y%2FA7mjXMX7W7qOFSa5wX858%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGOC2JPDGERXJUMDYS63W5DTZVKE5ANCNFSM5A2UHYIA&data=04%7C01%7Cneiljohn%40microsoft.com%7C279704080e11472c626d08d9503330b0%7C72f988bf86f141af91ab2d7cd011db47%7C0%7C0%7C637629003110914173%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Z44Bu1LryqUbrXxsR47itHAse5TXKrUUfLcp0nenWlE%3D&reserved=0.

theneiljohnson commented 3 years ago

I've had a look at this and produced an example script here : https://github.com/microsoft/shell-intune-samples/tree/master/Apps/Cisco%20AMP

InsulT commented 3 years ago

Many thanks Neil, I will check it ;)