File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,19 @@ Section "Uninstall"
41
41
RMDir $INSTDIR \b in
42
42
RMDir $INSTDIR \d oc
43
43
RMDir $INSTDIR
44
+ DeleteRegKey HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\Rust"
44
45
SectionEnd
45
46
46
47
Section
47
48
WriteUninstaller $INSTDIR \u ninstall.exe
49
+ WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\Rust" \
50
+ " DisplayName" " Rust"
51
+ WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\Rust" \
52
+ " Publisher" " Mozilla"
53
+ WriteRegDWORD HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\Rust" \
54
+ " NoModify" 1
55
+ WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\Rust" \
56
+ " UninstallString" " $\" $INSTDIR \uninstall.exe$\" "
57
+ WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\Rust" \
58
+ " QuietUninstallString" " $\" $INSTDIR \uninstall.exe$\" /S"
48
59
SectionEnd
You can’t perform that action at this time.
0 commit comments