views:

16

answers:

0

I created my msi installer by using VS2008. I have some temp files need to be deleted and want to avoid the auto-repair nightmare. I got two options from experts here and other forum. One of them is set the temp file's ComponentId to null (No other changes). It works but causes another issue. The issue is the uninstall process will not delete any installed files except the desktop shortcut and the entry on Add or Remove Program.

do you have a solution for this new issue? thanks,

EDIT:

what I found is, if you set componentId to null, it will cause this problem, also the override uninstall function will not be called. That means there is no way to remove those installed files in a normal manner. so don't use the method to avoid auto-repair. Set DISABLEADVTSHORTCUTS=1 may be a better way to go.