Hi,
I was hoping someone could help me, firstly I'm using Wix 2.
I have some merge modules that I have created, and what I'm trying to do is
create a service in the msi.
I'm using the following code:
<Component Id="mtmCoreServiceSettings" Guid="@NEWGUID@" DiskId="1">
<ServiceInstall
Id="pywin32instF218.900F1E9E_3D32_4108_BF7E_A4EDF75831BC" Name="MTMAgent"
DisplayName="MTM Agent"
Description="The MTM Agent collects information
about the host and OSS software it is monitoring"
Type="ownProcess" Interactive="yes"
Start="auto" Vital="yes" ErrorControl="normal"/>
<ServiceControl
Id="pywin32instF218.900F1E9E_3D32_4108_BF7E_A4EDF75831BC" Name="MTMAgent"
Stop="both" Remove="uninstall" Wait="yes"/>
<Registry Id="mtmService0" Root="HKLM"
Key="SYSTEM\ControlSet001\Services\Eventlog\Application\MTM Agent\"
Name="EventMessageFile" Type="expandable"
Value="[TARGETDIR]\python25\Lib\site-packages\win32\win32evtlog.pyd" />
<Registry Id="mtmService1" Root="HKLM"
Key="SYSTEM\ControlSet001\Services\Eventlog\Application\MTM Agent\"
Name="TypesSupported" Type="integer" Value="7" />
<Registry Id="mtmService2" Action="removeKeyOnUninstall"
Root="HKLM" Key="SYSTEM\ControlSet001\Services\Eventlog\Application\MTM
Agent\"/>
</Component>
The problem I'm having is the executable is stored within a merge module, the
example I ran though the ID of the serviceinstall tag must be the same as the
ID as the ID of the executable. Any how the msi compiles fine, and looking at
the msi though Orca it looks fine, however the msi doesn't install the service
or give any errors?
Does anyone have ideas?
Thanks for any help in advance
Mark
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users