diorser Posted October 4, 2006 Share Posted October 4, 2006 I have noticed that [services] & [services2] sections are created in different NLite configuration files.What is the difference between both of them ?Thanks. Link to comment Share on other sites More sharing options...
anonymous_user Posted October 4, 2006 Share Posted October 4, 2006 (edited) [services] lists all the services u removed. for teh remaining services [services2] show if u changed how any of the services start. for example, u can leave them at default or change them to Disabled, Manual or Automatic. Edited October 4, 2006 by anoymous_person Link to comment Share on other sites More sharing options...
diorser Posted October 4, 2006 Author Share Posted October 4, 2006 (edited) Ok thanks; I will check. Edited October 4, 2006 by diorser Link to comment Share on other sites More sharing options...
diorser Posted October 4, 2006 Author Share Posted October 4, 2006 (edited) Well, does not seem to reflect the reality of some past configuration files;=> would need some confirmation if possible.With Nlite 1.2RC, I have a [services2] section for modified services, but no [services] section anymore for removed services.My confusion comes from this observation; then bug or not ?Apparently, [services] section is only read&saved in Last Session.ini file, but cannot be saved in any other configuration file.[services2] section does not behave the same, and preset can be saved in any other configuration file.May be something to do with this error:See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************System.InvalidCastException: Unable to cast object of type 'System.Windows.Forms.TreeNode' to type '..'. at ..() at ..(String , Int32 , Boolean ) at ..6() at ..<(Object , EventArgs ) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)************** Loaded Assemblies **************mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///e:/Program%20Files/nLite/v2.0.50727/mscorlib.dll----------------------------------------nLite Assembly Version: 1.2.0.1 Win32 Version: 1.2.0.1 CodeBase: file:///E:/Program%20Files/nLite/nLite.exe----------------------------------------System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///E:/Program%20Files/nLite/System.DLL----------------------------------------nLite Assembly Version: 1.2.0.1 Win32 Version: 1.2.0.1 CodeBase: file:///E:/Program%20Files/nLite/nLite.exe----------------------------------------System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///E:/Program%20Files/nLite/System.Windows.Forms.DLL----------------------------------------System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///E:/Program%20Files/nLite/System.Drawing.DLL----------------------------------------cablib Assembly Version: 1.0.2459.36134 Win32 Version: CodeBase: file:///E:/Program%20Files/nLite/cablib.DLL----------------------------------------msvcm80 Assembly Version: 8.0.50608.0 Win32 Version: 8.00.50727.42 CodeBase: file:///E:/Program%20Files/nLite/msvcm80.DLL----------------------------------------nlgw Assembly Version: 1.1.0.0 Win32 Version: 1.2.0.1 CodeBase: file:///E:/Program%20Files/nLite/nLite.exe----------------------------------------Accessibility Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///E:/Program%20Files/nLite/Accessibility.DLL----------------------------------------MCDBNET2 Assembly Version: 1.32.0.0 Win32 Version: 1.32.0.1302 CodeBase: file:///E:/Program%20Files/nLite/MCDBNET2.DLL---------------------------------------- Edited October 4, 2006 by diorser Link to comment Share on other sites More sharing options...
diorser Posted October 5, 2006 Author Share Posted October 5, 2006 I confirm there is no more [services] section, but only [services2] section with Nlite 1.2RC.Removed services are in [Components] section.Bug or not ? Don't know. Needs confirmation. Link to comment Share on other sites More sharing options...
Ver Greeneyes Posted October 5, 2006 Share Posted October 5, 2006 Well, if nLite works correctly with the Last Session.ini then nuhi probably just changed how nLite writes and parses said file, and it's not a bug. (however, leaving the other section named Services2 might be confusing)When do you get that error message though? Link to comment Share on other sites More sharing options...
diorser Posted October 5, 2006 Author Share Posted October 5, 2006 I don't get any error with this, but did not understand why some settings were not taken into consideration and some others just sometimes.From one NLite release to others, pre-settings should be 100% checked to avoid surprises at the end of the process.Status with 1.2RC:[services] section does not exist anymore; removed services are now in [components] sections[services2] section only contains modified service settings.Good to know. Link to comment Share on other sites More sharing options...
nuhi Posted October 6, 2006 Share Posted October 6, 2006 Removed services were always part of Components, [services2] is replacement for [services] just so it doesn't load your old settings because of new Default state. 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