Can anyone clarify where is here in my code per-machine element, please?

2012/9/14 Nelya Iva <nelya....@gmail.com>

> Thank you for response.
> INSTALLLOCATION  - is a folder in ProgramFiles directory.. It's a
> per-machine location?
> So if i want to delete enries during uninstall then i need to put
> condition on feature which is containing my component? Will it work?
>
>
> 2012/9/14 Peter Shirtcliffe <pshirtcli...@sdl.com>
>
>> 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:nelya....@gmail.com]
>> Sent: 14 September 2012 11:54
>> To: wix-users@lists.sourceforge.net
>> 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
>> WiX-users@lists.sourceforge.net
>> 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
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to