Classic Shell
http://www.classicshell.net/forum/

Allow installer to take command line option for config xml
http://www.classicshell.net/forum/viewtopic.php?f=13&t=99
Page 1 of 1

Author:  jep [ Fri Jan 18, 2013 12:06 am ]
Post subject:  Allow installer to take command line option for config xml

It would be helpful if you could pass an xml file to the installer to have it load that just like it would be if you chose "Load from XML file". That, along with silent install options that would let you configure stuff like whether to add a start menu folder, auto-check for updates, etc. would make it a lot easier to install on lots of machines on our network.

Thanks for such a great app. The one good thing about MS removing the start menu in win8 was that it brought me to an app like this. Love my new totally configured start menu. Much better than MS's choices.

Author:  Gaurav [ Fri Jan 18, 2013 2:03 am ]
Post subject:  Re: Allow installer to take command line option for config x

All Classic Shell settings are stored in the registry at HKEY_CURRENT_USER\Software\IvoSoft. So you can back up that key and silently merge it. The XML is only there as a manual way for novice users to easily restore the settings.

Note that changing the registry settings directly while the Start Menu is running isn't supported. So you can right click the Start button -> Exit. Merge a set of exported .REG settings and start the menu again from C:\Program Files\Classic Shell\ClassicStartMenu.exe.

You can also automate this using a batch file:

"C:\Program Files\Classic Shell\ClassicStartMenu.exe" -exit
Regedit /s "<Path to REG file.reg>"
"C:\Program Files\Classic Shell\ClassicStartMenu.exe"

Author:  jep [ Fri Jan 18, 2013 9:28 am ]
Post subject:  Re: Allow installer to take command line option for config x

I had read that different versions of classic shell could change the registry structure and so it wasn't the best way to go. I perhaps incorrectly assumed the xml would be a little more generic and less prone to that. What I'm actually thinking now is I just need a regular job to overwrite the current settings with the one from the file on the network.

Author:  Gaurav [ Fri Jan 18, 2013 6:28 pm ]
Post subject:  Re: Allow installer to take command line option for config x

XML file is same a registry settings. You can export the settings from HKCU\Software\IvoSoft key to export all Classic Shell settings. If you wish to export only Start Menu settings, export only this branch:
HKCU\Software\IvoSoft\ClassicStartMenu\Settings.

Finally, if you wish to make these settings the same for all user accounts on one PC, export them from HKCU\Software\IvoSoft\ClassicStartMenu\Settings and add them to HKEY_LOCAL_MACHINE\Software\IvoSoft\ClassicStartMenu (Note HKLM instead of HKCU and the lack of a \Settings key at the end).

If you merge them in HKLM, the settings are locked for administrators. They can't be modified from settings GUI by users.

Author:  dvkrgr [ Tue Jan 22, 2013 4:10 pm ]
Post subject:  Re: Allow installer to take command line option for config x

By importing the registry hive, does this also disable the first run of settings dialog opening with new users?

Author:  Ivo [ Tue Jan 22, 2013 7:11 pm ]
Post subject:  Re: Allow installer to take command line option for config x

Yes, this is stored in the ShowedStyle value.

Author:  dvkrgr [ Fri Jan 25, 2013 8:05 am ]
Post subject:  Re: Allow installer to take command line option for config x

When pushing out via user logon GPO, should ClassicStart be installed before or after the .reg?

Author:  Gaurav [ Fri Jan 25, 2013 9:02 am ]
Post subject:  Re: Allow installer to take command line option for config x

It should make no difference whether the reg is merged before or after because when uninstalled, the settings are left and preserved in the registry. So a clean first-time install should be the same as a reinstall. Make sure you export the settings with "ShowedStyle" set to 1 in HKCU so you don't get prompted for the style.

Author:  mbrinkho [ Thu Feb 13, 2014 12:23 pm ]
Post subject:  Re: Allow installer to take command line option for config x

Having a heck of a time getting this to work. I just want to set some registry keys so that all users get the same default config when they login for the first time, I don't necessarily care if they can change them or not. I tried exporting the HKCU:Software\IvoSoft key and modifying the .REG file so that it imports into HKLM and that didn't do it [step removed]. I'd prefer not to use group policy if at all possible. Any ideas?

Author:  Gaurav [ Thu Feb 13, 2014 12:36 pm ]
Post subject:  Re: Allow installer to take command line option for config x

For the Classic Start Menu:

For current user, the key is HKCU\Software\IvoSoft\ClassicStartMenu\Settings.
For all users, the Settings subkey is not required. The key is HKLM\SOFTWARE\IvoSoft\ClassicStartMenu

Same rule applies for Classic Explorer and Classic IE registry keys.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/