urjaman Posted September 18, 2006 Share Posted September 18, 2006 HiI'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.)Urjaman Link to comment Share on other sites More sharing options...
nuhi Posted September 18, 2006 Share Posted September 18, 2006 If the file is already there then check the NTFS permissions if you have NTFS file system or does the blackbox tampers with the environment variables like SystemRoot ? Link to comment Share on other sites More sharing options...
urjaman Posted September 19, 2006 Author Share Posted September 19, 2006 (edited) 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 September 19, 2006 by urjaman Link to comment Share on other sites More sharing options...
nuhi Posted September 20, 2006 Share Posted September 20, 2006 Did you used Program Files path change and also was it with leading \ like for system location?I just had the same issue in 2k and added that checkup, it only works in xp+ Link to comment Share on other sites More sharing options...
urjaman Posted October 7, 2006 Author Share Posted October 7, 2006 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 More sharing options...
nuhi Posted October 7, 2006 Share Posted October 7, 2006 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 More sharing options...
urjaman Posted October 12, 2006 Author Share Posted October 12, 2006 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 More sharing options...
nuhi Posted October 13, 2006 Share Posted October 13, 2006 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,Uor/andrundll32 advpack.dll,LaunchINFSection nLite.inf,CFor U edit [T] section, for C edit [CT] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now