I've noticed something curious about (~14 seconds after the wxs file is 
created, which is approximately when light is run, I'd guess) when I build the 
MSI package for my Windows Service - the machine in which the build is done 
seems to log (in the Windows event log) things which look like the service was 
installed there (when it is quite clear it wasn't, nor should it be in this 
case).

For example:

Windows Installer installed the product. Product Name: 
EscalationService20121009103914. Product Version: 1.0.16. Product Language: 
1033. Installation success or error status: 0.

Then:

Product: EscalationService20121009103914 -- Installation completed successfully.

Is this expected? It is sort of potentially confusing. We're still using WiX 
3.5.2519.0 for what that's worth.

WXS file (my InstallerBuilder tool generates the file automatically, which is 
why some IDs and what not might look a little funny):

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns:Util="http://schemas.microsoft.com/wix/UtilExtension"; 
xmlns="http://schemas.microsoft.com/wix/2006/wi";>
  <Product Id="*" UpgradeCode="49c8c75a-5210-4944-b2b8-69814e6a874d" 
Version="1.0.16" Language="1033" Name="EscalationService20121009103914" 
Manufacturer="Statistics Canada" Codepage="1252">
    <Package InstallerVersion="400" Compressed="yes" />
    <Property Id="MSIRMSHUTDOWN" Value="2" />
    <Property Id="MSIRESTARTMANAGERCONTROL" Value="Disable" />
    <MajorUpgrade DowngradeErrorMessage="A later version of [ProductName] is 
already installed. Setup will now exit." />
    <Media Id="1" Cabinet="EscalationService20121009103914.cab" EmbedCab="yes" 
/>
    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder" Name="PFiles">
        <Directory Id="DOTNETSERVICE" Name="Statistics Canada">
          <Directory Id="EscalationService" Name="Escalation Service">
            <Component Id="EscalationService" 
Guid="a464e2d9-a75e-4996-9f54-fd5155c3c35a">
              <File Id="Fb67152a3f6374" Name="CasemanUtilities.dll" DiskId="1" 
Source="\\f7coll-dev01\blaise\development\social\installerbuilder\escalationservice\files\casemanutilities.dll"
 CompanionFile="Ff7052a05358f4" />
              <File Id="Fd165c3c4d80b4" Name="EscalationService.application" 
DiskId="1" 
Source="\\f7coll-dev01\blaise\development\social\installerbuilder\escalationservice\files\escalationservice.application"
 CompanionFile="Ff7052a05358f4" />
              <File Id="Ff7052a05358f4" Name="EscalationService.exe" 
KeyPath="yes" DiskId="1" 
Source="\\f7coll-dev01\blaise\development\social\installerbuilder\escalationservice\files\escalationservice.exe"
 />
              <File Id="F7d47e33e4c9f4" Name="EscalationService.exe.config" 
DiskId="1" 
Source="\\f7coll-dev01\blaise\development\social\installerbuilder\escalationservice\files\escalationservice.exe.config"
 CompanionFile="Ff7052a05358f4" />
              <File Id="Fc1069d862e8a4" Name="EscalationService.exe.manifest" 
DiskId="1" 
Source="\\f7coll-dev01\blaise\development\social\installerbuilder\escalationservice\files\escalationservice.exe.manifest"
 CompanionFile="Ff7052a05358f4" />
              <File Id="F41179186238d4" Name="EscalationServiceInterface.dll" 
DiskId="1" 
Source="\\f7coll-dev01\blaise\development\social\installerbuilder\escalationservice\files\escalationserviceinterface.dll"
 CompanionFile="Ff7052a05358f4" />
              <ServiceInstall Id="ServiceInstaller" Type="ownProcess" 
Vital="yes" Name="EscalationService" DisplayName="EscalationService" 
Description="Used by caseman applications to isolate privileged operations" 
Start="auto" Account="LocalSystem" ErrorControl="ignore" Interactive="no">
                <ServiceDependency Id="Winmgmt" />
              </ServiceInstall>
              <ServiceControl Id="StartService" Start="install" Stop="both" 
Remove="both" Name="EscalationService" Wait="yes" />
            </Component>
          </Directory>
        </Directory>
      </Directory>
    </Directory>
    <Feature Id="TheOnlyFeature" Description="Feature containes the single 
component" Level="1">
      <ComponentRef Id="EscalationService" />
    </Feature>
    <Property Id="Creator" Value="STATCAN\dougkei" />
  </Product>
</Wix>



Keith Douglas
Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6
Statistique Canada | 170, promenade Tunney's Pasture, Ottawa ON K1A 0T6
keith.doug...@statcan.gc.ca
Telephone | Téléphone 613-951-4405
Facsimile | Télécopieur 613-951-1966
Government of Canada | Gouvernement du Canada 



------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to