I want to install "postgresql-9.1.3-1-windows-x64.exe" on windows 7 silently.
Where can i find msi install of postgresql-9.1.3.1
Thank you
Zak
postgresql-9.1.3-1-windows-x64.exe can be downloaded from sourceforge. This link might help you for silent installation.
I've the same problem with PostgreSQL on Windows7 x64, well the solutions that success for me is:
Create user postgres and set up password. (User Administrative Tools).
Create C:\postgres and set up security full control to user postgres.
Execute installer and set C:\postgres as root directory
Enjoy it xD
that is all.
Run this command:
postgresql.exe --mode unattended
--superpassword youpassword
--serverport 5432
--unattendedmodeui none
--prefix "c:\postgrespath"
--datadir "c:\postgrespath\datapath"
Related
System Update Required:
Cannot open database connection :
Wrong username and password :
Greetings everyone
I have the following issue with restaurant management system that is programmed in C# connected with Microsoft Access database (2019), the program is work correctly in main developer laptop while we transfer the files to target or other PC or Laptop the program show the above images as windows messages error hopefully anyone have solved the issue before or have suggestion to solve it. let know about it with appreciation and advanced in thanks.
note* even I look for the problem I try to install new framework or Microsoft Access Database Engine 2016 it doesn't work.
Download the required version of log4net dll to the system. And then open Visual studio command prompt. Then run the below command in it.
gacutil -i log4net.dll
You need to install the dll in the GAC.
If by any change there is no gacutil or Visual Studio installed then you can use powershell to install the dll into GAC. You can refer this link for that https://weblogs.asp.net/adweigert/powershell-install-gac-gacutil-for-powershell
In our Company we need to uninstall a Windows Hotfix thats installed on the System. I've done a PowerShell Script that checks if the specified Update (Lookup via KBArticleID) is installed or not and then reports this via Textfile to the Server.
There is a Windows built-in Tool called WUSA (Windows-Update-Standalone-Installer) that allows to uninstall Updates with a specified KB-Article-ID. The Problem is that under Windows 7, 8.1 and 10 the WUSA-Tools only works in normal interactive Mode and not in the quiet Mode that we need. I'm running like this:
wusa.exe /uninstall /kb:3114409 /norestart /quiet
As described the Problem is that this command will only run in Interactive Mode and not Quiet.
Do you have any solutions or hints? I would prefer to implement this via PowerSehll or C# but other Solutions are welcome too :)
Thanks for your help!
Old post, but the heck..
I tried this on a windows 2012 R2 server and it worked:
Start-Process wusa.exe -ArgumentList '/KB:3170455 /uninstall /quiet /norestart' -Wait
I have WPF application which using Postgresql as Database engine. I want to install Postgresql engine and restore/attach application-Db to it.
The application's users are non-technical people and they can not install Postgresql individually.
The application's users are non-technical people and they can not install Postgresql individually.
then try this , silently install PostgreSQL, we are using the similar code in our software deployment
C:\Installer\postgresql-9.0.2-1-windows.exe --serverport 5432 --servicename postgres_service --locale C --superaccount Myadmin --superpassword Mypassword --unattendedmodeui minimal --debuglevel 2 --mode unattended
run this as the bat file , install in the background
postgresql-9.0.2-1-windows.exe
This is your exe
serverport 5432
This is your port number where you want to install Postgres
superaccount Myadmin
You use account name
superpassword Mypassword
Your user password
keep the rest same.
This will directly install to c:\Program Files
I presume you want to deploy on Windows, so you can include PostgrSQL in your application installer, you can create an application installer for example with InnoSetup ...
Here are the details of Postgresql silent install on Windows. Installers can downloaded from here. Once it's installed then you can run your db script off-course.
I need to build a .NET application(x86) remotely using MSBuild.
My application basically has to register for the COM Interop in 64bit Windows 7 system
However since i'm running into some problems due to UAC.
I need to elevate the default permission of MSBuild to Administrator.
How do i do this? How can i remotely open a VSNET Command prompt with Administrative privileges. ?
I'm presently running with the switch in this line
C:\WINDOWS\Microsoft.NET\Framework\v3.5>MsBuild SolutionPath\Solution.sln /t:Rebuild /p:Configuration=Release /p:Platform="x86"
Or
Is there an efficient alternative ?
Thanks
runas command cannot run without manually entering password. Try to use psexec http://technet.microsoft.com/en-us/sysinternals/bb897553 by Mark Russinovich. It can run program on remote PC but also can run at local PC as specified user.
use runas command. http://msdn.microsoft.com/en-us/library/bb490994.aspx
Disable UAC if you don't need it. Use regedit to disable it completely. Disabling UAC using "UAC slider" to "do not notify" was not helpful in my case.
I have several deployment projects with some of them being web deployment projects. My MSIs have successfully installed on both Vista and Windows Server 2008. They will not install on Windows 7 or Server 2008 R2 unless I run it from a console window that I right clicked to "Run as administrator" Unless I do this, none of my installers will successfully install.
I cannot force my customers to have to open up a console window as I have to install the software. As a workaround for now, our customers are doing this but I will need to fix this in future releases.
I even tried creating a Launch Condition and setting the condition to AdminUser but that didn't work.
Thanks for any help.
This error is related to User Access Control (UAC) default settings. For detailed steps of the workaround read this post: http://rambletech.wordpress.com/2011/09/15/windows-server-2008-you-do-not-have-sufficient-privileges-to-complete-this-installation-for-all-users-of-the-machine/
HTH,
Ozzie.