Specifically we are calling a "NetInstallerClass_Install" to perform some parts of the install environment config and other custom checks.
Testing our new package, an initial/full install (no upgrade) works great - this custom action works fine, as does a following one (a "Commit").
However, during an upgrade (uninstall previous version first), this class/method apparently can not be found in the assembly? (Same assembly)
I see this in the log:
Code: Select all
MSI (s) (A8:F0) [13:49:59:792]: Executing op: ActionStart(Name=NetInstallerClass_x64_Install,Description=Preparing Files and Registry,)
MSI (s) (A8:F0) [13:49:59:794]: Executing op: CustomActionSchedule(Action=NetInstallerClass_x64_Install,ActionType=1025,Source=BinaryData,Target=LaunchDotNetCustomAction,CustomActionData=/LogFile="C:\Users\BORT\AppData\Local\Temp\EveryDoc_install.log" /ReqVersion=4.0.30319 /InstallType=notransaction /Action=Install /IsUpgrade="{C82CB7D9-2E8F-4CA0-A9E5-D72126B82938}" /UrlUpdateInfo="http://amrvwp000001128:4056" /AppDir="C:\Users\BORT\AppData\Local\Programs\EveryDoc\\" /COUninstallExe="C:\Users\BORT\AppData\Local\Temp\ClickOnceUninstaller.exe" /AddInName="SafeName.AddinModule" "C:\Users\BORT\AppData\Local\Programs\EveryDoc\SafeName.dll" "C:\Users\BORT\AppData\Local\Temp\NetInstallerClass_Config.xml")
MSI (s) (A8:E4) [13:49:59:800]: Invoking remote custom action. DLL: C:\windows\Installer\MSI2477.tmp, Entrypoint: LaunchDotNetCustomAction
MSI (s) (A8:30) [13:49:59:800]: Generating random cookie.
MSI (s) (A8:30) [13:49:59:811]: Created Custom Action Server with PID 10400 (0x28A0).
MSI (s) (A8:3C) [13:49:59:899]: Running as a service.
MSI (s) (A8:3C) [13:49:59:913]: Hello, I'm your 64bit Impersonated custom action server.
MSI (s) (A8!80) [13:52:11:563]:
MSI (s) (A8:E4) [13:52:11:573]: Leaked MSIHANDLE (222) of type 790531 for thread 12416
MSI (s) (A8:E4) [13:52:11:573]: Note: 1: 2769 2: NetInstallerClass_x64_Install 3: 1
Info 2769. Custom Action NetInstallerClass_x64_Install did not close 1 MSIHANDLEs.
CustomAction NetInstallerClass_x64_Install returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 13:52:11: InstallExecute. Return value 3.
Code: Select all
An exception occurred while trying to find the installers in the C:\Users\BORT\AppData\Local\Programs\EveryDoc\SafeName.dll assembly.
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Aborting installation for C:\Users\BORT\AppData\Local\Programs\EveryDoc\SafeName.dll.
Can someone please help us troubleshoot this issue ASAP? We are trying to release the product on a deadline.