Well forget most of that ..... I'm probably looking at the wrong part of the 
Xml!!! Where's that coffee.....

Your actual error number is 1920, right? That "Verify that you ...." message is 
from at least four types of error. 

In the MSI file, look with Orca, it might be worth verifying that Name is 
really the same in ServiceInstall and ServiceControl, and take an MSI log when 
you install. 


Phil Wilson 


-----Original Message-----
From: Wilson, Phil 
Sent: Tuesday, June 02, 2009 9:47 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Problem with Services

Setting keypath=yes is a requirement of the underlying ServiceInstall table in 
the MSI file, so that needs to be set always. WiX really should error out if 
it's not set. 

I think you've made a common mistake - the Name element is the name of the 
service. I don't know whether it makes sense to name a service as 
CnvRemoteService.exe, but nevertheless Name needs to be the same in 
ServiceInstall and ServiceControl. 


Phil Wilson 

-----Original Message-----
From: rahul.ekb...@sungard.com [mailto:rahul.ekb...@sungard.com] 
Sent: Tuesday, June 02, 2009 4:08 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem with Services

Hi,
Also I am facing error when I am installing my product on fresh machine
Error= "Verify that you have sufficient privileges to start system
service"

On net I find that I have to set Keypath = yes however I already set it
to the service file.



   <Component Id="cmpE5432E6A181DA42663AF5B93C923DA82"
Directory="dir002788116533422330D6397E8731D012"
Guid="{8FFB2F1C-06A5-47D3-B0CA-5F6CC88EFEA4}"
                        SharedDllRefCount='no' KeyPath='yes'
NeverOverwrite='no' Permanent='no'
                        Transitive='no' Win64='no' Location='either'>
              
                <File Id="fil9A6343F8210263942F2F19A789944A52"
KeyPath="yes" Source="ALMEngine\CnvRemoteService.exe" 
                      Name="CnvRemoteService.exe" />
              
              <ServiceInstall  Id='CnvRemoteServiceInstall'
DisplayName='CnvRemoteService' Account='LocalSystem'
                  Name='CnvRemoteService' ErrorControl='ignore'
Start='auto' Type='ownProcess' Vital='yes' />
              
              <ServiceControl  Id='CnvRemoteServiceControl'
Name='CnvRemoteService'
                    Start='install' Stop='uninstall' Wait='yes' />
     </Component>


Thanks,
Rahul.

-----Original Message-----
From: Wilson, Phil [mailto:phil.wil...@wonderware.com] 
Sent: Monday, June 01, 2009 10:29 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Problem with Services

Do you have an MSI log that shows the ServiceControl action taking a
long time to stop the service? It seems unlikely that this is the issue
when you have wait='no' because MSI will just send the SCM a "stop"
message and won't even wait for the service to stop. 

Phil Wilson 

-----Original Message-----
From: rahul.ekb...@sungard.com [mailto:rahul.ekb...@sungard.com] 
Sent: Monday, June 01, 2009 6:20 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem with Services

Hi,

I have following code in my .wxs file for installing and starting the
service.

The service is starting properly during install however it taking long
time during un-installation

Is there any problem with service installation code which hangs my un
installation.

 

 

 

<Component Id='ServiceExeComponent'
Guid='{26322E31-66A1-43c4-A375-F506141E3954}'          

             SharedDllRefCount='no' KeyPath='no' NeverOverwrite='no'
Permanent='no'

             Transitive='no' Win64='no' Location='either'>

            

               <File Id='ServiceExeFile' Name="CnvRemoteService.exe"
src="D:\WiX_prog\WixProject2\WixProject2\CnvRemoteService.exe"


               ReadOnly='no' Compressed='yes' KeyPath='yes' Vital='yes'
Hidden='no' System='no' Checksum='no' DiskId="1"/>          

 

            <ServiceInstall Id='CnvRemoteServiceInstall'
DisplayName='CnvRemoteService' 

                Name='CnvRemoteService' ErrorControl='normal'
Start='auto' Type='ownProcess' Vital='yes' />


             <ServiceControl Id='CnvRemoteServiceControl'
Name='CnvRemoteService'

                   Start='install' />

            <ServiceControl Id="StopCnvRemoteServiceControl"
Name="CnvRemoteService" Stop="both" Wait="no" Remove="uninstall" />

          </Component>

 

 

 

Thanks,

Rahul Ekbote

Senior Software Engineer * SunGard * ALM * Bacware * 

SunGard Technology Services (India), Meridian Plaza,

S B Road, Shivajinagar, Pune 411016. 

Direct Tel +91-20-25606237 * Main Tel +91-20-30238000 * Fax
+91-20-25606222 * rahul.ekb...@sungard.com
<mailto:rahul.ekb...@sos.sungard.com> * www.sungard.com
<http://www.sungard.com/bancware> /bancware

____________________________________________________
P Think before you print
CONFIDENTIALITY: This e-mail (including any attachments) may contain
confidential, proprietary and privileged information, and unauthorized
disclosure or use is prohibited.  If you receive this e-mail in error,
please notify the sender and delete this e-mail from your system. 

 

------------------------------------------------------------------------
------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals.
Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like
Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------
------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals.
Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like
Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to