I haven't problem with uninstall now, but i dont know how it works. Realy it works for me like some "MAGIC".
First of all Registry
HLM\Manufacturer\ProductName ->APPDIR (where APPDIR is value in ProductName key)
On Remove for ProductName, Component filed value is APPDIR.
Install App, Uninstall App
Nothing happend : HLM\Manufacturer\ProductName -> APPDIR <- is still in registry

(
On Registry Key tab -> Properties i check "Delete (if present) at uninstall
Install App, Uninstall App
WOHA! HLM\Manufacturer\ProductName -> APPDIR is still in registry <-deleted from registry!!
Next step "Delete ShortCutDir from Start Menu"
Component field value : APPDIR - i thought that APPDIR is value of ProductName key and when ProductKey is deleted from registry its value also will be deleted.
Install App, Uninstall App
Nothing happend : ShortCutDir i still in StartMenu

((
Component field value : ProductName
Install App, Uninstall App
WOHA! Finally i remove ShortCutDir!!
Now i want to remove ApplicationForder ( i think it will be easy now!!)
Component field value : SHOURTCUTDIR
Install App, Uninstall App
Nothing happend : ApplicationForder is still on my disk

((
Component field value : ProductName
WOHA!: Finally my aplication is uninstalled after 3h ;((((
Is there someone how can explain me how this mechanism works?
I thought it works like domino (cacade). But as you can see it doesn't

FOLLOW US
Get the latest news in Application Packaging