Newbie Registry Question - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

davidrkirk
Posts: 3
Joined: Tue Aug 17, 2010 3:31 am

Newbie Registry Question

Hey,

We have the need to use PuTTY to connect to an application on one of our servers. I have created a package with Putty.exe and a shortcut that runs "putty.exe -load servername". I copied in the registry settings for "servername" from HKEY_CURRENT_USER\Software\SimonTatham\PuTTY.

When I run the installation package manually it does everything I want it to do. When I deploy it with SCCM the registry information is missing. SCCM is just running the command "msiexec /qn /i Putty.msi".

I just had a brain wave. The application gets installed as the Administrator. When I log in as that Administrator after installing silently it works.

How can I get it to work for all users instead of just the Administrator? I want to deploy the application to the machines, but have all users of those machines get the registry settings.


Thanks

David Kirk
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Newbie Registry Question

Hi David,

It appears your setting is per-user. Would creating it under HKLM instead of HKCU work?

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
davidrkirk
Posts: 3
Joined: Tue Aug 17, 2010 3:31 am

Re: Newbie Registry Question

Gabriel,

Thanks for your reply. I've just tried your suggestion, but it doesn't work. I did a search and found this http://www.chiark.greenend.org.uk/~sgta ... q-settings
On Windows, PuTTY stores most of its data (saved sessions, SSH host keys) in the Registry. The precise location is

HKEY_CURRENT_USER\Software\SimonTatham\PuTTY
I tried putting it in HKEY_USERS\.DEFAULT hoping that it would copy it to each user that runs the application, but that didn't work either. It might work for new users when their profile is setup but it is a bit late for that now.

How can I get it to update the registry for each user's HKEY_CURRENT_USER area?


Thanks

David Kirk
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Newbie Registry Question

Hi David,

I am afraid there is no way you can copy a registry to all user hives. The registry works this way by design.
Since PuTTY only stores it's configuration on a per-user basis, I am aware of no workaround.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
davidrkirk
Posts: 3
Joined: Tue Aug 17, 2010 3:31 am

Re: Newbie Registry Question

Gabriel,

I've got around the problem by substituting Putty.exe with Kitty.exe and creating a kitty.ini file to store my settings. Kitty is a modified version of Putty with some extra features including the ability to store session details in text files instead of the registry.

Thanks for your help anyway.


Thanks

David Kirk

Return to “Common Problems”