Delete Java folder in Start Menu
I am trying to remove the Java folder under Start Menu for Java 7u71 but I´t wont work.
I am using Orca to edit my mst.
Added a Custom Action table
Action : DeleteUpdateShortcut
Type: 1122 (have tried 98 also)
Source: SystemFolder
Target: cmd.exe /C rmdir "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Java" /S
And then in the InstallExecuteSequence table
Action : DeleteUpdateShortcut
Sequence:3183
In the in the InstallExecuteSequence table yhe"InstallFinalize" is sequence 3185.
But it wont work. Am I choosing the wrong sequence numbers?
My other setting are:
AUTOUPDATECHECK
- Java Update mechanism – till off {0}
JAVAUPDATE till 0
JU till 0
Answers (2)
It worked! Thanks EdT!
Changed to as follows:
Action : DeleteUpdateShortcut
Type: 1122
Source:SystemFolder
Target: cmd.exe /C rmdir "C:\ProgramData\Microsoft\Windows\StartMenu\Programs\Java\Check For Updates.lnk" /Q
Andthen in the InstallExecuteSequence table
Action : DeleteUpdateShortcut
Sequence:3186
Comments:
-
Has anyone done this for Java version 8? If so, can you kindly supply the correct actions and sequence numbers. Thank you. - b1gkahuna 7 years ago