First I have to say I know nothing about WHS but presumably you are
calling some interface to register the addin, is there an unregister
addin interface you could call on uninstall?

In use files should be automatically replaced when you restart. You can
also use the <util:CloseApplication> to stop an application so that the
file isn't in use.

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

------------------------------------------------------------------------------
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