> First I have to say I know nothing about WHS but presumably you are

It's full of surprises :-)

> calling some interface to register the addin, is there an unregister
> addin interface you could call on uninstall?

No, all it does is monitor its \\whsmachine\software\add-in folder. Drop an 
add-in there, and it will be announced as ready for installation. If you 
install it from the WHS console, it will show up in the list of installed 
add-ins. If you install it from outside the console, it will work, but not show 
up in that list.

If you remove it from that list - fine. If you remove it from outside, it will 
still be in the list.

IMHO it's really stupidly adding/removing those registry keys when you press 
the install/uninstall buttons on the WHS Console. Unless somebody can tell me 
what I'm doing wrong, of course :-).

> In use files should be automatically replaced when you restart. You can

I think it fails due to the necessity of a major upgrade: you have to uninstall 
that file while it's in use.

> also use the <util:CloseApplication> to stop an application so that the
> file isn't in use.

If you close the WHS Console, your locked out. That's the big issue here. The 
Console isn't much more than an application run on the WHS using an enhanced 
RDP session.

Michael


>
> Neil
>
> -----Original Message-----
> From: Michael Herger [mailto:s...@herger.net]
> Sent: 18 February 2009 10:11
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Creating a WHS add-in
>
> I'm trying to create an add-in for Windows Home Server. I've settled for
> the major update, removing any previous version of the add-in. But I'm
> facing two issues:
>
> - WHS is creating an additional registry key in
> HKLM\Software\Microsoft\Windows Home Server\RegisteredAdditions. This
> key isn't deleted when the add-in is uninstalled. Thus I end up with
> multiple entries for every update/version i've created. The normal
> "Add/Remove Apps" applet is fine. Any idea how this can be fixed? All
> I've come up with is removing the corresponding key on uninstalls. But
> this seems like a hack.
>
> - While updating an add-in from the WHS console, the old version
> obviously is still running and being used by the console. Thus
> uninstalling it fails. How can I replace a file which is still being
> used? WHS Console requires a restart anyway. Is there some "replace file
> asap"?
>
> Regards,
>



-- 

Michael

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to