Notepad++ fixlet

Hey all,

I’m having issues getting Notepad++ to deploy to endpoint Windows devices. The following is what is being run in the fixlet after the prefetch/extract:
wait __Download\npp.7.5.6.Installer.x64.exe /S

If I run the installer through the local machines command prompt using the same format as above it works.
For example:
C:\path\to\installer\npp.7.5.6.Installer.x64.exe /S
This will run the install silently on the local machine.

Wasn’t sure what could be the holdup here or if there was a good way to discover what the holdup could be. Anyone have ideas here? The 'wait' command usually works just fine with installers.

Odd. That is the commandline that has been used for a while, by the looks of things. Deploying to test machine of mine to see if we see the same behaviour.

Have you tried
action uses wow64 redirection false

…since this is the 64-bit installer?

1 Like

Yeah, JasonWalker is most likely spot on. The IBM included fixlets for Notepad++ 7.5.6 works just fine in my environment, but is 32-bit:

wait __Download\npp.7.5.6.Installer.exe /S

@JasonWalker - I just tried using the command action uses wow64 redirection false
Unfortunately it still didn’t work.
I have tried running just the 32-bit version as well, however it just hangs up “Pending Downloads” same as the 64-bit version.

Assuming this machine does not already have NPP, can you download and try this fixlet?

https://bigfix.me/fixlet/details/25368

1 Like

It doesn’t have it yet, getting ready to set up “Offers” and was this is one of the programs we wanted in the list.
What’s really bad is that NPP isn’t the only software not installing.

Anyways, I’ll download this one and give it a try.

@jhickok
I sent a request for access to this fixlet. When I get access I’ll give it a try and post results.

Well, looks like the fixlet gets stuck at the same spot as the one I have.
"Pending Downloads"
It caches the installer fine, just gets hung up on the installation.

Odd-- do you have an web filtering that might block the download of EXE’s?

EDITED: Sorry, we posted at about the same time. I was responding to “What’s really bad is that NPP isn’t the only software not installing.”

I double checked our filter using live reporting while I ran the fixlet. It’s not being blocked.

Also, it’s not everything that’s not working. Just a few get stuck at "Pending Downloads"
Right now, just NPP and OBS Studio.
I have several other installations that use this same format and work without any complications.

Ok, so the action says “Pending Downloads”? It’s cached on the server though? Are you using relays and is the software making it to the relays? Can you check the client logs and see any errors there?

2 Likes

Yeah, the action says “Pending Downloads” but it will just sit there until the action times out/expires.
Yes it’s cached on the server.
It appears that the cached installer makes it to the computer, but then nothing happens. I checked the folders on the local machine and it did have the installer.
C:\Program Files (x86)\BigFix Enterprise\BES Client\__BESData\actionsite\__Download
At least it had the OBS Studio installer.
I didn’t see the NPP installer.
I did some poking around and saw that the NPP installer looked as though it hadn’t been extracted to there that I could tell…

Edit: Where are the BES Client logs located?

The client logs are located in (typically) here:

C:\Program Files (x86)\BigFix Enterprise\BES Client\__BESData\__Global\Logs

Find the .log file named after today’s date, open it up and look for the results of the fixlet.

1 Like

That might be the case, but then I would expect the console to eventually show that it is no longer in the “pending download” state.

It would be very useful to have the client logs from the time this was done, but be sure to redact Root Server / Relay URLs / IPs / etc…

At 09:19:42 -0500 - mailboxsite (...........)
   Gather::SyncSiteByFile deleting files - count: 1
At 09:19:43 -0500 - 
   Successful Synchronization with site 'mailboxsite' (version 21) - 'http......'
At 09:19:44 -0500 - 
   Processing action site.
At 09:20:21 -0500 - 
   Report posted successfully
At 09:39:25 -0500 - 
   Report posted successfully
At 10:01:00 -0500 - 
   Report posted successfully
At 10:10:41 -0500 - 
   GatherActionMV command received.  Version difference, gathering action site.
At 10:10:47 -0500 - actionsite (http..........)
   Downloaded 'http............'
At 10:10:48 -0500 - actionsite (http...........)
   Gather::SyncSiteByFile adding files - count: 1
At 10:10:49 -0500 - 
   Successful Synchronization with site 'actionsite' (version 5367) - 'http.......'
At 10:10:51 -0500 - actionsite (http.......)
   Relevant - Deploy Notepad++ for Windows (fixlet:2412)
At 10:11:12 -0500 - 
   Report posted successfully
At 10:12:36 -0500 - 
   Report posted successfully
At 10:16:59 -0500 - 
   GatherHashMV command received.
At 10:17:03 -0500 - mailboxsite (http......)
   Downloaded 'http......' as 'Action 2413.fxf'
   Gather::SyncSiteByFile adding files - count: 1
At 10:17:03 -0500 - 
   Successful Synchronization with site 'mailboxsite' (version 22) - 'http......'
At 10:17:05 -0500 - 
   Processing action site.
At 10:17:10 -0500 - mailboxsite (http.......)
   Relevant - Deploy Notepad++ for Windows (fixlet:2413)
At 10:17:10 -0500 - 
   ActionLogMessage: (action:2413) Action signature verified for Downloads
   DownloadsAvailable: checking for 'http............'
   DownloadsAvailable: true (action id 2413)
   ActionLogMessage: (action:2413) Non-Distributed - DownloadsAvailable
   ActionLogMessage: (action:2413) Submitting download request
   ActionLogMessage: (action:2413) Download url: 'https...../npp.7.5.6.Installer.exe'
At 10:17:25 -0500 - 
   Report posted successfully
At 10:17:33 -0500 - 
   ActionLogMessage: (action:2413) Non-Distributed - DownloadsAvailable
   ActionLogMessage: (action:2413) Action signature verified for Execution
   ActionLogMessage: (action:2413) Cannot empty _Download directory
At 10:17:35 -0500 - 
   DownloadPing command received (ID=2413)
At 10:17:43 -0500 - 
   ActionLogMessage: (action:2413) Non-Distributed - DownloadsAvailable
   ActionLogMessage: (action:2413) Action signature verified for Execution
   ActionLogMessage: (action:2413) Cannot empty _Download directory
At 10:17:46 -0500 - 
   ActionLogMessage: (action:2413) Non-Distributed - DownloadsAvailable
   ActionLogMessage: (action:2413) Action signature verified for Execution
   ActionLogMessage: (action:2413) Cannot empty _Download directory

The following just repeats over and over:

At 10:17:46 -0500 - 
   ActionLogMessage: (action:2413) Non-Distributed - DownloadsAvailable
   ActionLogMessage: (action:2413) Action signature verified for Execution
   ActionLogMessage: (action:2413) Cannot empty _Download directory

I checked the _Download folder and it has the OBS Studio installer inside of it still.
Would this be the problem?

Seems like one or more of the files in the Download directory is in use and is locked.

  1. Can you stop all running fixlets against that machine and just try the NP++ installer by itself? You may have to empty that Download directory.

  2. Once the NP++ fixlet is confirmed to work, you may want to see if your OBS installer fixlet is causing problems.

Yeah, I actually stopped all fixlets running to this device earlier. Which was only the OBS Studio and NPP.
That OBS installer is still in the _Download directory. I’ll just manually remove it and try to rerun the NPP fixlet.

It’s located in the following location:

C:\Program Files (x86)\BigFix Enterprise\BES Client\__BESData\actionsite\__Download

I’m guessing that it’s okay to just manually remove it.

Yes, you can remove the contents of that folder.