Deploy Software Using BP Question

BatchPatch Forums Home Forums BatchPatch Support Forum Deploy Software Using BP Question

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #8689
    kdan
    Participant

    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?

    #9832
    doug
    Moderator

    In 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

    #9833
    kdan
    Participant

    Thanks 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”

    #9834
    doug
    Moderator

    I’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′

    #9835
    kdan
    Participant

    None of those worked as expected.

    I tried this and it worked:

    msiexec.exe /i “SpiceworksAgentShell_Collection_Agent.msi” /qn SITE_KEY=”CY3qdCi8EPHqDbHAsWd0″

    #9836
    doug
    Moderator

    Glad 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.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.