BatchPatch Forums Home › Forums › BatchPatch Support Forum › Deploy Software Using BP Question
- This topic has 5 replies, 2 voices, and was last updated 5 years, 8 months ago by doug.
-
AuthorPosts
-
April 17, 2019 at 4:40 pm #8689kdanParticipant
I want to deploy SpiceworksAgentShell_Collection_Agent.msi using BatchPatch. It is not installing correctly. The key is not being assigned when the install deploys remotely. I think it has something to do with where the quotes are being put.
What it should be according to Spiceworks, with quotes around the key:
msiexec.exe /i SpiceworksAgentShell_Collection_Agent.msi /qn SITE_KEY=”CY3qdCi8EPHqDbHAsWd0″
How BP fills the Command to Execute by default for the program, with quotes around the program:
msiexec.exe /i “SpiceworksAgentShell_Collection_Agent.msi” /q
What needs to happen to get the 1st command to run correctly?
April 17, 2019 at 5:31 pm #9832dougModeratorIn the deployment configuration window you would have to manually modify the ‘Command to execute’ field to make the syntax what you want it to be.
-Doug
April 17, 2019 at 5:53 pm #9833kdanParticipantThanks for the reply. I know where to edit the command in BatchPatch but I do not know what I need to do to get the MSI to run and also use the Site Key.
This is from Spiceworks concerning installing their collection agent using 3rd party programs:
If you want to use a 3rd party program, such as PDQ, to deploy the agent, here are the important things to note:
Parameters: SITE_KEY=<Your site key>. Your site key is displayed when you download the agent.
MSI Options: Operation: Install Restart: Never Quiet: Yes
Success Codes: 0, 1641, 3010
Command Line: msiexec.exe /i SpiceworksAgentShell_Collection_Agent.msi /qn SITE_KEY=”your-site-key”
April 17, 2019 at 6:39 pm #9834dougModeratorI’m unable to test this myself because I don’t have the .msi in question, but I would try the following syntax options in the ‘Command to execute’ field. I’d expect that at least one of them should work. Let me know.
msiexec.exe /i SpiceworksAgentShell_Collection_Agent.msi /qn SITE_KEY=”CY3qdCi8EPHqDbHAsWd0″
msiexec.exe /i SpiceworksAgentShell_Collection_Agent.msi /q SITE_KEY=”CY3qdCi8EPHqDbHAsWd0″
msiexec.exe /i SpiceworksAgentShell_Collection_Agent.msi /qn SITE_KEY=CY3qdCi8EPHqDbHAsWd0
msiexec.exe /i SpiceworksAgentShell_Collection_Agent.msi /q SITE_KEY=CY3qdCi8EPHqDbHAsWd0
msiexec.exe /i SpiceworksAgentShell_Collection_Agent.msi /qn SITE_KEY=’CY3qdCi8EPHqDbHAsWd0′
msiexec.exe /i SpiceworksAgentShell_Collection_Agent.msi /q SITE_KEY=’CY3qdCi8EPHqDbHAsWd0′
April 17, 2019 at 7:23 pm #9835kdanParticipantNone of those worked as expected.
I tried this and it worked:
msiexec.exe /i “SpiceworksAgentShell_Collection_Agent.msi” /qn SITE_KEY=”CY3qdCi8EPHqDbHAsWd0″
April 17, 2019 at 7:25 pm #9836dougModeratorGlad you got it worked out! That’s my mistake. All of my examples were intended to have the .msi in quotes. Thanks for reporting back.
-
AuthorPosts
- You must be logged in to reply to this topic.