Cannot install ZD 7.2.7 silently on any computer - Cannot find Java

If Zimbra Desktop had a sync failure, it may have told you to post your error in this section.
twokeys
Posts: 41
Joined: Sat Sep 13, 2014 2:57 am

Cannot install ZD 7.2.7 silently on any computer - Cannot find Java

Postby twokeys » Thu Jul 30, 2015 8:46 am

Hello,



We are unable to deploy the latest version of ZD with silent install switches on Windows


I was first trying to deploy it across 20 machines, no luck, I tried it on my personal machine, no luck.


When we manually install it, or use msiexec /i zdesktop-7_2_7.msi without the silent switches, it works fine and Java is detected. No issues there. This only happens when installing it silently.


It's like in that silent environment it does not know how to find Java. 


We were using msiexec /i zdesktop_7_2_7.msi /qn as per usual. I've also attempted to uninstall any existing versions of ZD and installing this as a fresh install, no luck. 


Java version installed is jre_1.8u51. Before I updated it was at 1.8_4x 


Thanks for any help in advance,


Here's the log file (interesting lines are line 4 and near the very bottom):


=== Logging started: 7/29/2015 13:25:45 ===
Action start 13:25:45: INSTALL.
Action start 13:25:45: LaunchConditions.
MSI (s) (90:0C) [13:25:45:094]: Product: Zimbra Desktop (64-bit) -- Zimbra Desktop (64-bit) requires a 64-bit Java SE Runtime Environment (JRE), which is not installed or is outdated. Please install JRE 1.6 (64-bit) or later.


Zimbra Desktop (64-bit) requires a 64-bit Java SE Runtime Environment (JRE), which is not installed or is outdated. Please install JRE 1.6 (64-bit) or later.
Action ended 13:25:45: LaunchConditions. Return value 3.
Action ended 13:25:45: INSTALL. Return value 3.
Property(S): DiskPrompt = Zimbra Desktop Installation [1]
Property(S): UpgradeCode = {F8836321-20A3-43C8-96E3-5DF9CE908691}
Property(S): WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1
Property(S): DesktopFolder = C:UsersPublicDesktop
Property(S): ProgramMenuFolder = C:ProgramDataMicrosoftWindowsStart MenuPrograms
Property(S): StartupFolder = C:ProgramDataMicrosoftWindowsStart MenuProgramsStartup
Property(S): ProgramFiles64Folder = C:Program Files
Property(S): WixUIRMOption = UseRM
Property(S): WIXUI_INSTALLDIR = APPLICATIONFOLDER
Property(S): ALLUSERS = 1
Property(S): ARPNOMODIFY = 1
Property(S): RedirectedDllSupport = 2
Property(S): VersionNT = 601
Property(S): Manufacturer = Zimbra
Property(S): ProductCode = {4FC39BB9-6CC5-49A1-AF97-838AAB3DD809}
Property(S): ProductLanguage = 1033
Property(S): ProductName = Zimbra Desktop (64-bit)
Property(S): ProductVersion = 7.2.7.12059
Property(S): ARPPRODUCTICON = ZD_Installer_Icon.exe
Property(S): ARPHELPLINK = http://www.zimbra.com/zdesktop
Property(S): ApplicationFolderName = Zimbra Desktop
Property(S): WixAppFolder = WixPerUserFolder
Property(S): WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT = Launch Zimbra Desktop
Property(S): DefaultUIFont = WixUI_Font_Normal
Property(S): WixUI_Mode = InstallDir
Property(S): ErrorDialog = ErrorDlg
Property(S): SecureCustomProperties = NEWER_VERSION_FOUND;OLDER_VERSION_FOUND
Property(S): MsiLogFileLocation = C:z2.txt
Property(S): PackageCode = {92082887-C371-46C7-BDEA-3EF46DA1703F}
Property(S): ProductState = -1
Property(S): PackagecodeChanging = 1
Property(S): REBOOTPROMPT = S
Property(S): CURRENTDIRECTORY = C:Users esting
Property(S): CLIENTUILEVEL = 2
Property(S): CLIENTPROCESSID = 2268
Property(S): MsiRestartManagerSessionKey = 66a7330ee6b55a488b83bf74ecfd2fe6
Property(S): VersionDatabase = 300
Property(S): VersionMsi = 5.00
Property(S): VersionNT64 = 601
Property(S): WindowsBuild = 7601
Property(S): ServicePackLevel = 1
Property(S): ServicePackLevelMinor = 0
Property(S): MsiNTProductType = 1
Property(S): WindowsFolder = C:Windows
Property(S): WindowsVolume = C:
Property(S): System64Folder = C:Windowssystem32
Property(S): SystemFolder = C:WindowsSysWOW64
Property(S): RemoteAdminTS = 1
Property(S): TempFolder = C:Users estingAppDataLocalTemp
Property(S): ProgramFilesFolder = C:Program Files (x86)
Property(S): CommonFilesFolder = C:Program Files (x86)Common Files
Property(S): CommonFiles64Folder = C:Program FilesCommon Files
Property(S): AppDataFolder = C:Users estingAppDataRoaming
Property(S): FavoritesFolder = C:Users estingFavorites
Property(S): NetHoodFolder = C:Users estingAppDataRoamingMicrosoftWindowsNetwork Shortcuts
Property(S): PersonalFolder = C:Users estingDocuments
Property(S): PrintHoodFolder = C:Users estingAppDataRoamingMicrosoftWindowsPrinter Shortcuts
Property(S): RecentFolder = C:Users estingAppDataRoamingMicrosoftWindowsRecent
Property(S): SendToFolder = C:Users estingAppDataRoamingMicrosoftWindowsSendTo
Property(S): TemplateFolder = C:ProgramDataMicrosoftWindowsTemplates
Property(S): CommonAppDataFolder = C:ProgramData
Property(S): LocalAppDataFolder = C:Users estingAppDataLocal
Property(S): MyPicturesFolder = C:Users estingPictures
Property(S): AdminToolsFolder = C:ProgramDataMicrosoftWindowsStart MenuProgramsAdministrative Tools
Property(S): StartMenuFolder = C:ProgramDataMicrosoftWindowsStart Menu
Property(S): FontsFolder = C:WindowsFonts
Property(S): GPTSupport = 1
Property(S): OLEAdvtSupport = 1
Property(S): ShellAdvtSupport = 1
Property(S): MsiAMD64 = 6
Property(S): Msix64 = 6
Property(S): Intel = 6
Property(S): PhysicalMemory = 5040
Property(S): VirtualMemory = 9140
Property(S): AdminUser = 1
Property(S): MsiTrueAdminUser = 1
Property(S): LogonUser = testing
Property(S): UserSID = S-1-5-21-967350211-4127508171-697817045-1001
Property(S): UserLanguageID = 1033
Property(S): ComputerName = TESTING-PC
Property(S): SystemLanguageID = 1033
Property(S): ScreenX = 1024
Property(S): ScreenY = 768
Property(S): CaptionHeight = 22
Property(S): BorderTop = 1
Property(S): BorderSide = 1
Property(S): TextHeight = 16
Property(S): TextInternalLeading = 3
Property(S): ColorBits = 32
Property(S): TTCSupport = 1
Property(S): Time = 13:25:45
Property(S): Date = 7/29/2015
Property(S): MsiNetAssemblySupport = 2.0.50727.5483
Property(S): MsiWin32AssemblySupport = 6.1.7601.17514
Property(S): MsiRunningElevated = 1
Property(S): Privileged = 1
Property(S): USERNAME = testing
Property(S): DATABASE = C:WindowsInstaller13919.msi
Property(S): OriginalDatabase = C:Users estingzdesktop_7_2_7_win64.msi
Property(S): UILevel = 3
Property(S): MsiUIProgressOnly = 1
Property(S): MsiUIHideCancel = 1
Property(S): ACTION = INSTALL
MSI (s) (90:0C) [13:25:45:110]: Product: Zimbra Desktop (64-bit) -- Installation failed.


