How to reinstall shortcut icons when during repair and change mode with WiX installer 3.7 -



How to reinstall shortcut icons when during repair and change mode with WiX installer 3.7 -

i new wix installer , have been trying re-install shortcut icons on desktop etc in "change" , "repair" mode not working. works in installation mode. please help me resolve issue?

following code been used:

<directoryref id="applicationprogramsfolder"> <component id="applicationshortcuts" guid="{964eea43fa8a}"> <shortcut id="applicationstartmenushortcut" name="$(var.shortcuttext)" advertise="yes" description="$(var.shortcutcomment)" target="[productdir]$(var.shortcuttarget)" workingdirectory="productdir" icon="aa.exe" /> <?if $(var.aa) != "true" ?> <shortcut id="applicationdesktopshortcut" directory="desktopfolder" name="$(var.shortcuttext)" target="[productdir]$(var.shortcuttarget)" workingdirectory="productdir" icon="aa.exe" description="$(var.shortcutcomment)" /> <?endif?> <?if $(var.configuration) = "debug" ?> <shortcut id="uninstallproduct" name="uninstall $(var.aaname)" description="uninstall $(var.yaname)" target="[systemfolder]msiexec.exe" arguments="/x [productcode]" /> <?endif?> <removefolder id="applicationprogramsfolder" on="uninstall" /> <registryvalue root="hkcu" key="software\microsoft\myapplicationname" name="installed" type="integer" value="1" keypath="yes" /> </component> <component id="onuninstall" guid="{739c22ad-8716f39}"> <createfolder/> <removefile id="removefiles" directory="productdir" name="*.*" on="uninstall" /> <registryvalue root="hkcu" keypath="yes" id="boguskey" name="foom" type="string" key="torp" value="geekle" /> </component> </directoryref>

wix

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -