Jump to content

BlackBox and nLite, problem about "Advanced INF Install"


urjaman

Recommended Posts

Hi

I've added BlackBox for Windows to be the default shell of my Windows 2000 "Lite" using a simple Inno Setup installer("self-made") packaged into a plugin and everything works perfectly exept for this INF-thing (see picture below). This doesn't happen without the blackbox, though... I checked that the file in question (%SYSTEMROOT%\inf\nlite.inf) exists so i don't really see the problem here. I could attach a lot of files here, but don't really know what is necessary and what is not so i'll put stuff here if asked for. Maybe it's something about how blackbox handles RunOnce's, but i'd be glad if someone could help me out here. (It's still about nlite.inf so thats why im here.)

advinfinstall.png

Urjaman

Link to comment
Share on other sites


It isn't about NTFS, used FAT on that test run (though i test on both, using VPC for testing so its easy to test). I'll check about the environment variable now... I'll tell about that ASAP.

EDIT: ran notepad '%SystemRoot%\inf\nlite.inf' from the blackbox and voila, the inf opened, also checked that by opening a command prompt and running 'echo %Systemroot%' i get 'C:\WIN2K' which is correct. Don't really get why this error pops up.

Urjaman

Edited by urjaman
Link to comment
Share on other sites

  • 3 weeks later...

Yes, i had modified my program files path, it was set to "C:\Programs", but i don't think that's with a leading \...

PS. sorry for the late reply, had moved to tuning my gentoo for a while...

Urjaman

Link to comment
Share on other sites

Meanwhile it's now known why this happens...it's if you logon with limited account first. Logon with some Administrator or answer No when nLite asks you will be logging on with some admin first.

It's just needed for first logon then it cleans that.

Link to comment
Share on other sites

It doesn't log in with an limited account, i set it to autologon infinite times as Admin, but disabling the blackbox as default shell on first logon helps on this, so i've been thinking of an workaround to this by setting the installer so that it doesn't change the default shell, but creates an icon to the desktop, like "Switch to Blackbox" which would set the default shell to blackbox. This is just annoying to have to click an icon to get it done, it fights against the idea of using unattended Windows installation.

Urjaman

Link to comment
Share on other sites

Yeah...well you can help by executing nlite.inf while inside blackbox and eliminating the lines from it which causes that then post here which they were...then either you burn the cd with edited nlite.inf or i change a little.

You can test nlite.inf with this command:

rundll32 advpack.dll,LaunchINFSection nLite.inf,U

or/and

rundll32 advpack.dll,LaunchINFSection nLite.inf,C

For U edit [T] section, for C edit [CT]

Link to comment
Share on other sites

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...