Mike,
Given what you describe, I assume you are using a property for the
shortcut name (and that property can be modified by the user interface).
Unfortunately, Microsoft installer does not retain any knowledge of
properties from one execution to the next, and that is why the value for
that property is getting reset to the default.
You probably want to modify the installation to store the modified
property value in the registry (Registry element), then use a registry
search (RegistrySearch element) to restore the stored value back into
the property before the shortcuts are removed.
Hope this helps,
Regards,
Richard
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Robertson
Sent: Friday, February 02, 2007 11:42 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Newbie question about shortcut uninstall
Please excuse a stupid question from someone who has only been using WiX
for
a few days... I'm installing a shortcut to the start menu, but putting
up a
dialog to let the user change the name of the shortcut. This works fine,
but
when it comes to uninstall time the shortcut is not getting removed.
From
the log I can see that msi is trying to remove the original name of the
shortcut as it was initialized prior to getting the changed name from
the
user. I'm obviously going the wrong way about this, what's the right
way?
--
Sent from the wix-users mailing list archive at Nabble.com.
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
* C O N F I D E N T I A L I T Y N O T I C E *
---
The content of this e-mail is intended solely for the use of the individual or
entity to whom it is addressed. If you have received this communication in
error, be aware that forwarding it, copying it, or in any way disclosing its
content to any other person, is strictly prohibited. Peek Traffic Corporation
is neither liable for the contents, nor for the proper, complete and timely
transmission of (the information contained in) this communication. If you have
received this communication in error, please notify the author by replying to
this e-mail immediately and delete the material from any computer.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users