2019 Silent Install Seguir

0
Avatar
Jason Asbury

The silent install parameters dont seem to be working for 2019. I used the PDF on the support site, I added my BLS server and PKC key, but when I launch Bartender after it installs, it makes go through the license registration. I am using the example command listed on the PDF

setup.exe FEATURE=BarTender BLS=MyBLSServer:5160 PKC=xxxx-xxxx-xxxx-xxxx

25 comentarios

0
Avatar
Jasper Wen
Moderador
Acciones de comentarios Permalink

Can you confirm if you are trying to install and activate BarTender 2019 on an initial system to host the license or BarTender clients on additional systems? Also, what version of Windows are you installing BarTender on?

I would suggest the following:

  • If you are installing and activating BarTender on an initial system to host the license, I would try running the command: setup.exe FEATURE=BarTender PKC=xxxx-xxxx-xxxx-xxxx without the BLS parameter since you wouldn't need to specify the License Server.
  • You would want to use the command: setup.exe FEATURE=BarTender BLS=MyBLSServer:5160 PKC=xxxx-xxxx-xxxx-xxxx to install and activate BarTender clients on additional systems.
  • If you are not installing our latest BarTender 2019 R2 at the moment, I would also suggest downloading and installing our latest release here.

If you are still running into issues, please contact us at support here so we can further assist you with this issue.

0
Avatar
Roel van Bueren
Acciones de comentarios Permalink

I'm seeing different issues trying to deploy Bartender 2019 unattended.

I've downloaded 'https://d94r2itylgwnp.cloudfront.net/BarTender/11.1/BT2019_R4_140669_Full_x64.exe' from https://portal.seagullscientific.com/downloads

BT2019_R4_140669_Full_x64.exe is an MSI bootstrapper created using Advanced Installer. Per their documentation /exenoui would be the parameter to use to install unattended: https://www.advancedinstaller.com/user-guide/exe-setup-file.html.

However this doesn't work against BT2019_R4_140669_Full_x64.exe. Your documentation doesn't refer this switch altogether: https://www.bartendersoftware.com/media/1367/bartender-silent-install.pdf

Therefore I've extracted "BarTender.msi" from the 'BT2019_R1_135955_Full.exe' bootstrapper using the /extract switch.
Then using your documentation we've searched for the  BLS and PKC public properties to configure the license server (BLS) and product key code (PKC). But it seems these properties are not available in the MSI (anymore?).

Can you please provide more or update details about how to install Bartender 2019 unattended?

0
Avatar
Patrik Sjöblom
Acciones de comentarios Permalink

We have the same problem in our enviroment using the latest Bartender exe installer.. BT2019_R5_144231_Full_x64

0
Avatar
Roel van Bueren
Acciones de comentarios Permalink

Use these switches : FEATURE=BarTender INSTALLSQL=False

E.g.:

BT2019_R4_140669_Full_x64.exe FEATURE=BarTender INSTALLSQL=false
or
BT2019_R4_140669_Full.exe FEATURE=BarTender INSTALLSQL=false

0
Avatar
Patrik Sjöblom
Acciones de comentarios Permalink

BT2019_R5_144231_Full_x64 FEATURE=BarTender INSTALLSQL=false doesn't work either.. It will only install ~340mb out of ~800mb. I have a supportcase opened for this.. SCCM uses system account for the install and somehow this doesn't work.

0
Avatar
Paul Rogero
Acciones de comentarios Permalink

I've had similar troubles installing 2019 remotely. I've also tried with and without installing SQL and it does not make a difference in my case. I've also tried 32 and 64-bit installers but they give the same behavior.

I've used PDQ Deploy and a remote powershell session to run the installer but both of these give the same behavior. Installs about ~340MB of files as well.

I have a case open with tech support as well and they are looking into it.

0
Avatar
Patrik Sjöblom
Acciones de comentarios Permalink

Any luck in this Paul? Any repsonse from tech support?

0
Avatar
Paul Rogero
Acciones de comentarios Permalink

No definite fix yet. I'm going to work on installing SQL Server localdb first before the Bartender install and then use the InstallSql=false flag to see if that makes any difference.

0
Avatar
Eric G
Acciones de comentarios Permalink

@Paul, Any update on this, i have been following as I am having the same issue installing with SCCM. As a required push using system context, it looks like it installs the SQL components and then just hangs. But when I make it an available install using the user context it installs everything successfully.

