Skip to content
⌘ NSIS Forum Archive

Remove all existing start menu entries that start with MyProduct X.XX

3 posts

inpoculis789#

Remove all existing start menu entries that start with MyProduct X.XX

Hello,

How could I remove all entries in the start menu that start with "MyProduct" ?

I have a problem because some users have: MyProduct 2.0/xxx, others MyProduct 2.1/xxx ... and when they update the program I would like to remove all the existing entries in the start menu that corresponds to my product.

Thanks,
Bernard.
Anders#
use FindFirst (and friends) to find all folders in the startmenu and strcpy to make a string with correct length that you can compare with