This is so frustrating. I ripped out the substance and it works fine. I didn't change my Uninstall functionality at all. I'm taking a break from this. Thanks for trying!
Delete Files and Directory not working
35 posts
Well, one difference I found when compiling with substance vs. without substance. When I build the one that doesn't work, I get the warnings:
2 warnings:
uninstall function "un.Service" not referenced - zeroing code (0-278) out
install function "Service" not referenced - zeroing code (0-278) out
Could this have something to do with it?
2 warnings:
uninstall function "un.Service" not referenced - zeroing code (0-278) out
install function "Service" not referenced - zeroing code (0-278) out
Could this have something to do with it?
No, that only means those functions were not used and were therefore deleted from the output.
Maybe if you can attach both the working script and the script that doesn't work I can spot the difference.
Maybe if you can attach both the working script and the script that doesn't work I can spot the difference.
Did anything every happen with this? I'm also trying to get an unistaller to run prior to installing new (updated)files and it doesn't seem to be working. I was just curious if there was something very specific in Stonkers script, or a more general error that might apply to my situation as well.
thanks,
-marc
thanks,
-marc
As there was no other response from stonkers, the issue was never resolved. Looking at it again, it seems $INSTDIR was simply not initialized with the correct value in .onInit in his last attempt (no InstallDirRegKey in the big script above). I think his issue is pretty specific to his script. If you have a problem with calling the uninstaller, open up another thread with more details.