0
Avatar
Paul Rogero
Acciones de comentarios Permalink

No update. Still cannot get the silent remote install to work. I can install from the command-line while logged in as a user with admin credentials. But cannot do so remotely. In our case the ‘remotely’ part is the most important part which I’m sure is the case for you as well. Tried installing SQL separately but still did not work.

0
Avatar
Mikhail Reznik
Acciones de comentarios Permalink

Hi. I've  successfully silently installed BarTender 2019 with this command in SCCM:

BT2019_R6_147532_Full_x64.exe FEATURE=BarTender

But I need silent uninstall command too to make complete deployment. Can anyone help me?

1
Avatar
Jasper Wen
Moderador
Acciones de comentarios Permalink

Hi Mikhail,

I would suggest try using the following command for uninstalling BarTender 2019.

BT2019_R4_XXXXX_Full_x64.exe /qn REMOVE=ALL

The REMOVE=ALL parameter indicates to uninstall all components and the /qn parameter suggests to run the installer without visible windows.

0
Avatar
Mikhail Reznik
Acciones de comentarios Permalink

Thank you Jasper!

It worked!

But I need one more thing. After installation of the BarTender shortcut doesn't appear on the desktop.  Our users think the app's not installed. How can I get the shortcut to appear on the desktop after installation?

0
Avatar
Joshua Abts
Acciones de comentarios Permalink

@Paul and @Eric - any chance you guys are using redirected folders (specifically, redirected My Documents)?  We are and I have followed this through the install process to this being the issue.  If I change the registry key for HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Personal to be a local folder rather than a unc path, then the install completes and properly installs the full 800+mb install.  If I don't, it results in that ~340MB install without any of the actual applications.

I am using PDQ to deploy and have tried using a few steps to adjust the registry before doing the install, but even that isn't working.  if I set the installer to run "interactive" as the deploy user, then it installs the full install but still errors out and requires a manual repair of the application to be able to use it.

If there was a way to prevent the MSI from trying to actually install the "sample documents" I feel like I would get further, not sure if this is possibly the issue you are seeing as well?

0
Avatar
Paul Rogero
Acciones de comentarios Permalink

We are using redirected folders including MyDocuments. What you've stumbled upon sounds promising. I've never been able to get it to work but have always had folder redirection enabled since that is how our environment is configured. I know of no way to turn off the sample documents feature but Seagull guys might know something.

0
Avatar
Joshua Abts
Acciones de comentarios Permalink

Looks like we are in the same boat then with the redirected folders being the underlying issue.

What have you done as your work around?  Manual local installs of the application using a non-redirected user?  Or just running installs locally manually, and not doing remote installs?

0
Avatar
Paul Rogero
Acciones de comentarios Permalink

I don't have any workaround. Manual local install is the only thing that has worked.

I didn't think to try installing remotely using a non-redirected user. May give that a try later to see what happens. Are you saying that worked for you?

0
Avatar
Joshua Abts
Acciones de comentarios Permalink

Unfortunately, no, using a local non-redirected user also didn't work when running remotely/silently.

I have an open case that is getting escalated I believe with the full installer log to see if they can isolate what the issue is.

0
Avatar
Andre Dupre
Acciones de comentarios Permalink

@Joshua - any luck with the support ticket?

I am trying to install BarTender2019 R7 via SCCM and have not been able to get it to install non-interactively. We already have license server and SQL server configured and I would prefer to use a task sequence to Uninstall 2016, Install 2019, and then configure 2019 (activate, setup service account, setup database connection, etc.). The only piece I cannot get to work is installing 2019...

0
Avatar
Joshua Abts
Acciones de comentarios Permalink

None at all, other than basically it just isn't supported/won't work.  We had various issues from installing silently not fully completing to issues with redirected My Documents also causing issues.

We ended up just having to do a local admin install on each computer to get it to function correctly.

0
Avatar
Andre Dupre
Acciones de comentarios Permalink

@Joshua, thanks for the reply. That is the unfortunate.

@Seagull, we will have to remote onto all of our production machines to run the installer ourselves. Please can you make your software installable/manageable for administrators?! Almost all other apps I deploy can be done non-interactively. Fully silent/automated deployments save us a ton of time/effort.

0
Avatar
Patrik Sjöblom
Acciones de comentarios Permalink

I got this answer from the developers in april this year

