1. I need to delete application shortcut "WRQ Reflection" under “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\" in my MST.

2. In the same script I need to add a shortcut folder "Reflection" under “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\"

Can any provide me a single script for the above 2 functions and how it is added in Custom Action?

Answer Summary:
0 Comments   [ + ] Show Comments


Please log in to comment

Community Chosen Answer


You don't need script! Do it properly. Use the RemoveFile and Shortcut tables.

Answered 05/20/2014 by: VBScab
Red Belt

Please log in to comment



It's MST! I forgot that! I manually deleted old shortcuts from shortcut table and added new ones :)

Thanks for the response.

Answered 05/21/2014 by: Scorp18
Orange Senior Belt

Please log in to comment
Answer this question or Comment on this question for clarity