i'm trying to use Patch Manager to install a couple of packages. I get as far as the Install folder getting onto the client, but the exe or msi never installs. Help?
Hi there, iv never used patch manager but you might just need to run this as administrator to install wsi file types
i'm using a domain admin account for testing purposes.
Ok, done alittle digging and you might find your answerrs here: [VIDEO] Package Creation Using Patch Manager
around 13 minutes in I could be wrong through
I've watched this video a couple of times and it has helped in moving along, but i just cant get the file to install. i see it download, then i see it launch in task manager, but that's it. the file never installs.
have you checked the event viewer
And check the events when you tired to install the msi file?
i tried installing the msi using msiexec and it installs when i use the /i command. i've been reading the threads and in Patch Manager the /i shouldn't be needed.
i went thru the event log and this is what i see
</System>
</EventData>
</Event>
i
More information is needed to find the cause of your problem. If you are seeing the installer launch but install does not complete it usually indicates that the installer is encountering an error. This could be due to incorrect switches being passed for the silent install, missing prerequisites, or any number of other problems depending on application.
Are you installing an MSI or EXE?
Have you tested your silent install switches from the command line successfully?
Have you tried the above running as SYSTEM? I have seen some applications fail when running as SYSTEM.
For MSI packages that only require the standard /qn /norestart switches you can leave the install parameters blank as those are included by default with all MSI packages.
i'm installing an MSI. when i try to install it from the command line, i'm only successful if i use the /i switch. i cant get it to install with the /S. i was instructed by the vendor that the /S was needed.
what do you mean by running as SYSTEM?
When patch manager calls an msi without any additional parameters specified it is actually running "msiexec.exe /i myapp.msi /qn /norestart". Anything you put in the install parameters field will be added to the end. If you add /S it will run "msiexec.exe /i myapp.msi /qn /norestart /S". You need to find the proper parameter set that will let your msi run from a command line and then put that in your custom package.
When Windows Update runs your packages it will be running as the SYSTEM account. As I mentioned I have seen this break poorly written installers. You can use PSExec to run commands as SYSTEM to test. Based on your response this is likely not your issue.
Are you able to install the file on a diffrent/standalone PC? just to eliminate any issuse with the current set up? Not doughting your setup just checking all avenues:)
so far i'm only able to get the msi to install with the /i I will go back to the package and try to remove all the other stuff
To be clear, you do not need to specify anything in the package to achieve the standard install command of "msiexec.exe /i myapp.msi /qn /norestart". You also cannot remove those switches. I would test the install outside of patch manager in the command line and get that working before you proceed. Use that command as a starting point and find out from your vendor's documentation what switches need to be added.
Once again, knowing what msi you are trying to install could be helpful.