I created a dummy windows service for my first wix project.
Ive added
 <Component Id="RegKeyPermissionComponent"
Guid="A4FA2F01-DC4A-4CA7-995F-56947018EFCE" KeyPath="yes">
        <RegistryKey Id="ApplicationEventLogAccess"  Root="HKLM"
Key="SYSTEM\CurrentControlSet\Services\Eventlog\Application"
Action="create">

          <util:PermissionEx GenericAll="yes" Read="yes" Write="yes"
User="LocalSystem"/>
        </RegistryKey>

and

   <Package InstallerVersion="300" Compressed="yes"
InstallScope="perMachine" InstallPrivileges="elevated"

The service writes an entry to the eventlog.

If i install the service with a .bat file it works fine. If i use the wix
installer it installs but does not start. If i remove the event log write,
it will start.

What else can i do?


-- 

Steven Dyson

To whom much is given, much will be required.
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to