Thread: Silent Install Parameters

Silent Install Parameters

From
David Mear
Date:

Good afternoon,

 

I have been asked to create a script to install pgAdmin silently via our RMM. Can someone provide me with the silent parameters as my attempts have worked locally with a administrator PowerShell but once it runs as SYSTEM through our RMM, it fails.

 

Any assistance would be greatly applicated.

 

Kindest regards,

David.

Re: Silent Install Parameters

From
Dave Page
Date:
Hi

On Thu, 14 Apr 2022 at 09:34, David Mear <david@mearkats.co.uk> wrote:

Good afternoon,

 

I have been asked to create a script to install pgAdmin silently via our RMM. Can someone provide me with the silent parameters as my attempts have worked locally with a administrator PowerShell but once it runs as SYSTEM through our RMM, it fails.


The general command line parameters for InnoSetup can be found at https://jrsoftware.org/ishelp/topic_setupcmdline.htm

I've never tested installation using group policy or similar, but I would imagine you probably need "/VERYSILENT /ALLUSERS" and maybe /FORCECLOSEAPPLICATIONS, /RESTARTAPPLICATIONS, and /LOG="C:\path\to\log"


--

AW: Silent Install Parameters

From
"Osdoba, Sascha"
Date:
we use SCCM as software deployment and it also installs as SYSTEM account

I would suggest you use powershell app deployment toolkit (PSADT) because if user is still running pgadmin during
installingan later version or uninstalling it can break Pgadmin
 
https://psappdeploytoolkit.com/


this is what you need as batch script:

vcredist_x64.exe /install /quiet /norestart /noreboot /log c:\windows\logs\vcredist_2013_x64_install_12.0.30501.log
pgadmin4-6.8-x64.exe /verysilent /norestart /allusers /LOG=C:\Windows\logs\pgadmin4v6.8_install.log'


If you want I can share the psadt script as well.

Sascha

RE: Silent Install Parameters

From
David Mear
Date:

Thank you both for you suggestions.

 

Also, thank you for the warning regarding breaking it. The script is for onboarding brand new devices so we don’t have much to worry about in that department.

All I needed was the /ALLUSERS part which I was missing so thank you all for that!

 

Kindest regards,

David.

 

From: Osdoba, Sascha
Sent: Thursday, April 14, 2022 3:24 PM
To: David Mear
Cc: pgadmin-support@lists.postgresql.org
Subject: AW: Silent Install Parameters

 

we use SCCM as software deployment and it also installs as SYSTEM account

I would suggest you use powershell app deployment toolkit (PSADT) because if user is still running pgadmin during installing an later version or uninstalling it can break Pgadmin
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpsappdeploytoolkit.com%2F&amp;data=04%7C01%7C%7Cbef4a6b005cc40542d7d08da1e2275ef%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637855430595228391%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=R6lEYfU97khRcjQLrLgMM%2FCyL2xWoockT0kUmGVdmEU%3D&amp;reserved=0


this is what you need as batch script:

vcredist_x64.exe /install /quiet /norestart /noreboot /log c:\windows\logs\vcredist_2013_x64_install_12.0.30501.log
pgadmin4-6.8-x64.exe /verysilent /norestart /allusers /LOG=C:\Windows\logs\pgadmin4v6.8_install.log'


If you want I can share the psadt script as well.

Sascha