Try

<Component Win64="$(var.Win64)" Id="SHORT"
Guid="{5E8BA5CB-F825-4402-9A5E-D48BE786C774}">
  <RegistryValue Id="dummy" Root="HKCU" Key="Software\companyname"
Name="Tmp" Value="1" Type="integer" KeyPath="yes"/>
  <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>

As per the example at
http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm

Also you shouldn't need the Win64 attribute on your Components except
for those which are 32-bit components in a 64-bit package. See
http://www.joyofsetup.com/2010/05/14/working-hard-or-hardly-working/

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: MYFLEX [mailto:shrinuen...@gmail.com] 
Sent: 07 September 2010 12:24
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Uninstallation is not removing the HKCU registry
entry


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/Uninstalla
tion-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



------------------------------------------------------------------------------
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