Re: [WiX-users] Custom action using CAQuietExec fails on uninstall (likely permissions issue)
Are you using conditions in the install execute sequence? On Fri, Jan 9, 2015 at 9:31 AM, wixtester wrote: > Hi, > >I have a scripted custom action to register a COM+ service on install > and > unregister it during uninstall. > It works fine during install, but fails during uninstall. > > Custom Action code to unregister > - > Value=""[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\Regsvcs.exe" > /u "[INSTALLFOLDER]SentillionExchange2010PSV2.dll"" > Execute="immediate"/> > DllEntry="CAQuietExec" Execute="deferred" Return="check" Impersonate="no"/> > > > > Log during uninstall contained failed CA call > > > MSI (s) (08:A8) [15:47:25:342]: Executing op: > > CustomActionSchedule(Action=ca_UnReg_Assembly,ActionType=3073,Source=BinaryData,Target=CAQuietExec,CustomActionData="C:\Windows\Microsoft.NET\Framework\v2.0.50727\Regsvcs.exe" > /u "C:\Program Files (x86)\Caradigm\Provisioning Bridge > Server\Bridges\Exchange\SentillionExchange2010PSV2.dll") > MSI (s) (08:60) [15:47:25:373]: Invoking remote custom action. DLL: > C:\Windows\Installer\MSI3C5.tmp, Entrypoint: CAQuietExec > MSI (s) (08:70) [15:47:25:373]: Generating random cookie. > MSI (s) (08:70) [15:47:25:373]: Created Custom Action Server with PID 924 > (0x39C). > MSI (s) (08:08) [15:47:25:405]: Running as a service. > MSI (s) (08:08) [15:47:25:405]: Hello, I'm your 32bit Elevated custom > action > server. > CAQuietExec: Microsoft (R) .NET Framework Services Installation Utility > Version 2.0.50727.7905 > CAQuietExec: Copyright (c) Microsoft Corporation. All rights reserved. > CAQuietExec: > CAQuietExec: > The following un-installation error occurred: > CAQuietExec: 1: Assembly not found: 'C:\Program Files > (x86)\Caradigm\Provisioning Bridge > Server\Bridges\Exchange\SentillionExchange2010PSV2.dll'. > CAQuietExec: Error 0x80070001: Command line returned an error. > CAQuietExec: Error 0x80070001: CAQuietExec Failed > CustomAction ca_UnReg_Assembly returned actual error code 1603 (note this > may not be 100% accurate if translation happened inside sandbox) > > > > I verified that the dll was present on the system, I am therefore wondering > if "Assembly not found" means unable to access the file. > > This is happening on Win 2008 R2 and Win 2012 operating systems. > > The 64-bit msi installs 32-bit application under program files (x86). I am > therefore using the 32-bit CAQuietExec custom action. > > > Any thoughts on what I might be missing here? > > > Thanks, > sangeeta > > > > > > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-action-using-CAQuietExec-fails-on-uninstall-likely-permissions-issue-tp7598794.html > Sent from the wix-users mailing list archive at Nabble.com. > > > -- > Dive into the World of Parallel Programming! The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- "They may forget what you said but they will never forget how you made them feel." -- Anonymous -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] SetupAPI InstallHInfSection is not downgrading a driver file in the SYSTEM context
Environment: Windows x86 8.1 English Driver type is file system drivers. I am making use of the SetupAPI:InstallHInfSecton to install drivers. This API is used in my MSI package. When the driver package is installed, the associated .sys file is copied to %windows%\system32\drivers. One of the hotfix packages contains an updated driver package thereby resulting in an updated version of the .sys file being copied to %windows%\system32\drivers. However, when the hotfix is uninstalled, the .sys file under %windows%\system32\drivers is not being reverted back to the base version. i.e in other words, InstallHInfSection is unable to downgrade files in %windows%\system32\drivers. This always used to work properly in Win 7. This has always worked until now. The following lines were logged in setupapi.app log file: !flq: 10:30:50.621 A target file was not overwritten. Version of source file: 7.1.0.4043. Version of target file: 7.1.16.4043. !flq: 10:30:50.621 The SPFQNOTIFY_TARGETNEWER flag was set. Further investigation reveals that InstallHInfSection is unable to downgrade files in **SYSTEM** context. However, it can downgrade files under **Logged in user** context. Strangely, the API works properly on x64 windows 8/8.1. Can anyone think of a reason why would there be a difference in behavior between x86 and x64 versions? Also, is there an alternative API to InstallHInfSection. Regards, Kiran Hegde -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/SetupAPI-InstallHInfSection-is-not-downgrading-a-driver-file-in-the-SYSTEM-context-tp7598823.html Sent from the wix-users mailing list archive at Nabble.com. -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. vanity: www.gigenet.com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Access installation progress values outside Bootstrapper application
Hi Everyone, I have created a windows application file(say Launcher.exe) which having a button that launches the Custom Bootstrapper application(MySetup.exe) on button click. I would like to show the Bootstrapper installation progress values and status message in that launcher window. MySetup.exe is an installer created by custom Bootstrapper application. Launcher.exe is a Windows application, that launches the MySetup.exe setup. Is it possible to get the Bootstrapper application events run time values in outside the Bootstrapper application? Please share any idea on this. Regards, Mohamed Yasir K -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Access-installation-progress-values-outside-Bootstrapper-application-tp7598824.html Sent from the wix-users mailing list archive at Nabble.com. -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. vanity: www.gigenet.com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Strange behavior of SetupAPI function : InstallHInfSection
Here is a description of the problem: -Environment is Win 7 SP1 Enterprise x64 -We are executing a MSI package which contains numerous INF files. These INF files are associated with drivers. To install the drivers , we make use of the API: InstallHInfSection. The exact usage of InstallHInfSection is as follows: InstallHinfSection( NULL, NULL, INFFile, 0 ); However, what is happening is that, each and every time this API is invoked on a driver INF file, i am presented with a message box with the text: Installation Failed. I inspected the setupapi.app log file and did not find any errors. Everything seems to be fine. The driver .sys file is successfully copied to %windows%\system32\drivers. To confirm is InstallHInfSection works as expected, i executed the following command from outside of the .msi package: RUNDLL32.EXE SETUPAPI.DLL,InstallHinfSection DefaultInstall 128 Strangely, the above command works without any error messages. Do you have any pointers on what could be wrong? I am under tremendous pressure to provide an answer. Any assistance would be very much appreciated. Regards, Kiran Hegde -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Strange-behavior-of-SetupAPI-function-InstallHInfSection-tp7598825.html Sent from the wix-users mailing list archive at Nabble.com. -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. vanity: www.gigenet.com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users