Jump to content

Deleting more than one file in Wininit.ini via inf


Recommended Posts

Posted (edited)

I want to delete some files using an .inf file, and the wininit.ini, so I add something like this:

[foo]

UpdateInis=ini

[ini]

wininit.ini,rename,,"NUL=C:\FOO1.EXE"

wininit.ini,rename,,"NUL=C:\FOO2.EXE"

wininit.ini,rename,,"NUL=C:\FOO3.EXE"

However, only the last entry will be written to wininit.ini, so only FOO3.EXE will be deleted.

Only thing I could find on the internet about this was these posts:

https://groups.google.com/forum/#!topic/comp.os.ms-windows.programmer.win32/kH_5_FGBEJQ

So is it a limitation of INF?

If I add all these commands manually, then it works fine.

Edited by MrMateczko

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...