RE: Silent Install Parameters

2022-04-18 Thread David Mear
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<mailto:s.osd...@gsi.de>
Sent: Thursday, April 14, 2022 3:24 PM
To: David Mear<mailto:da...@mearkats.co.uk>
Cc: 
pgadmin-support@lists.postgresql.org<mailto: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%2Fdata=04%7C01%7C%7Cbef4a6b005cc40542d7d08da1e2275ef%7C84df9e7fe9f640afb435%7C1%7C0%7C637855430595228391%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=R6lEYfU97khRcjQLrLgMM%2FCyL2xWoockT0kUmGVdmEU%3Dreserved=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



AW: Silent Install Parameters

2022-04-14 Thread Osdoba, Sascha
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://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

2022-04-14 Thread Dave Page
Hi

On Thu, 14 Apr 2022 at 09:34, David Mear  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"


-- 
Dave Page
Blog: https://pgsnake.blogspot.com
Twitter: @pgsnake

EDB: https://www.enterprisedb.com


Silent Install Parameters

2022-04-14 Thread David Mear
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.


Silent Install Parameters

2022-04-14 Thread David Mear
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.