/build/static/layout/Breadcrumb_cap_w.png

Settings deploy to all users with MSI (Active Setup?)

I have a key I want to have installed on all users computers.
The file contains a setting to a software that we wants as default (software: SAP GUI 7.20)
Im a newbie with creating MSI files and need your help.

The MSI file will only have the registry entry in it. no exe file or anything.
I hope thats not any problem?

If I understand it right, I need to have a Active Setup registry entry in my MSI package.
This entry will force the MSI package repair and give the user the rregistry on all new logons to the computer (also old ones that havent recived the registry setting before).

Im working with Wise Package Studio.



This is the setting for the user:

---------------------------------------------------------------------------------------------------------------------------

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\SAP\SAPGUI Front\SAP Frontend Server\Customize]
"Dropdown.ShowKey"=dword:00000001
"Dropdown.SortKey"=dword:00000001

---------------------------------------------------------------------------------------------------------------------------

And this is the Active Setup setting:

---------------------------------------------------------------------------------------------------------------------------

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Active Setup\Installed Components\{167EADCA-13DC-4FE6-B5F8-31C164CD0A99}]
"Version"="1,0,0"
"ComponentID"="SAPGUI-UserSettings-1_0"
@="SAPGUI-UserSettings-1_0"
"StubPath"=hex(2):43,00,3a,00,5c,00,57,00,49,00,4e,00,44,00,4f,00,57,00,53,00,\
5c,00,53,00,79,00,73,00,57,00,4f,00,57,00,36,00,34,00,5c,00,6d,00,73,00,69,\
00,65,00,78,00,65,00,63,00,2e,00,65,00,78,00,65,00,20,00,2f,00,66,00,75,00,\
20,00,7b,00,31,00,36,00,37,00,45,00,41,00,44,00,43,00,41,00,2d,00,31,00,33,\
00,44,00,43,00,2d,00,34,00,46,00,45,00,36,00,2d,00,42,00,35,00,46,00,38,00,\
2d,00,33,00,31,00,43,00,31,00,36,00,34,00,43,00,44,00,30,00,41,00,39,00,39,\
00,7d,00,20,00,2f,00,71,00,00,00

---------------------------------------------------------------------------------------------------------------------------


Install for Profile:
Per-machine installation

Reinstallation Options
File Replacement: Reinstall if file does not exist or existing version older

[ X ] Reinstall all per-user based registry keys
[ X ] Re-cache local copy of installation

0 Comments   [ + ] Show comments

Answers (1)

Posted by: pjgeutjens 12 years ago
Red Belt
0
A couple of pointers:

1) Make sure the MSI's ALLUSERS property is set to 1
2) Make your component with the HKCU keys, and indicate one of the values as a keypath
3) I dunno what that stubpath is that you have there, but what I would use is a commandline like msiexec.exe /fu <ProductCode of your MSI> /qn

Some additional remarks:

1) an MSI for just one regkey might be considered overkill, you could perhaps attain the same result with a vbscript and an active setup to trigger said script. Or through GPO and logon scripts..
2) if you are packaging SAP GUI at the same time, you might want to consider incorporating this registry key into the main SAP installation. Don't forget that while you might need a seperate package to propagate this change in the field for existing installs, you'll also probably want future SAP installs to contain this key natively.

Hope this helps,

PJ
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