Hi, I have a problem I'm trying to resolve regarding installing a couple of 
services via ServiceInstall.  Of these services some install as Local System, 
and Some as Local Service.

When we originally built this wix project, it targeted only English OS's and in 
the serviceInstall element we used the WiX properties WIX_ACCOUNT_LOCALSYSTEM , 
and WIX_ACCOUNT_LOCALSERVICE to set the account names and this all works well.

We now have a requirement to install on Polish (and other languages).  The 
installer and the product will not be translated, but it must work on a 
non-English OS.

So here's the problem, the installer runs fine on a Polish OS, the services 
install, but none of the services set under LocalService start, they fail with 
Error 1068, which is a dependency failure.  The thing is, if you access the 
service manager and reset the logon account to local service via the UI then 
the service starts.

If I use WIX_ACCOUNT_LOCALSERVICE, the service installs but does not start.

If I take the translated value for Local Service (ZARZĄDZANIE NT\USŁUGA 
LOKALNA) and use that in my wxs directly I get the compile time error

(Error   3              A string was provided with characters that are not 
available in the specified database code page '1252'. Either change these 
characters to ones that exist in the database's code page, or update the 
database's code page by modifying one of the following attributes: 
Product/@Codepage, Module/@Codepage, Patch/@Codepage, PatchCreation/@Codepage, 
or WixLocalization/@Codepage.

If I use the English NT AUTHORITY\LOCAL SERVICE, the installer fails to install 
the service

If I use the SID (S-1-5-19), the installer fails to install the service

Services installed as WIX_ACCOUNT_LOCALSYSTEM install and start.

Services installed as WIX_ACCOUNT_NETWORKSERVICE suffer the same issue as above.

Anyone got any ideas on how I can solve this?

Thanks

Stephen.
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&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