You should post your WiX source in case you've got something like Remove="both" or "install" in your ServiceControl code. --------------- Phil Wilson
On Thu, May 22, 2014 at 8:08 AM, Gabi Ganam <gabi.ga...@aternity.com> wrote: > OK, thanks Neil! > > Perhaps you can assist me with a different issue I'm having with WiX; > I'm installing an unmanaged c++ windows service, using the standard MSI > InstallServices action (in wix, "ServiceInstall" element). > Right after "InstallServices" I have a custom action that sets this service's > start type according to an installation parameter. > This action is written in c++, and uses the standard API function: > ChangeServiceConfig. > Now for some reason, on windows 2012 only, the service is installed in > "Disabled" mode, and the ChangeServiceConfig function fails with the error: > "The specified service has been marked for deletion.". > This causes my installation to fail and rollback. > > The question is - what's the issue with the service installation? > The log seems to say that the action completed OK: > "Action ended 17:45:13: InstallServices. Return value 1." > > Thanks, > Gabi. > > -----Original Message----- > From: Neil Sleightholm [mailto:n...@x2systems.com] > Sent: יום ה 22 מאי 2014 17:45 > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] CAQuietExec - Requires VC runtime redist? > > There isn't any way to force part of an msi to run first. > > Could you rebuild whatever it is you are calling to make it not require the > VC runtime. > > Neil > > -----Original Message----- > From: Gabi Ganam [mailto:gabi.ga...@aternity.com] > Sent: 22 May 2014 15:30 > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] CAQuietExec - Requires VC runtime redist? > > It is too big a change, is there a way to force the merge modules to be > installed first? > They are gathered as 1 "Feature", and my entire product is another "Feature". > And it seems that you're correct - it's not the CA that requires the VC, it > is my program (which the CA executes). > > I guess I'll bundle it with the VC exe install in the next version, but for > now - I need a small, safe, easy, quick solution :) > > Thanks, > Gabi. > > -----Original Message----- > From: Neil Sleightholm [mailto:n...@x2systems.com] > Sent: יום ה 22 מאי 2014 17:19 > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] CAQuietExec - Requires VC runtime redist? > > I'd suggest you need a bundle which installs the vcredist first (using the > exe version) and then runs your msi. > > (It is not CAQuietExec that requires VC I would assume it is whatever you are > running with it.) > > Neil > > -----Original Message----- > From: Gabi Ganam [mailto:gabi.ga...@aternity.com] > Sent: 22 May 2014 14:27 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] CAQuietExec - Requires VC runtime redist? > > In a machine without VCRedist, I get the following error: > > MSI (s) (D8:C8) [14:31:44:359]: Invoking remote custom action. DLL: > C:\Windows\Installer\MSIBA1E.tmp, Entrypoint: CAQuietExec > CAQuietExec: > CAQuietExec: ?????????? > ??????????????????????????????????????????????????????????????????????????????4??????????????????????????????????????????4???????????????????????????????????????????>???????+????????????????????????? > CAQuietExec: Error 0xe0434352: Command line returned an error. > CAQuietExec: Error 0xe0434352: CAQuietExec Failed > > Installing the VC++ 2008 redistributable solves it. > > Obviously I have the VC 2008 in my installation (as merge modules, gathered > under a Feature element), as my product requires them too. > So - how come they aren't installed in time for CAQuietExec? > How can I set it so they will be installed first, so that the CA won't fail? > > Thanks, > Gabi. > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform > available Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform > available Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform > available Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform > available Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users