/build/static/layout/Breadcrumb_cap_w.png

Active setup is not working VS 2008 setup & deployment msi

Hi all,

I have some user specific information available in HKEY_CURRENT_USER. I want this information in all user. I am running my MSI with AllUSERS=1, so it is running under System Account. Still I am not getting the information in all user. So somewhere I read saying that this will be achieved using Active Setup.
I have written the Active Setup in HKLM under Installed Components. I have made the entries like this.
ComponentName=[ProductName]
StubPath="msiexec /fpu [ProductCode] /qn
Version=[ProductVersion]

When I install this in some user and when I switch to other user it is not reflacting the HKUSer information in other user.
Please suggest me how to resolve this issue.
I am very new guy to Installation.

Thanks in advance.

Regards,
Sanjay

0 Comments   [ + ] Show comments

Answers (7)

Posted by: anonymous_9363 13 years ago
Red Belt
0
Whilst I appreciate that English is not your first language, you need to be careful with your choice of words and phrases. For example, when you say "I want this information in all user", it implies that you want the information be in the 'All Users' profile, for which Active Setup is no use.

What I you *actually* mean is that you want the settings to be created for every user who logs in to the machine.


Does your 'Installed Components' key include the ProductCode? Have you read the AppDeploy AS article?
Posted by: sanjaypakale 13 years ago
Senior Yellow Belt
0
Thanks for your suggestion.

Same steps I have fallowed during the implementation. It is not copying the HKLM entries into the HKUSER after switching to other user.

Can you please provide some more details?

Thanks!

Sanjay
Posted by: Nicole 13 years ago
Senior Yellow Belt
0
But do you really LOG ON with another user? Just switching to another user, which is already logged on, doesn't work.
Posted by: sanjaypakale 13 years ago
Senior Yellow Belt
0
I tried with logging to other user. Even I restarted system as well. But still it is not working.
Posted by: SandeepPanat 13 years ago
Orange Senior Belt
0
ORIGINAL: sanjaypakale

I have written the Active Setup in HKLM under Installed Components. I have made the entries like this.
ComponentName=[ProductName]
StubPath="msiexec /fpu [ProductCode] /qn
Version=[ProductVersion]


Only a rough guess, may be the issue is with the use of quotation marks, "".
Posted by: pjgeutjens 13 years ago
Red Belt
0
A few points:

1) you can omit the ComponentName entry and just change the default value to [ProductName]
2) did you remember to insert a GUID or some other unique value under Installed Components?
The regkey should be HKLM\SOFTWARE\Microsoft\ActiveSetup\Installed Components\<GUID>\

The rest of it looks ok. I assume your package actually does write the HKLM regkey, and does not 'forget' this for some reason?

PJ
Posted by: AngelD 13 years ago
Red Belt
0
First; are you installing to a 64-bit (architecture) target?
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