Hi all,

 

I know there is plenty of documentation about the following, but having read
it I just cannot get my head round it or figure out a workaround.

 

The following XML generates an ICE57 error, I know I have to move the
registry component out to a 'per user component' but I can't figure out how.
I am getting confused because a component requires a directory and every
time I put the registry access into a directory I get this error. I've tried
DesktopFolder etc as the target but get other errors with that.

 

Full error is : ICE57: Component 'RegComponent' has both per-user and
per-machine data with a per-machine KeyPath.

To me, it all looks 'per user' anyway, the only thing I can see that might
be per machine is TARGETDIR, but then how would I accomplish the following?

 

    <Directory Id="TARGETDIR" Name="SourceDir">

      <Component Id="RegComponent"
Guid="{BA892F69-B17A-4125-10B6-25C895AC52B3}" KeyPath="yes">

        <RegistryKey Id="RegKey" Action="createAndRemoveOnUninstall"
Key="Software\[Manufacturer]\SettingProfiles" Root="HKCU" />

      </Component>

    </Directory>

 

Confused,

 

Ryan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to