>From what I tested, solutions I presented you allow:
-For a per-machine install, create an uninstall shortcut for all the
users of a computer wheter it is advertised or not. The main drawback
is an orphaned regkey in the deploying user profile if he doesn't
remove the apps himself.
>>>>>>
Here is my understanding...only Advertise shortcuts are removed when that 
particular product version is uninstalled. All non advertised shortcut will not 
be removed. Now in the above scenaior, it works and i can place a uninstall 
shortcut in the per-machine mode, but there are two problems

1. I cannot advertise the uninstall shortcut, as it has target set on it. 
(target and advertise or mutually exclusive).


>From wix documentation

"Advertise...Specifies if the shortcut should be advertised or not. Note that 
advertised shortcuts always point at a particular application, identified by a 
ProductCode, and should not be shared between applications. Advertised 
shortcuts only work for the most recently installed application, and are 
removed when that application is removed. The default value is 'no'. "

"Target...This attribute is not valid for advertised shortcuts. If you specify 
this value, its value should be a property identifier enclosed by square 
brackets ([ ]), that is expanded into the file or a folder pointed to by the 
shortcut.    


2. When a different user clicks any other advertised shortcuts of my product, 
the MIS installer tries to install the orphaned regkey for the user. Now 
leaving the orphaned key in the deploying user profile is not a problem for me, 
but having to install it in all other users, using the product is definitely a 
problem.





thanks*********************************
Arun Kumar


      
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to