I am creating "non advertised shortcut", because advertised shortcuts don't
get the option "Rund as administrator" when we right click on the shortcut.
But for the Non Advertised shortcut , the keypath should be registry entry
in HKCU.(ICE 48 validation fails if not.)

 I am creating the shortcut as follows.

<Component Win64="$(var.Win64)" Id="SHORT"
Guid="{5E8BA5CB-F825-4402-9A5E-D48BE786C774}">
<RegistryKey Id="dummy" Root="HKCU" Key="Software\companyname"
Action="createAndRemoveOnUninstall"  >
        <RegistryValue Name="Tmp" Value="1" Type="integer" KeyPath="yes"/>
</RegistryKey>
<Shortcut Advertise="no" Id="Shortcut" Directory="DesktopFolder"
Name="Shortcut" WorkingDirectory="Directory" Description="www"
Icon="ShortcutIcon.exe" Target="[#application.exe]" >
                                <Icon Id="ShortcutIcon.exe"
SourceFile="$(var.BinPath)\c360.application.exe" />
</Shortcut>
</component>

But the problem is uninstallation is not removing the registry entry under
HKCU. Please tell me what might be the reason?



-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Uninstallation-is-not-removing-the-HKCU-registry-entry-tp5506040p5506040.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to