XPect Posted September 26, 2004 Share Posted September 26, 2004 Yes, me again Still in implementing tweaks, so I've put some default selections in wihu that other users won't like.Changing default selections in an ini file of hundreds tweaks could be a little pain.What about a boutton to save the selections in the ini file ?This could allow users to set their parameters easilly by running wihu a 1st time before doing unattended install. Link to comment Share on other sites More sharing options...
BenjaminKalytta Posted September 26, 2004 Share Posted September 26, 2004 I would use 2 different ini files for this purpose.because selection could be test.eval.x dependent, which could make trouble. I had also to memorize each test.x.n and test.eval.x.Benjamin Link to comment Share on other sites More sharing options...
XPect Posted September 26, 2004 Author Share Posted September 26, 2004 Yes of course 2 ini would do it, the purpose was to minimise users efforts, but I realise that the mecanism to memorise each selected.x + tests could be a real pain.Thanks anywayXPect Link to comment Share on other sites More sharing options...
BenjaminKalytta Posted September 26, 2004 Share Posted September 26, 2004 But what I could do is to create a menu which conatin each ini file in WIHU directory where the user can select the appropriate one.Benjamin Link to comment Share on other sites More sharing options...
XPect Posted September 26, 2004 Author Share Posted September 26, 2004 No, I don't think it will do the workI'll give you the begining of my ini for example:[Environment]reg = %curdir%\regtweaksapps = %curdir%\Apps[settings]dimension.update = 0dimension.width = 80%dimension.height = 80%SplitterPos = 20[Note - Disabled tweaks are already applied or not applicable to your system]selected = 0disabled = 1[sec - Security]collapsed = 0description.0 = Clear recent documents on exitcommand.0 = cmd.exe /c @echo Faittest.0.0 = HKCU:Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\ClearRecentDocsOnExit?=1test.eval.0 = 0Disabled.0 = if.trueSelected.0 = if.falsehelp.0 = %Reg%\test.rtf[uI - User Interface]collapsed = 0description.0 = Context menu (Right click)command.0 = *selected.0 = 1description.0.0 = Add "Copy To" to Context Menu options [Not selected by default]command.0.0 = regedit /s %reg%\UI-ContextMenu-CopyTo.regtest.0.0.0 = HKLM:SOFTWARE\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To\?={C2FBB630-2971-11D1-A18C-00C04FD75D13}test.eval.0.0 = 0disabled.0.0 = if.trueselected.0.0 = 0description.0.1 = Add "Move To" to Context Menu options [Not selected by default]command.0.1 = regedit /s %reg%\UI-ContextMenu-MoveTo.regtest.0.1.0 = HKLM:SOFTWARE\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To\?={C2FBB631-2971-11D1-A18C-00C04FD75D13}test.eval.0.1 = 0disabled.0.1 = if.trueselected.0.1 = 0description.0.2 = Add "Send To" to Context Menu options [selected by default]command.0.2 = regedit /s %reg%\UI-ContextMenu-MoveTo.regtest.0.2.0 = HKLM:SOFTWARE\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\Send To\?={7BA4C740-9E81-11CF-99D3-00AA004AE837}test.eval.0.2 = 0disabled.0.2 = if.trueselected.0.2 = if.falsedescription.0.3 = Associate unknown files with notepadcommand.0.3 = regedit /s %reg%\UI-ContextMenu-UnknownFiles.regtest.0.3.0 = HKLM:SOFTWARE\Classes\*\Shell\open\command\?=notepad.exe %1test.eval.0.3 = 0disabled.0.3 = if.trueselected.0.3 = if.falseIn this file, I've chosed that "Copy To" and "Move To" are not selected by default while "Send To" is selected.But another user will prefer other options, so he will have to change the ini file.The problem come from the fact that I will have more than 100 tweaks, so for a user not familiar with wihu, it would be a pain to edit.And I can't prepare as many ini as users So if you have any idea to simplify this, I'll take 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