Canon uniFLOW Smart Client for Mac: Creating a Useable PKG Installer

andymason
New Contributor III

Hi everyone, I. HATE. PRINTERS. That being said, we have to work with them. 

3af7553308d347c884ef24bddd7dd837-sticker.png

and... Canon does not make it easy. 

Here is what I was able to find out from several places online, in order to get this "installer" to actually work. So let's jump on to our Macs and get this over with.

0b1036059dc4fb0b83f753597318ed5f-sticker.png

Downloading the "Installer"

1. Log into your Uniflow Online (web)

2. Start Printing (Side Bar)

3. Install Printer Driver > Click [Download macOS printer driver] 

UniFlowOnlineDownload.jpg

  • Navigate to Download Folder
  • Open SmartClientMac.iso > Open SmartClientMac Volume > 
  • Notice here you only have 1 file. But actually there are 4. 3 are hidden.

Screenshot 2023-05-05 at 11.55.58 AM.png

  • On your Keyboard us the show hidden files shortcut: Command+Shift+.(Period)

Screenshot 2023-05-05 at 11.56.02 AM.png

Getting Files in the Right Location

  • You will now see 3 other files. We only need the SmartClientForMac.pkg and tenantcfg.plist files.
  • Next, Go to Finder > Go > Go to Folder (Shift+Command+G)

GoToFolder.gif

  • Enter 'private/tmp'
  • Next create a new folder called 'uniflowclient'
  • Which is now located in private/tmp/uniflowclient

Screenshot 2023-05-05 at 12.16.12 PM.png

  •  Drag the two files (SmartClientForMac.pkg and tenantcfg.plist) from the mounted SmartClientMac to the private/tmp/uniflowclient folder

DragandDrop.gif

  • Close the SmartClientMac window.

Using Composer to Create the PKG

  • Next Open Composer
  • Drag the uniflowclient folder from finder into composer

Screenshot 2023-05-05 at 12.18.59 PM.png

  • Click on uniflowclient under Sources, navigate private > temp > uniflowclient to confirm files are there

Next click the :down_arrow: next to Sources

Right click on Scripts > Select [Add Shell Script] > Select [postinstall]

Next replace all text with the following:

#!/bin/sh
## postinstall

sudo installer -pkg /tmp/uniflowclient/SmartClientforMac.pkg -target /

exit 0 ## Success
exit 1 ## Failure

Screenshot 2023-05-05 at 12.24.50 PM.png

Now click [Build as PKG] in the composer toolbar. Save it to your Mac.

Boom. Chef's Kiss, You're PKG is ready to take out of the oven.

23d8c400eea4f1dd90e4f7e9d02efa19-sticker.png

Now you can upload it to Jamf Pro, then put into a Policy to push out to your Macs. 

Hope this helps you out!

6515ce4d4f164eea801b8bf289d2377f-sticker.png

17 REPLIES 17

bwoods
Valued Contributor

This presentation is beautiful. 

nhernandez
New Contributor II

amazing!, thank you. 

andymason
New Contributor III

One more thing...

You might want to add the Uniflow Client to the employee's startup items via a Config Profile. 

1. Click on Computers

2. Click on Configuration Profiles > New > Create a Name for it, and Scope.

3. Click Login Items

4. Click [+ Add ] Items, then add the path to the App. Make sure to put the "/" at the end other wise it will not work.

/Applications/uniFLOW SmartClient.app/

5. Click Save.

Screenshot 2023-05-07 at 2.23.58 PM.png

jorrig
New Contributor III

@andymason great guide, just tried it out, works like a charm 😀.

I got an issue that appears randomly from time to time with the uniFLOW Smart Client not starting at our Macs, it happens as I said, randomly among our 60 Macs here at work. 

It does not help adding it to Login Items, have you or anyone else reading this seen it before?

Mostly it just works after starting the app manually, but sometimes I have to run the uninstall script and reinstall it afterwards.