"The folks on that 2019-Silent-Install thread are trying to bypass the exe installer and use the msi database directly, which absolutely only do this sort of 'partial' install behavior they're seeing.  That route of bypassing our exe installer is both not supported and highly unlikely to be successful for them.  Background - part of the issue is that some of our prerequisites refuse to install if an installer is running, so in order to sequence them and not require a reboot we load them in the ui sequence an handle in a post install execute sequence several custom actions which depend on both BarTender and the prerequisites.

So unpacking the exe installer, using the MSI directly and the /qn flags will not schedule execution of ui sequence and will leave the install in a partially configured state.  Our silent / unattended install works by still executing the sequence but removing all prompts and not showing UI even though it's in the sequence.

Never the less - we're going to look into this further - i believe we can probably offer more guidance on a solution (an approved method) that works for allowing silent/unattended network based installation of BT2019 that could work for these users (though SCCM install thorough unpacking the msi is not going to work).  Hopefully we can see about getting the silent install guide updated as well."

Supportcenter recommended us to use psexec.exe for install on a remote machine but this is NOT an option for us. 

0
Avatar
Paul Rogero
Acciones de comentarios Permalink

@Patrik,

That is an interesting reply from the developers, mainly because that is not the case for all of us. I have been trying to use the .exe installer directly and have never used the .msi file. I have never seen the .exe installer work silently & remotely. The only way I can get it to run silently is to be logged into the machine in question, manually fire up a powershell window, and type in the .exe installer commands.

PsExec has never worked for me and resulted in the same half-installations that everyone above has been talking about.

Best of luck to you! I manually installed Bartender on all the machines in our environment which was a big pain and consumed a lot of time.

0
Avatar
Andre Dupre
Acciones de comentarios Permalink

@Patrik, yea I have a ticket open and support said basically the same thing, to use PSEXEC. Not ideal as our security team gets unhappy whenever it is run ;). I've asked them to escalate up to the Devs, maybe if enough of us ask they'll make it possible.

For what its worth to any devs that may see this post, I am not unpacking the MSI. The issue is that we cannot do a silent and non-interactive installation. If the issue is that pre-reqs have to be done in a certain way I am more than happy to pre-install those myself via SCCM. I know .NET3.5 and SQL Express can be done silently (actually silently). I don't mind a little extra work if the pay is to have fully silent, non-interactive software installation.

For any other admins below is the guidance Seagull support gave in using PSEXEC. Depending on your environment this may or may not be a workable solution, but at least it may be possible to not have to remote onto each machine directly.

"

Regarding the silent installation the main requisites are:
* That the .NET Framework 3.5 is enabled before performing the silent installation
* That the the silent remote installation is done with an account with enough rights and that is able to start an interactive session

The steps to silently install the software are:

1. Download PSexec https://docs.microsoft.com/en-us/sysinternals/downloads/psexec

2. Have a copy of the installer and PSexec locally, for instance copy them to your temp folder

3. At a command prompt run PSexec like so (I tried running CMD with an account with admin rights):

C:\Users\username\AppData\Local\Temp> PsExec64.exe \\REMOTEMACHINE -c -i -s "C:\Users\username\AppData\Local\Temp\BT2019_R6_147532_Full_x64.exe" FEATURE=Bartender INSTALLSQL=false 
  • PSExec flags used: -c to copy the executable (installer) to the remote machine, -i to use an interactive session, -s to use the system account.
  • Other silent install flags could be utilized as well (e.g. PKC or BLS), my example was just one case of it.
  • Log files for installation are automatically created in the %temp% context, which as a system process this will land in C:\windows\temp\ on the remote machine.

"

0
Avatar
Laura Vela
Moderador
Acciones de comentarios Permalink

Hello everyone,

Thank you for your testing and collaboration to try and resolve this issue.

 

As @Patrik Sjöblom and @Andre Dupre mention, currently the remote deployment of BarTender is not possible in most cases because either the MSI installer needs to be used or the deployement is done without the possibility to create an interactive session (which is required by the installer to the installation to be successful).

As such, when one (or both) of these requirements are not met, the installation is partial (only the License Server and a few other applications are installed).

The PSExec instructions provided by @Andre should help you remotely deploy BarTender for the time being until this behavior is addressed. On this regard, I just wanted to let you know that we have already requested this improvement as a feature request to our development team, so using PSExec will just be a temporary solution.

Don't hesitate to reach us of leave a comment, if you have any further questions on this regard we can help you with!

Iniciar sesión para dejar un comentario.