[wix-users] Restart required

Hoover, Jacob Jacob.Hoover at greenheck.com
Mon May 15 08:28:01 PDT 2017


CA DLL's are embedded in the MSI and will be extracted to the temp folder during install/uninstall.  Someplace else in your authoring you are installing the CA DLL to C:\Program Files\Spiricon\ConsoleService\CustomAction.Install.WiX.CA.dll. What else could be using that DLL?

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of kurt.jensen at us.ophiropt.com
Sent: Monday, May 15, 2017 9:38 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Restart required

> Why are you installing your CA DLL?





Not sure what you mean.  WiX installs it for us. And it is needed during uninstall. Again, this has been unchanged for a number of years.





Here is the code:



<?xml version="1.0" encoding="utf-8"?>

<Include>

  <!--

    = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

    Custom Actions

    = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

    -->



  <?if $(var.Platform) = x64 ?>

  <CustomAction Id="CAInstall"

                  FileKey="$(var.CustomAction.Install.x64.WiX.TargetName).CA.dll"

                  DllEntry="CAInstall"

                  Impersonate="no"

                  Execute="deferred" />

  <CustomAction Id="CAUninstall"

                FileKey="$(var.CustomAction.Install.x64.WiX.TargetName).CA.dll"

                DllEntry="CAUninstall"

                Impersonate="no"

                Execute="deferred" />

  <?else ?>

  <CustomAction Id="CAInstall"

                 FileKey="$(var.CustomAction.Install.x86.WiX.TargetName).CA.dll"

                 DllEntry="CAInstall"

                 Impersonate="no"

                 Execute="deferred" />

  <CustomAction Id="CAUninstall"

                FileKey="$(var.CustomAction.Install.x86.WiX.TargetName).CA.dll"

                DllEntry="CAUninstall"

                Impersonate="no"

                Execute="deferred" />

  <?endif ?>







  <InstallExecuteSequence>

    <!-- Run CAInstall after InstallFiles only if the product was not installed (i.e. do not run on uninstall) -->

    <Custom Action="CAInstall" After="InstallFiles">NOT Installed</Custom>

    <!-- Run CAUninstall before RemoveFiles only if the product was installed (i.e. only run on uninstall) -->

    <Custom Action="CAUninstall" Before="RemoveFiles">Installed</Custom>

  </InstallExecuteSequence>

</Include>



-----Original Message-----

From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org<http://lists.wixtoolset.org/listinfo.cgi/wix-users-wixtoolset.org>] On Behalf Of MegaBite Lures

Sent: Thursday, May 11, 2017 3:51 PM

To: wix-users at lists.wixtoolset.org<http://lists.wixtoolset.org/listinfo.cgi/wix-users-wixtoolset.org>

Subject: [wix-users] Restart required



This is new behavior. Now it seems many times when we uninstall our software it says we must restart the computer.



 Tracked it down to one of the installations in the bundle. Below are lines from the log.  MSI thinks that CustomAction.Install.WiX.CA.dll is in use?



This DLL contains custom actions called during install and uninstall. The code, sequencing, Wix, etc has not changed for some time.



 Any ideas?  TIA!















MSI (s) (10:08) [07:21:33:322]: Note: 1: 2329 2: 32 3: C:\Program Files\Spiricon\ConsoleService\CustomAction.Install.WiX.CA.dll



MSI (s) (10:08) [07:21:33:322]: Verifying accessibility of file:



CustomAction.Install.WiX.CA.dll



MSI (s) (10:08) [07:21:33:323]: Note: 1: 2205 2:  3: Error MSI (s) (10:08)

[07:21:33:323]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1903 MSI (s) (10:08) [07:21:33:329]: Note: 1: 2318 2:



MSI (s) (10:08) [07:21:33:335]: Note: 1: 2318 2:



MSI (s) (10:08) [07:21:33:335]: Executing op:



FileRemove(,FileName=Spiricon.Application.dll,,ComponentId={E0F3E00D-15E6-5B28-BD9D-6E7087A155E6})



Info 1903.Scheduling reboot operation: Deleting file C:\Program Files\Spiricon\ConsoleService\CustomAction.Install.WiX.CA.dll. Must reboot to complete operation.



 ...



 MSI (s) (10:08) [07:21:33:437]: Note: 1: 1724 MSI (s) (10:08)

[07:21:33:437]: Note: 1: 2205 2:  3: Error MSI (s) (10:08) [07:21:33:437]:

Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` =

1724 MSI (s) (10:08) [07:21:33:437]: Note: 1: 2205 2:  3: Error MSI (s)

(10:08) [07:21:33:437]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 MSI (s) (10:08) [07:21:33:437]: Product:

Spiricon Console Service -- Removal completed successfully.



 MSI (s) (10:08) [07:21:33:437]: Windows Installer removed the product.



Product Name: Spiricon Console Service. Product Version: 6.7.0.0. Product



Language: 1033. Manufacturer: Ophir-Spiricon, LLC. Removal success or error



status: 0.



 MSI (s) (10:08) [07:21:33:438]: Value of RebootAction property is MSI (s)

(10:08) [07:21:33:438]: Windows Installer requires a system restart.



Product Name: Spiricon Console Service. Product Version: 6.7.0.0. Product



Language: 1033. Manufacturer: Ophir-Spiricon, LLC. Type of System Restart:



2. Reason for Restart: 1.



 MSI (s) (10:08) [07:21:33:438]: Product: Spiricon Console Service. Restart required. The installation or update for the product required a restart for all changes to take effect.  The restart was deferred to a later time.

This message may contain confidential information of MKS Instruments, Inc. or its subsidiaries. If you are not the intended recipient and have received this message in error, then any use or distribution is prohibited. Accordingly, please notify me immediately by e-mail and delete this message. Thank you.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list