I have spoken to NT-Ware that says it is a developer issue and no solution yet, I have to wait for the developers to get this issue corrected.

SCCM
Contributor II

Did you actually get get the uninstall and reinstall working? I found that after it uninstalled for a upgrade the login window wouldnt come back up for users

jorrig
New Contributor III

Have not had any issues with uninstall script and the installation after.

I have a policy published in Self Service for running the uninstall script, then, since I have not had this solution in place, I manually logged into my uniFLOW tenant, downloaded the iso and manually installed it once again, always working for me.

SCCM
Contributor II

I previously done it the same way as above (policy to install)  and i found it sometimes opened the app and somtimes didnt. The results were inconsistant on our machines. All the files installed correctly it just looks like the install scripts randomly didnt work correctly, you could uninstall and reinstall the ap pwithout sucess, however after a OS upgrade the software would reinstall / work on some devices

jorrig
New Contributor III

Well, my biggest issue is with the app not starting randomly, making the user frustrated when the arrive at the printer just to find the Secure Print queue empty, making them walk back to the computer, start uniFLOW Smart Client manually and then heading back to the printer. 9 out of 10 times the app starts as expected after manually starting it from Finder.

kgeerts
New Contributor

We have also have this issue randomly at certain location. I believe this is related to another issue we have where the uniFLOW Smartclient, does not get connected to the cloud tenant randomly. According to NT-ware this has something to do with the below setting in the configuration of the uniFLOW Smartclient. Unchecking this option should 'fix' the issue. Only... the option in not available for Smartclient on macOS. NT-ware says they will pick this up with the highest priority...

Greenshot 2023-06-22 15.08.56.png

patrickmullen
New Contributor II

Incredible work.  You saved me a TON of discovery on my own.

Jwilkinsmka
New Contributor

@jorrig Did you find the solution to the issue? I currently going thru the same issue that you were going thru with the install. But one differences is that when I go to the pkg after the installed "completed" to rerun the client, it would take multiple times. The only real solution I found that worked was doing the uninstall and reinstall but there be a host of different problem along the way. Like having to reset the printing setting to get the printer to map right on a machine or two. 

Any thoughts would be appreciated. 

jorrig
New Contributor III

Have not heard anything about my issue with the smartclient not starting randomly.

I have not had that many new macs installed after I published this pkg into Jamf.

What exactly are you having trouble with now @Jwilkinsmka 

Issue with it installing properly. It take multiple installs for it to run successfully.

jorrig
New Contributor III

Sorry, but that issue have I never had, always installing properly.

kgeerts
New Contributor

Hi @jorrig, following NT-WARE this should be fixed in a new version of the Smartclient. So the steps would be:

  1. Generate a new macOS Smartclient from the uniFLOW console and download the PKG. This should be version 2023.3.
  2. Package the PKG again like described above.
  3. Upload the PKG to Jamf Pro.
  4. Uninstall the Smartclient like described in here.
  5. Create a new policy to install the new custom PKG.
    You can also include an uninstall script in the policy for your new Smartclient. This prior to the install step. You can find the inspiration in /etc/smartclient/uninstall-smartclient.bash. You would 
    have to  check if the 'SmartClient' process is still running and if it is kill it with the 'killall SmartClient' command.

Have not elaborated this out myself yet. Is something for next week. Just back from JNUC :-) 

jorrig
New Contributor III

Thanks for the info!

Leaving for some vacation, playing some golf in Spain, so I will try to do this in 2 weeks ;-)

If you get around to try this out, please keep me informed of the results.

GabeShack
Valued Contributor III

Wondering about syncing the account name with uniflow on the computer to our azure logins, since it isnt matching.

 

IE the mac installer looks at the account name (johnsmith) where as the provisioning in uniflow only looks at the login name (johnsmith@yourdomain.com).  Not finding a way to link the two without having the end user sign into uniflow separately.  I was really hoping to save that extra login.

If the names match then any new print jobs get set right up in their queue

Gabe Shackney
Princeton Public Schools