Is the INSTALLLOCATION directory a per-machine location ? If it's always
per-user then you can ignore the ICE.

You condition won't work however. A component condition determines whether a
component is installed or not. 
http://msdn.microsoft.com/en-us/library/windows/desktop/aa368007%28v=vs.85%29
.aspx

Since REMOVE does not equal ALL when installing, the condition will be false
and the component never gets installed.

-----Original Message-----
From: Nelya Iva [mailto:[email protected]] 
Sent: 14 September 2012 11:54
To: [email protected]
Subject: [WiX-users] Fixing ICE57 on perUser installation

Our application writes some settings to the registry into the HKCU hive. I
want to delete this settings during uninstall. Here is code:

  <Fragment>
    <DirectoryRef Id="INSTALLLOCATION" DiskId="1"
FileSource="$(var.SourceDirProject)\">
      <Component Id="DeleteHkcuManufacturerHive" Guid="GUID">
        <Condition>REMOVE="ALL" AND NOT UPGRADINGPRODUCTCODE</Condition>
        <CreateFolder/>
        <RemoveRegistryKey Action="removeOnUninstall"
 Id="HKCUkey" Root="HKCU" Key="Software\$(var.Manufacturer)"/>
      </Component>
    </DirectoryRef>
  </Fragment>

Why I'm getting ICE57? Installation is per-User. Thank's in advance.
-----------------------------------------------------------------------------
-
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to