Hi

I've resolved this. The errors in the event log are nothing to do with WIX.
I've also got my permissions working by using PermissionEx.

Thanks
Andrew

-----Original Message-----
From: Andrew Jocelyn [mailto:andrew.joce...@empetus.co.uk] 
Sent: 19 November 2012 16:14
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] ServiceInstall account error

Hi

When I run the installer the windows service installs with the correct
account but I get an error in the event log:

        <ServiceInstall
                                        Id="ServiceInstaller"
                                        Type="ownProcess"
                                        Name="MyService"
                                        Vital="yes"
                                        Start="auto"
                                        Account="NT AUTHORITY\NETWORK
SERVICE"
                                        ErrorControl="normal"
                                        Interactive="no">
        </ServiceInstall>


"Volume Shadow Copy Service error: Unexpected error calling routine
ConvertStringSidToSid(S-1-5-82-3006700770-424185619-1745488364-794895919-400
4696415.bak).  hr = 0x80070539, The security ID structure is invalid.
. 

Operation:
   OnIdentify event
   Gathering Writer Data

Context:
   Execution Context: Shadow Copy Optimization Writer
   Writer Class Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
   Writer Name: Shadow Copy Optimization Writer
   Writer Instance ID: {3e3da22f-450f-4bc4-88e1-b900cbafbc09}"

Also the AfterInstall event of the inherited System.Configuration.Install.
Installer class does not appear to run. It contains an access control rule
to add modify permissions to the application folder. The installer does work
as expected when I use installutil.exe.

Any ideas?
Many thanks
Andrew


----------------------------------------------------------------------------
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to