My company is looking to automate a strip down version of WIN98 SE and I have got almost everything figured out in the MSBATCH.inf file except for two things.
The first is that I am looking to do is remove the Setup MSN Internet Access icon from the desktop. I set it up like I did for the My Documents and Recycle Bin removal, but this one just doesn't want to go away.
This is the info:
[RunOnce.BatchDelay] ; Adds registry entries to the RunOnce key.
HKLM,%KEY_RUNONCE%,BatchRun2,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.SMIA.Icon 4 %10%\msbatch.inf"
;Delete Setup MSN Internet Access icon from desktop
[Delete.SMIA.icon]
DelReg=SMIA.icon
[SMIA.icon]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\{88667D10-10F0-11D0-8150-00AA00BF8457}
The second question is that I am trying to delete some files that are installed, (like wallpaper stuff, text files, and help folders) that we won't every need and I have seen the delfiles commands, but I can't seem to get it to work right. I haven't been able to find concrete information about how to set is up though. This is the information I have on that:
[File.List.Section]
delfile=testfiles
[testfiles]
d:\test\file1.txt
d:\test\file2.txt
d:\test\3file.txt
d:\test\fi4le.txt
d:\test\fi5le.txt
Also, this is the Install section header:
[Install]
AddReg=RunOnce.BatchDelay, Run.Installed.Components, Skip.PCMCIA.Wizard, User.Profiles.Reg, RegistrySettings, File.List.Section
Any help would be great
Thank you
Shawn
The first is that I am looking to do is remove the Setup MSN Internet Access icon from the desktop. I set it up like I did for the My Documents and Recycle Bin removal, but this one just doesn't want to go away.
This is the info:
[RunOnce.BatchDelay] ; Adds registry entries to the RunOnce key.
HKLM,%KEY_RUNONCE%,BatchRun2,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.SMIA.Icon 4 %10%\msbatch.inf"
;Delete Setup MSN Internet Access icon from desktop
[Delete.SMIA.icon]
DelReg=SMIA.icon
[SMIA.icon]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\{88667D10-10F0-11D0-8150-00AA00BF8457}
The second question is that I am trying to delete some files that are installed, (like wallpaper stuff, text files, and help folders) that we won't every need and I have seen the delfiles commands, but I can't seem to get it to work right. I haven't been able to find concrete information about how to set is up though. This is the information I have on that:
[File.List.Section]
delfile=testfiles
[testfiles]
d:\test\file1.txt
d:\test\file2.txt
d:\test\3file.txt
d:\test\fi4le.txt
d:\test\fi5le.txt
Also, this is the Install section header:
[Install]
AddReg=RunOnce.BatchDelay, Run.Installed.Components, Skip.PCMCIA.Wizard, User.Profiles.Reg, RegistrySettings, File.List.Section
Any help would be great
Thank you
Shawn