Hi All,

I have a program which stores the serial number in the HKCU hive of the registry. This has been captured in WinInstall but doesn't actually add it to the registry when the MSI is installed.

I have read that you can use 2 methods to correct this:-
1) Active Setup
2) Self-Healing

I have had a go with the 'Active Setup' method but when a user logs on to a computer, it runs a mini installation (presumably when it copies the HKCU entries into the relevant places). This isn't really an option for us (I don't want a progress bar to appear everytime someone logs onto a computer!!).

So, how would I go about the Self-Healing method? Is this method generally better than the Active Setup method? And finally, is there another way of adding HKCU entries to the registry via an MSI?

Thanks
Nick
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Hi nick3young,

There are 2 type of Active Setup, you can use msiexec /[Repair] <Path to MSI> or Reg Import "<Path to>HKCU.reg"

Knight
Answered 11/28/2006 by: knight
Orange Senior Belt

Please log in to comment
0
You'll get a progress bar with self-healing. I'm no Active-setup expert as I always use self-healing, but I'm sure someone here can tell you if it can be done silently.

Keep in mind, the progress bar only pops up the first time the user logs in.
Answered 11/28/2006 by: turbokitty
Sixth Degree Black Belt

Please log in to comment
0
Thanks for the replies guys,

I assume 'Reg Import' works much the same way as importing a registry fragment during a log-on script? Does this actually kick into action during logging on or is it when you run the program?

Failing this method, it would be handy to have my tried method running silently (though, from first impressions, I think it will slow initial log-ons down quite drastically).

Cheers
Answered 11/28/2006 by: nick3young
Senior Yellow Belt

Please log in to comment
0
If you use "msiexec /fu {ProductCode} /qn" as the stub for Active Setup windows installer will repair the user stuff silent without any dialog or progress bar.
But I would try use self-healing instead as every user on that computer will get the serial not only those that uses the application.
Answered 11/28/2006 by: AngelD
Red Belt

Please log in to comment
0
If its possible i would prefere "self Healing".
This because Active Setup only run once on the computer. I also think as self healing as part of the msi technology.
Answered 11/28/2006 by: Bankeralle
Second Degree Blue Belt

Please log in to comment
0
ORIGINAL: Bankeralle

This because Active Setup only run once on the computer.

You almost got it ;)
Once per user; but maybe that was what you meant
Answered 11/29/2006 by: AngelD
Red Belt

Please log in to comment
0
ORIGINAL: AngelD

ORIGINAL: Bankeralle

This because Active Setup only run once on the computer.

You almost got it ;)
Once per user; but maybe that was what you meant


Yes that is what i meant!! Guess i wrote my comment to early in the morning:-)
Answered 11/29/2006 by: Bankeralle
Second Degree Blue Belt

Please log in to comment
0
My problem usually would be late at night [:D]
Answered 11/29/2006 by: AngelD
Red Belt

Please log in to comment
0
[link=http://itninja.com/question/distribution-message21][link=http://www.ewall.org/index.php?module=ContentExpress&func=print&ceid=23]

Using the techniques in these articles you can actually have self-healing run the first time the application is launched (double clicking a shortcut) rather than when the user logs on for the first time after the application is installed.
Answered 11/29/2006 by: danr29
Purple Belt

Please log in to comment
0
Thanks everyone, I went for 'Self Healing' in the end and it works a treat!

Cheers
Answered 11/30/2006 by: nick3young
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity