Woops. Sorry about that. Managed to get past this one anyways, but thanks. On Wed, Oct 29, 2014 at 11:37 AM, <wix-devs-requ...@lists.sourceforge.net> wrote:
> Send WiX-devs mailing list submissions to > wix-devs@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/wix-devs > or, via email, send a message with subject or body 'help' to > wix-devs-requ...@lists.sourceforge.net > > You can reach the person managing the list at > wix-devs-ow...@lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of WiX-devs digest..." > > > Today's Topics: > > 1. Problems writing an installer for ActiveMQ (Joseph Larson) > 2. Re: Problems writing an installer for ActiveMQ (Rob Mensching) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 29 Oct 2014 10:52:08 -0600 > From: Joseph Larson <joealar...@gmail.com> > Subject: [WiX-devs] Problems writing an installer for ActiveMQ > To: wix-devs@lists.sourceforge.net > Message-ID: > < > caarquk0e1sfznc673qcwftjvvvkxpb8pb0vrwhvsb__fm-k...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > So our company needs an installer for ActiveMQ to go with our app that uses > ActiveMQ. Only thing is ActiveMQ doesn't have an installer, just a "copy > these files here, run this batch file, then start the service" set of > instructions. So my first wix project is writing writing an installer for > someone else's app who can't be bothered to make their own. At least it's > an > easy set of instructions. > > Copying the file was easy enough, but I'm stuck on the running the batch > file step. The fragment to run InstallService.bat looks like this: > > <Fragment> > <Property Id="QtExecCmdLine" Value="unset"/> > <CustomAction Id="CA_InstallActiveMQService_Property" > Property="QtExecCmdLine" Value='"[INSTALL_Win64_FOLDER]InstallService.bat"' > Execute="immediate" /> > <CustomAction Id="CA_InstallActiveMQService" > BinaryKey="WixCA" > DllEntry="CAQuietExec" Execute="immediate" Return="ignore"/> > <InstallExecuteSequence> > <Custom Action="CA_InstallActiveMQService_Property" > Before="InstallServices">NOT Installed</Custom> > <Custom Action="CA_InstallActiveMQService" > After="CA_InstallActiveMQService_Property"></Custom> > </InstallExecuteSequence> > </Fragment> > > When I run it the files are moved over right, but the service isn't > installed and the log for this step says: > > MSI (s) (B8:E0) [14:18:53:853]: Doing action: > CA_InstallActiveMQService_Property > MSI (s) (B8:E0) [14:18:53:853]: Note: 1: 2205 2: 3: ActionText > Action 14:18:53: CA_InstallActiveMQService_Property. > Action start 14:18:53: CA_InstallActiveMQService_Property. > MSI (s) (B8:E0) [14:18:53:854]: PROPERTY CHANGE: Modifying QtExecCmdLine > property. Its current value is 'unset'. Its new value: > '"d:\biomerieux\programs\gene-up\activeMQ\bin\Win64\InstallService.bat"'. > Action ended 14:18:53: CA_InstallActiveMQService_Property. Return value 1. > MSI (s) (B8:E0) [14:18:53:854]: Doing action: CA_InstallActiveMQService > MSI (s) (B8:E0) [14:18:53:854]: Note: 1: 2205 2: 3: ActionText > Action 14:18:53: CA_InstallActiveMQService. > Action start 14:18:53: CA_InstallActiveMQService. > MSI (s) (B8:48) [14:18:53:859]: Invoking remote custom action. DLL: > C:\Windows\Installer\MSIE669.tmp, Entrypoint: CAQuietExec > MSI (s) (B8:60) [14:18:53:860]: Generating random cookie. > MSI (s) (B8:60) [14:18:53:863]: Created Custom Action Server with PID 2324 > (0x914). > MSI (s) (B8:80) [14:18:54:715]: Running as a service. > MSI (s) (B8:80) [14:18:54:730]: Hello, I'm your 32bit Impersonated custom > action server. > MSI (s) (B8!10) [14:18:54:746]: PROPERTY CHANGE: Deleting QtExecCmdLine > property. Its current value is > '"d:\biomerieux\programs\gene-up\activeMQ\bin\Win64\InstallService.bat"'. > CAQuietExec: Error 0x80070002: *Command failed to execute.* > CAQuietExec: Error 0x80070002: *CAQuietExec Failed* > CustomAction CA_InstallActiveMQService returned actual error code 1603 but > will be translated to success due to continue marking > > I am trying this thing from every angle I can and getting all the help I > can > and I just can't figure this out. > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 2 > Date: Wed, 29 Oct 2014 17:37:10 +0000 > From: Rob Mensching <r...@firegiant.com> > Subject: Re: [WiX-devs] Problems writing an installer for ActiveMQ > To: WiX toolset developer mailing list > <wix-devs@lists.sourceforge.net> > Message-ID: > < > bed34114371048b2aea2f767eca5e...@by2pr04mb047.namprd04.prod.outlook.com> > > Content-Type: text/plain; charset="utf-8" > > For general use questions, please contact wix-users mailing list. This > list is for the development of the WiX toolset itself. > > _______________________________________________________________ > FireGiant | Dedicated support for the WiX toolset | > http://www.firegiant.com/ > > > From: Joseph Larson [mailto:joealar...@gmail.com] > Sent: Wednesday, October 29, 2014 9:52 AM > To: wix-devs@lists.sourceforge.net > Subject: [WiX-devs] Problems writing an installer for ActiveMQ > > So our company needs an installer for ActiveMQ to go with our app that uses > ActiveMQ. Only thing is ActiveMQ doesn't have an installer, just a "copy > these files here, run this batch file, then start the service" set of > instructions. So my first wix project is writing writing an installer for > someone else's app who can't be bothered to make their own. At least it's > an > easy set of instructions. > > Copying the file was easy enough, but I'm stuck on the running the batch > file step. The fragment to run InstallService.bat looks like this: > > <Fragment> > <Property Id="QtExecCmdLine" Value="unset"/> > <CustomAction Id="CA_InstallActiveMQService_Property" > Property="QtExecCmdLine" Value='"[INSTALL_Win64_FOLDER]InstallService.bat"' > Execute="immediate" /> > <CustomAction Id="CA_InstallActiveMQService" > BinaryKey="WixCA" > DllEntry="CAQuietExec" Execute="immediate" Return="ignore"/> > <InstallExecuteSequence> > <Custom Action="CA_InstallActiveMQService_Property" > Before="InstallServices">NOT Installed</Custom> > <Custom Action="CA_InstallActiveMQService" > After="CA_InstallActiveMQService_Property"></Custom> > </InstallExecuteSequence> > </Fragment> > > When I run it the files are moved over right, but the service isn't > installed and the log for this step says: > > MSI (s) (B8:E0) [14:18:53:853]: Doing action: > CA_InstallActiveMQService_Property > MSI (s) (B8:E0) [14:18:53:853]: Note: 1: 2205 2: 3: ActionText > Action 14:18:53: CA_InstallActiveMQService_Property. > Action start 14:18:53: CA_InstallActiveMQService_Property. > MSI (s) (B8:E0) [14:18:53:854]: PROPERTY CHANGE: Modifying QtExecCmdLine > property. Its current value is 'unset'. Its new value: > '"d:\biomerieux\programs\gene-up\activeMQ\bin\Win64\InstallService.bat"'. > Action ended 14:18:53: CA_InstallActiveMQService_Property. Return value 1. > MSI (s) (B8:E0) [14:18:53:854]: Doing action: CA_InstallActiveMQService > MSI (s) (B8:E0) [14:18:53:854]: Note: 1: 2205 2: 3: ActionText > Action 14:18:53: CA_InstallActiveMQService. > Action start 14:18:53: CA_InstallActiveMQService. > MSI (s) (B8:48) [14:18:53:859]: Invoking remote custom action. DLL: > C:\Windows\Installer\MSIE669.tmp, Entrypoint: CAQuietExec > MSI (s) (B8:60) [14:18:53:860]: Generating random cookie. > MSI (s) (B8:60) [14:18:53:863]: Created Custom Action Server with PID 2324 > (0x914). > MSI (s) (B8:80) [14:18:54:715]: Running as a service. > MSI (s) (B8:80) [14:18:54:730]: Hello, I'm your 32bit Impersonated custom > action server. > MSI (s) (B8!10) [14:18:54:746]: PROPERTY CHANGE: Deleting QtExecCmdLine > property. Its current value is > '"d:\biomerieux\programs\gene-up\activeMQ\bin\Win64\InstallService.bat"'. > CAQuietExec: Error 0x80070002: *Command failed to execute.* > CAQuietExec: Error 0x80070002: *CAQuietExec Failed* > CustomAction CA_InstallActiveMQService returned actual error code 1603 but > will be translated to success due to continue marking > > I am trying this thing from every angle I can and getting all the help I > can > and I just can't figure this out. > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > > ------------------------------------------------------------------------------ > > > ------------------------------ > > _______________________________________________ > WiX-devs mailing list > WiX-devs@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-devs > > > End of WiX-devs Digest, Vol 97, Issue 32 > **************************************** > -- Joe's 3D Workbench Blog <http://joes3dworkbench.blogspot.com> 3D printing portfollio <http://cymonsdesigns.blogspot.com>
------------------------------------------------------------------------------
_______________________________________________ WiX-devs mailing list WiX-devs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-devs