The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: xap xfx Service HUB won't install win2k server



Hi Edward,

Edward Pearson wrote:
> I've no w2k to test this on but I've got a theory...
>
> Given that you have installed the service ok on an XP box, pick up the
> installed file structure, normally
> "C:\Program Files\xFx\xAP Hub Windows Service\*"
> and copy it to the w2k box
>
> You can then run a manual install using the installutil.exe program
that
> was installed as part of .Net 2.0, normally
>
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe"
>
> This gives you the ability to specify, on the command line, a username
and password for the service. I think the problem is that
> the special account (LocalService) that the MSI installer version
tries
> to install with was new to XP.

It definitely is the case that LocalService is not available on win2k.

> You may want to create
> a user account specifically to run the hub service.
> So the command to install would be something like:
>
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe"
> username=xap password=ping "C:\Program Files\xFx\xAP Hub Windows
> Service\Hub.exe"

A couple of observations: (1) switches (e.g., username) must be preceded
w/ a forward slash (e.g., /username) and (2) most importantly, it
appears that your installer ignores these switches.  Specifically, the
above (w/ minor tweaks) does not work.  So, I'm wondering if it might be
possible for you to adjust your installer so that it can be passed
switches.  A technique (and sample code) can be found here:

http://www.codeproject.com/install/ScriptedServiceInstall.asp?df=100&forumid=115279&exp=0&select=2013614

Gregg





xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.