A few issues during postman installation

I think thereā€™s a couple of things that are not working as they should during postman installation.

  1. it installs silently without requiring any options (eg. /s /silent /q)
  2. It installs under AppData\Local\Postman without asking where it should install.
  3. after it installs it just runs itself, which is an issue for silent installations

Is there any way to fix any of the points above. Itā€™s really causing issues with automated installations in corporate environments. I install many software silently, this is the first time I come across such behavior from a software.

Thanks

It looks like the silent install isnā€™t quite supported yet

Just curious, if you want it to install silently, then is number 2 really a problem?

Thanks for your reply. If I want to install silently, number 1 is not a problem.
number 1 & 2 can be a combined problem. Since I donā€™t get any prompts I canā€™t select an installation folder, which is actually a more serious problem, because there are cases where I want to install on drive D:.

Number 3 is the most serious problem. Why would the program start after its installation? Whatā€™s the logic behind this? I know I installed it, I will start it at my convenience. No need for it to start automatically. This messes up the whole unattended installation for me.

Also, I use this command to install all my software.

Start-Process -Wait -FilePath $PSScriptRoot\software\Postman-win64-7.12.0-Setup.exe

Postman is the only software that ignores the -Wait option. And the weird part is that during its removal it does not ignore the -Wait option.

Start-Process -Wait -FilePath ā€œ${env:LocalAppData}\Postman\Update.exeā€ ā€˜ā€“uninstall -sā€™

For someone automating software installations, this is very weird behavior of a program.

I can see the use case either way.

You can always just add this to your powershell script

Stop-Process -Name "Postman" -Force

That wonā€™t work, for the same reason it ignores the -Wait option.
It does not wait for the postman installation to finish, and it tries to stop the process, so obviously it fails.

Hereā€™s an example script with a few of the software including postman.

https://raw.githubusercontent.com/aristosv/software_install_powershell/master/ps1

Even this is not working

$started = $false ; Do {If (!(Get-Process Postman -ErrorAction SilentlyContinue)) {Start-Sleep -Seconds 1} Else { Stop-Process -Name ā€œPostmanā€ -Force ; $started = $true }} Until ( $started )

Hi there,

As nobody supplied a solution, here is mine.
This is not a perfect installation. Letā€™s say it works at 99%.

First of all a few details about the problem and what I need:

  • the postman installation program cannot do unattended installation
  • the postman window is a non-standard one so it is (almost) impossible to control it automatically
  • the postman program does not have any import switch to load some settings

These are pretty annoying limitations really! I had to do a lot of click here and there to install Postman on all my servers.
So here is what I do to install the tool and automatically import a collection.

  1. I installed Postman manually and I created a collection with the requests I want to use. This populates folder %USERPROFILE%\AppData\Roaming\Postman\Partitions
    I backed up this directory for later use.

  2. I wrote an Autoit script/program that runs the Postman installer. Note I am using version 10.12.0. When the program is installed it automatically opens its window.
    Autoit detects a window called ā€œPostman API Platformā€.
    It closes the window, hence the program.

  3. I wrote a .bat script that does this:

  • if %userprofile%\AppData\Roaming\Postman does not exist (it means it is not installed) so I run my Autoit script/tool
  • when Postman is installed, I copy my backed up ā€œPartitionsā€ folder over the one that was created in %USERPROFILE%

This is it. As Queen said, itā€™s some kind of magic :smiley:

Philippe Ferrucci

Dear Postman Community,

It sounds like youā€™ve encountered a few concerns with Postmanā€™s installation process, particularly with silent installs. The fact that it installs without offering any command-line options like /s or /silent and defaults to AppData\Local\Postman without asking for a location can indeed be frustrating, especially when trying to customize the installation path. The automatic launch post-install is another issue that complicates silent deployments. To avoid these limitations, I would recommend trying installation management tools or installers that offer more flexibility and control during the setup process. These might help streamline installations for tools like Postman.

Thanks for Regardsā€¦!!