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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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