Hey
Total wix noob here. I'm trying to figure out how to register an assembly
that's under "My Document", specifically a Visual Studio 2005 Addin.
So I need to put an assembly in Documents\Visual Studio 2005\Addins
If I use the xml below... no registration happens (obviously). If I do the
Assembly=".net" stuff and make KeyPath=Yes, I get:
Error LGHT0204: ICE38: Component Rapid.Tools.SPDeploy.AddIn.dll installs to
user profile. It must use a registry key under HKCU as its KeyPath, not a file.
If I remove the registry key, and try to just use the file I get:
Error 1 ICE38: Component Rapid.Tools.SPDeploy.AddIn.dll installs to user
profile. It must use a registry key under HKCU as its KeyPath, not a file.
I can't have duplicate keypaths, so seems like a catch 22. Am I'm making this
too hard? I've already read Rob's blog entry....about shortcuts.
Example:
<Component Id="Rapid.Tools.SPDeploy.AddIn.dll" Guid="{-------- my guid here
-------}">
<File Id="Rapid.Tools.SPDeploy.AddIn.dll" Assembly=".net"
Name="Rapid.Tools.SPDeploy.AddIn.dll" KeyPath="no"
Source="Rapid.Tools.SPDeploy.AddIn.dll" />
<RegistryValue Root="HKCU" KeyPath="yes"
Key="Software\MyCompany\Rapid.Tools.SPDeploy.AddIn\UnInstall"
Name="Rapid.Tools.SPDeploy.AddIn.dll" Value="Rapid.Tools.SPDeploy.AddIn.dll"
Type="string" Action="write" />
:
:
:
</Component>
Thoughts appreciated
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users