Hi,

am creating one MSI for both 32 & 64 bit OS.

Except one component is different, remaining all binaries are same for both
OS

GuardSvc32.exe for 32 bit OS and GuardSvc64.exe for 64 bit OS

Problems am facing now is

    * On 32 bit OS, Service is started automatically after rebooting–
Stopping service is failing while uninstalling(GuardSvc32 couldn't be
stopped. Verify that you have sufficient privileges to stop system services)
    * On 64 bit OS, Service is note starting automatically after rebooting –
Because of service is not started it is uninstalled properly.

I tried with wait = "yes" and even wait="no" also in service control

Following is my wix code related to service control and service install

 <Component Id="guardsvc32.exe"
Guid="{EB172BF4-C1F7-467F-89C3-A5B73F3E8B45}" DiskId="1" Win64="no">
      <Condition>((NOT VersionNT=500) AND (NOT VersionNT64))</Condition>
      <File Id="guardsvc32.exe" Name="guards32.exe"
LongName="guardsvc32.exe" KeyPath="yes" Source="guardsvc32.exe" />
       <ServiceInstall Id="NewServiceInstall1"
                        Name="GuardSvc32"
                        DisplayName="Test Machine Client Service"
                        Type="ownProcess"
                        Start="auto"
                        ErrorControl="normal"
                        Description="Enables the Test Machine Client. If
this service is stopped, Test Machine-protected content will be
unavailable."
                        Interactive="no" Vital="yes">
          <ServiceDependency Id="EventLog"/>
          <ServiceDependency Id="RpcSs" />
          <ServiceDependency Id="Dnscache" />
          <ServiceDependency Id="CryptSvc" />
          <ServiceDependency Id="TermService" />
          </ServiceInstall>
        <ServiceControl Id="Guardvc32Event" Name="GuardSvc32"
Stop="uninstall" Remove="uninstall"/>
    </Component>

<Component Id="guardsvc64.exe" Guid="{8D6F5BA9-DA8C-403F-8092-FD5A05616B2B}"
DiskId="1" Win64="yes">
      <Condition>((NOT VersionNT=500) AND (VersionNT64))</Condition>   
        <File Id="guardsvc64.exe" Name="grds64.exe"
LongName="guardsvc64.exe" KeyPath="yes" Source="guardsvc64.exe" />
           <ServiceInstall Id="NewServiceInstall2"
                        Name="GuardSvc64"
                        DisplayName="Test Machine Client Service"               
           
                        Type="ownProcess"
                        Start="auto"
                        ErrorControl="normal"
                        Description="Enables the Test Machine Client. If
this service is stopped,Test Machine-protected content will be unavailable."
                        Interactive="no" Vital="yes">
          <ServiceDependency Id="EventLog"/>
          <ServiceDependency Id="RpcSs" />
          <ServiceDependency Id="Dnscache" />
          <ServiceDependency Id="CryptSvc" />
          <ServiceDependency Id="TermService" />
        </ServiceInstall>
        <ServiceControl Id="Guardvc64Event" Name="GuardSvc64"
Stop="uninstall" Remove="uninstall"/>
    </Component> 
-- 
View this message in context: 
http://www.nabble.com/Service-Control---Install-tp14753568p14753568.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to