Hi Stefan, Pendl Stefan wrote: > To summarize, so if I want to create four desktop shortcuts, I would need four separate packages, to be able to check each for correct removal. > I can live with that. This is correct because you need a logical AND to make sure WPKG verifies that all shortcuts are installed - during uninstall it's enough that one of the shortcuts is missing in order to assume the package is not properly installed any more. You might use an "execute" check and use your own script which is returning 0 in case all shortcuts are in place and 1 in case all of them are missing. However the question remains whet you do in case there is one icon missing only. I would suggest to return 1 (not installed) to assist WPKG to fix this by running the installer again. Just a thought... > BTW, the upgrade-before-remove post has an error in the remove command, instead of "type NUL >" it should be "del /f /q ". > I have already changed my version of wpkg 1.1.1-RC5 to set the default for noUpgradeBeforeRemove to false and all is working as expected, seems this was a leftover from your testing. Right, seems to be a left-over from testing. Thanks for reporting. I changed it and checked in already (RC7). br, Rainer |