Discussion Locked

Removing default desktop icons during un

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

does anyone know how I can remove the briefcase, internet explorer, etc icons during an unattended setup?

Thanks in advance,

Eduard de Vries

2 replies

by nutsxp

create a file named noicons.inf:
-------------------------------->

[Version]
Signature="$Windows NT$"

[DefaultInstall]
DelReg = RUN.Del.Reg

[DefaultUnInstall]

[RUN.Del.Reg]
HKLM,%MAIL%
HKLM,%INTERNETEXPLORER%

[Strings]
MAIL="SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{00020D76-0000-0000-C000-000000000046}"
INTERNETEXPLORER="SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{FBF23B42-E3F0-101B-8488-00AA003E56F8}"

-----------------------------
in your setup.bat add this line

rundll32 setupapi,InstallHinfSection DefaultInstall 128 noicons.inf

by edrox

Hi Andreas,

it works, great thanks, nothing else to add, it just simply works.

Eduard

This discussion is closed to new replies.