I am in the process of packaging the VMware Horizon View client for our Mac desktops and laptops (we have about 150). Normally, this is a very simple process, and especially easy with this client since it is just an app. We use Apple PackageMaker in order to repackage the VMware Horizon View Client.app, and add the test user's plist file in for deployment to future users' profiles. We have used com.vmware.view.plist in the past to ensure our connection server is pre-populated, and to force PCoIP. This has worked great for us with all versions < 2.3.
Starting with 2.3 and now 3.0, I haven't been able to repackage this application properly. I download the .dmg from VMware, and copy the .app within it to /Applications; this is exactly how a user would install it on their system. I run the View Client once and connect to our connection server using the settings I want to stick when deploying this app to our machines. Then using PackageMaker, I point the first part of the package that will be created to /Applications/Vmware Horizon View Client.app as normal (including root). This is all normal. I pick com.vmware.view.plist file, and using a plist editor, I remove the entry for my test username, and the desktop which I connected to. In PackageMaker, the destination of this .plist file is in the default user profile for the mac- so whenever a new user logs into that mac, they will get the .plist file with the settings we want. Sounds good. The package builds successfully. I deploy it to a test machine successfully.
When I login to a test system and run the View client, I can connect just fine. If I try to use the menu Connection/Printing Enabled, all hell breaks loose and I get a series of errors;
Invalid File in Package.
The file is invalid:
/Applications/VMware Horizon View Client.app/Contents/Library/thnuclnt/thnusetup.sh.
Please download the official product.
If I try to start remote USB services, I get a similar error after it issues a warning that I will be prompted to enter admin credentials;
Invalid File in Package.
The file is invalid:
/Applications/VMware Horizon View Client.app/Contents/Library/InitUsbServices.tool.
Please download the official product.
?? If I run the app from the .dmg on this same machine, I have no problems. Any ideas?