Install over previous version doesn't work - Advanced Installer Community
bmckenzie
Posts: 15
Joined: Thu Nov 17, 2016 1:08 am

Install over previous version doesn't work

I have an installer MSI that is giving me trouble. IF I try to install a newer version over an older version, (I have remove old before installing new set), then the old version is removed, the new version is added to Windows "Programs and Features" in Control Panel, but for some reason my custom action that runs on install fails? I have no idea why.

If I attempt to run the MSI with no previous version installed, it works fine. Any clue as to why this happens?

Attached is a pop-up I get during the new version install phase of the non-working install over previous version flow. Also, attached is a msi_nowork.log captured during that same flow.

And, I am attaching my project file.

Any help would be greatly appreciated!
Attachments
msi_nowork.log
(330.09 KiB) Downloaded 273 times
client_gpo_wrapper.aip
(13.71 KiB) Downloaded 297 times
badInstaller_01312017.png
badInstaller_01312017.png (4.42 KiB) Viewed 3128 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Install over previous version doesn't work

Hello,

The installation fails because of the CBInstaller custom action that fails:

Code: Select all

Action start 17:47:44: CBInstaller.
CustomAction CBInstaller returned actual error code 2 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (78:9C) [17:48:45:492]: Note: 1: 1722 2: CBInstaller 3: C:\Program Files (x86)\CarbonBlack\GPOInstaller\ 4: "C:\Program Files (x86)\CarbonBlack\GPOInstaller\CarbonBlackClientSetup.exe" /S /NOARP 
Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.  Action CBInstaller, location: C:\Program Files (x86)\CarbonBlack\GPOInstaller\, command: "C:\Program Files (x86)\CarbonBlack\GPOInstaller\CarbonBlackClientSetup.exe" /S /NOARP 
MSI (s) (78:9C) [17:48:49:992]: Product: CarbonBlack Sensor -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.  Action CBInstaller, location: C:\Program Files (x86)\CarbonBlack\GPOInstaller\, command: "C:\Program Files (x86)\CarbonBlack\GPOInstaller\CarbonBlackClientSetup.exe" /S /NOARP 

Action ended 17:48:49: CBInstaller. Return value 3.
Please note that custom actions that are executable files must return a value of 0 for success. The installer interprets any other return value as failure.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bmckenzie
Posts: 15
Joined: Thu Nov 17, 2016 1:08 am

Re: Install over previous version doesn't work

Yep, I posted a new post as I found the issue:

http://www.advancedinstaller.com/forums ... =2&t=33974

Return to “Common Problems”