[wix-users] Install Util, Custom Actions, Elevated etc
Charles Gallo [9Dots Management]
CGallo at ixdots.com
Mon Jul 31 08:04:57 PDT 2017
Maybe this might give some clues?
MSI (s) (14:7C) [12:45:49:943]: Executing op: ActionStart(Name=InstallUtil_proCubeExcel,,)
Action 12:45:49: InstallUtil_proCubeExcel.
MSI (s) (14:7C) [12:45:49:943]: Executing op: CustomActionSchedule(Action=InstallUtil_proCubeExcel,ActionType=1074,Source=C:\Windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe ,Target="C:\Program Files (x86)\Satori\proCube\bin\proCubeExcel2016-32.dll" /ShowCallStack ,)
MSI (s) (14:68) [12:45:53:460]: Running as a service.
CustomAction InstallUtil_proCubeExcel returned actual error code -1 (note this may not be 100% accurate if translation happened inside sandbox)
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 InstallUtil_proCubeExcel, location: C:\Windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe , command: "C:\Program Files (x86)\Satori\proCube\bin\proCubeExcel2016-32.dll" /ShowCallStack
07/28/2017 12:45:58.167 [5140]: Assembly Install: Failing with hr=80070005 at RemoveDirectoryAndChildren, line 393
07/28/2017 12:45:58.167 [5140]: Detailed info about C:\Windows\assembly\tmp\XBFD3VWQ\proCubeApi.dll
07/28/2017 12:45:58.167 [5140]: File attributes: 00000800
07/28/2017 12:45:58.198 [5140]: Restart Manager Info: 1 entries
07/28/2017 12:45:58.198 [5140]: App[0]: (5140) Windows Installer (msiserver), type = 3
07/28/2017 12:45:58.198 [5140]: Security info:
07/28/2017 12:45:58.198 [5140]: Owner: S-1-5-18
07/28/2017 12:45:58.198 [5140]: Group: S-1-5-18
07/28/2017 12:45:58.198 [5140]: DACL information: 5 entries:
07/28/2017 12:45:58.198 [5140]: ACE[0]: Type = 0x00, Flags = 010, Mask = 001f01ff, SID = S-1-5-18
07/28/2017 12:45:58.198 [5140]: ACE[1]: Type = 0x00, Flags = 010, Mask = 001f01ff, SID = S-1-5-32-544
07/28/2017 12:45:58.198 [5140]: ACE[2]: Type = 0x00, Flags = 010, Mask = 001200a9, SID = S-1-5-32-545
07/28/2017 12:45:58.198 [5140]: ACE[3]: Type = 0x00, Flags = 010, Mask = 001200a9, SID = S-1-15-2-1
07/28/2017 12:45:58.198 [5140]: ACE[4]: Type = 0x00, Flags = 010, Mask = 001200a9, SID = S-1-15-2-2
Action ended 12:45:58: InstallFinalize. Return value 3.
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Charles Gallo [9Dots Management]
Sent: Monday, July 31, 2017 8:26 AM
To: WiX Mailing List (wix-users at lists.wixtoolset.org) <wix-users at lists.wixtoolset.org>
Subject: [wix-users] Install Util, Custom Actions, Elevated etc
[This sender failed our fraud detection checks and may not be who they appear to be. Learn about spoofing at http://aka.ms/LearnAboutSpoofing]
Hey Gang,
Still working on this install, it is making me nuts
First, this is a translation/rebuild from an old Installshield project, and it MOSTLY works
Here is the issue - I have a DLL that needs to be run with Installutil - not big issue, except the sequence numbers that were in the installshield project had the custom actuion calling install util (custom because what dll gets installed depends on other things) after the <InstallFinalize>line - duh, that won't work
Now here is the interesting part.
If I run the InstallUtil line manually (elevated) AFTER the setup fails, it works FINE If I move it JUST before (Sequence 6603) the <InstallFinalize> (call it Sequence 6604), it fails and says that some of the precursor DLLs have not been installed!! (but obviously - they HAVE been installed, because I can manually run it right after) I will say that one of the DLLs it is complaining about is in GAC32
Is it possible that it isn't actually installed at that point, even though every install item has a sequence number, and the installUtil call is the 2nd highest Sequence Number, right before <InstallFinalize>
I've spent weeks fighting this, and I feel like I'm chasing my tail
Charles Gallo | 9 DOTS
Senior Director
1100 E Hector Street| Ste. 245 | Conshohocken, PA 19428
C: 917.301.2749
cgallo at ixdots.com<mailto:cgallo at ixdots.com>| ixdots.com<http://www.ixdots.com/>
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list