MSI (s) (90:0C) [13:25:45:110]: Windows Installer installed the product. Product Name: Zimbra Desktop (64-bit). Product Version: 7.2.7.12059. Product Language: 1033. Manufacturer: Zimbra. Installation success or error status: 1603.


=== Logging stopped: 7/29/2015 13:25:45 ===






PriteshGajjar
Zimbra Employee
Zimbra Employee
Posts: 310
Joined: Tue Mar 31, 2015 4:59 am

Cannot install ZD 7.2.7 silently on any computer - Cannot find Java

Postby PriteshGajjar » Fri Jul 31, 2015 2:01 am

Are you logged in with same user with which Java is installed? Installer looks for registry entry for finding Java and if user is not same then registry lookup might failed.
twokeys
Posts: 41
Joined: Sat Sep 13, 2014 2:57 am

Cannot install ZD 7.2.7 silently on any computer - Cannot find Java

Postby twokeys » Fri Jul 31, 2015 11:37 am

Yes sir. I've tried everything at this point. Nothing seems to work. It would have been even quicker to install them manually..which is what I will need to do now.


If you tried on your own PC, I bet you would run into the same result:


msiexec /i zdesktop_7_2_7_ga_b12059_20150629060421_win64.msi /qn /log C:D727.txt


Will fail and the C:D727.txt log file will give you the Cannot find java error.


But removing the silent switches:


msiexec /i zdesktop_7_2_7_ga_b12059_20150629060421_win64.msi /log C:D727.txt


Will install without an issue.


We've tried now on like 20 PCs. All the same issue, java is installed on all of them. After installing manually, ZD works fine. Driving me crazy..

twokeys
Posts: 41
Joined: Sat Sep 13, 2014 2:57 am

Cannot install ZD 7.2.7 silently on any computer - Cannot find Java

Postby twokeys » Fri Jul 31, 2015 12:50 pm

Ok so I figured out a temporary work around.



They had ZD 7.2.5 which was a 32 bit copy. There was no 64 bit option until 7.2.7.



I installed 7.2.5 32 bit on my own computer (which by the way, required me to install Java 32bit. Having Java 64 bit would not work with the 32 bit version of 7.2.7)



I copied C:Program Files (x86)imbra and all it's contents right over top of their 7.2.5 files and was able to get it going.



So I created a small .bat file and used an SCCM to deploy it.



I made it install Java 32 bit first then had it copy the Zimbra folder over.



The control panel still shows ZD being at version 7.2.5, but when checking for updates it shows it is at the latest version.



Man, what a headache. Hopefully this issue is resolved in future versions.
PriteshGajjar
Zimbra Employee
Zimbra Employee
Posts: 310
Joined: Tue Mar 31, 2015 4:59 am

Cannot install ZD 7.2.7 silently on any computer - Cannot find Java

Postby PriteshGajjar » Sat Aug 01, 2015 11:29 am

https://bugzilla.zimbra.com/show_bug.cgi?id=100636 is created to track this issue.

Return to “Error Reports”

Who is online

Users browsing this forum: No registered users and 2 guests