... and nobody should be doing things to CurrentControlSetnnn - they're 
associated with the "last known good" configurations that Windows uses. 

Phil Wilson 



-----Original Message-----
From: Christopher Painter [mailto:chr...@deploymentengineering.com] 
Sent: Tuesday, July 27, 2010 5:19 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Windows service installation error

Something doesn't sound right here.  Both of those registry values are being 
handled by the serviceinst...@displayname and serviceinst...@account 
attributes.   Have you tested your updated installer on a clean VM?  I have a 
hunch that your missing another variable and that this wasn't your fix.

Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me



----- Original Message ----
From: "rahul.ekb...@sungard.com" <rahul.ekb...@sungard.com>
To: wix-users@lists.sourceforge.net
Sent: Tue, July 27, 2010 5:54:15 AM
Subject: Re: [WiX-users] Windows service installation error

Hi,
Thanks for reply. I really like your techniques :)
I solved this problem by following way.

I figured out the differences in registry after installing service manually. I 
found following entries 


<RegistryValue Root="HKLM" Key="SYSTEM\ControlSet001\Services\CnvRemoteService" 
Name="DisplayName" Value="CnvRemoteService" Type="string" Action="write" />
<RegistryValue Root="HKLM" Key="SYSTEM\ControlSet001\Services\CnvRemoteService" 
Name="ObjectName" Value="LocalSystem" Type="string" Action="write" />

I added these entries in my wix file followed by

<ServiceInstall  Name="CnvRemoteService" DisplayName="CnvRemoteService" 
Account="LocalSystem" Type ="ownProcess" Start ="auto" Id ="RemoteServiceID"    
ErrorControl="normal"  >
                <util:PermissionEx
    User="Everyone"
    GenericAll="yes"
    ServiceChangeConfig="yes"
    ServiceEnumerateDependents="yes"
    ChangePermission="yes"
    ServiceInterrogate="yes"
    ServicePauseContinue="yes"
    ServiceQueryConfig="yes"
    ServiceQueryStatus="yes"
    ServiceStart="yes"
    ServiceStop="yes"  />
                
                <ServiceDependency Id="RPCSS" />

              </ServiceInstall>
              <ServiceControl  Name="CnvRemoteService" Start="install" Stop 
="uninstall" Remove="uninstall"  Id ="CnvRemoteServiceControl"  />              
  

                
                
              
        
And my services get installed, start, stop and removed on uninstall. 

Can you please let me know is it a right way? Or it will create any problem 
with 
any other environment like windows 7, 2003 server etc.


Thanks,
Rahul




-----Original Message-----
From: Christopher Painter [mailto:chr...@deploymentengineering.com] 
Sent: Tuesday, July 27, 2010 1:30 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Windows service installation error

The technique I usually use is leave the message box error displayed and go to 
the application directory to profile the EXE.  I run the exe from the command 
line to see if any stack dumps are displayed.  I'll try to start the service by 
hand to see if any messages are displayed and I'll use tools like ILDasm, 
Depends, Regmon and FileMon to profile the service to see why it isn't happy.

Other then a file missing from the install or trying to have a service depend 
on 

something being installed to the GAC,  I usually find it's not an install 
problem and pass the problem back to development with an offer to assist in 
troubleshooting.

Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me



----- Original Message ----
From: Blair <os...@live.com>
To: General discussion for Windows Installer XML toolset. 
<wix-users@lists.sourceforge.net>
Sent: Mon, July 26, 2010 2:22:59 PM
Subject: Re: [WiX-users] Windows service installation error

Do you need this?

            <ServiceControl  Name="CnvRemoteService" Start ="install"
Stop ="uninstall"  Id ="CnvRemoteServiceControl">
                <ServiceArgument>-service</ServiceArgument>
            </ServiceControl>

What you should look at is both the Application and the System event logs.
Windows Installer usually displays a generic "privilege" error message
always ignoring the real error when the service control manager returns any
error when attempting to start/stop a service. The event log become the
place to look for more information.

-----Original Message-----
From: rahul.ekb...@sungard.com [mailto:rahul.ekb...@sungard.com] 
Sent: Monday, July 26, 2010 8:11 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Windows service installation error

Hi,
No after removing whole ServiceControl  component I am getting same
message during service install. I am not understanding is it really
permission issue or I am missing some service components like registry
entries, dependency or dependent files. My works properly when I use
CnvRemoteService.exe -service.



Thanks,
Rahul

-----Original Message-----
From: Simon Topley [mailto:simon.top...@mwhsoft.com] 
Sent: Monday, July 26, 2010 8:23 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Windows service installation error

the error message maybe incorrect, remove the start=install part and
attempt to start it post install manually... it maybe that the service
is dependent on a file that is not yet installed (.net or CRT etc)

-----Original Message-----
From: rahul.ekb...@sungard.com [mailto:rahul.ekb...@sungard.com]
Sent: 26 July 2010 15:40
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Windows service installation error

Hi,

I am getting following error during installing the windows service
"Verify that you have sufficient privilege to install system services"





My WIX  code is



            <Component Id="cmp4AFA6260BDEF424A3FD81CD2C40C3556"
Directory="ALMEngineDir" Guid="{93681832-5F1A-492D-96E5-3FABE8532177}">

            <File Id="fil7DDF0ADCCB9B4B27D88C426EB59A2072" KeyPath="yes"
Source="$(var.EngineSrc)\CnvRemoteService.exe" />




<ServiceInstall  Name="CnvRemoteService" Account="LocalService" Type
="ownProcess" Start ="auto" Id ="RemoteServiceID"
ErrorControl="normal"  />

            <ServiceControl  Name="CnvRemoteService" Start ="install"
Stop ="uninstall"  Id ="CnvRemoteServiceControl"  />



            </Component>





Can any one knows what I need to change in my wix code.









Thanks,

Rahul Ekbote

Senior Software Engineer * SunGard * ALM * Bancware *

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.



------------------------------------------------------------------------
------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Disclaimer: This electronic communication and its attachments may
contain confidential, proprietary and/or legally privileged information
which are for the sole use of the intended recipient. If you are not the
intended recipient, any use, distribution, or reproduction of this
communication is strictly prohibited and may be unlawful; please contact
the sender and delete this communication. MWH Soft does not warrant or
make any representation regarding this transmission whatsoever nor does
it warrant that it is free from viruses or defects, correct or reliable.
MWH Soft is not liable for any loss or damage that occurs as a result of
this communication entering your computer network.

The views expressed in this message are not necessarily those of MWH
Soft. This communication cannot form a binding agreement unless that is
the express intent of the parties and they are authorized to make such
an agreement. MWH Soft reserves all intellectual property rights
contained in this transmission. MWH Soft reserves the right to monitor
any electronic communication sent or received by its employees.

MWH Soft Limited is registered in England with number 6975921. Its
registered office is Terriers House, 201 Amersham Rd, High Wycombe, HP13
5AJ.

------------------------------------------------------------------------
------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



----------------------------------------------------------------------------
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



      

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



      

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at Portland House, Bressenden Place, London, 
SW1E 5BF (Registered number 166023). For a list of European legal entities 
within the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. 
You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail 
inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be 
subject to the terms of any agreements between Invensys (and/or its 
subsidiaries and affiliates) and the recipient (and/or its subsidiaries and 
affiliates).



------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to