Hello,

I have a program, called Livelink 4.33 with HKCU settings and is working on about 450 computers. The HKCU settings gets repaired by first logon onto that pc (HKCU installed).

Now I have a new Livelink 4.5 version with HKCU settings and that works fine on it's own, thus no update.

The problem is, the Livelink ap is installed by AD and I will remove the old Livelink 4.33 by AD with option remove immediatly. And will assign the new Livelink 4.5 package to the same group in AD.

After deinstalling and installing the app by AD I get some double settings in HKCU.
How can I remove the old HKCU before installing the new HKCU settings in new MSI file Livelink 4.5?
The HKCU as its own component.

I'm using Adminstudio 6.0 sp1 Professional

Please help.
Regards,
Gert-Tom
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
have you tried the upgrade feature in MSI in which you can uninstall lower versions of the application using theiupgrade code before installing the latest version instead of using AD to uninstall the application ?
Answered 05/03/2005 by: bheers
Second Degree Blue Belt

Please log in to comment
0
No we do only use to remove application fully and then installing the new software to prevent problems with updates and the HKCU settings are different.

Thx
Answered 05/03/2005 by: gertitombo
Orange Belt

Please log in to comment
0
Check if your HKCU entries and advertised shortcut belong to the same Feature in the package. If not, do that.
Answered 05/04/2005 by: Wozik
Orange Belt

Please log in to comment
0
The problem is that the old package hasn't have an advertised shortcut to repair HKCU. I cannot find anything what does the trigger to repair the HKCU in that package.

I know the component where the HKCU settings are in but not the trigger. any suggestions?
Answered 05/04/2005 by: gertitombo
Orange Belt

Please log in to comment
0
How do you launch this application then?
Answered 05/04/2005 by: Wozik
Orange Belt

Please log in to comment
0
The application gets launced by word, Excel, Powerpoint or Intranet. Thus the program must be fully installed before running one of those applications.
Is there any other way to trigger de HKCU when a user log in without using a shortcut in START MENU\STARTUP folder? I mean something by a file like Explorer.exe that run's by every start up?
Answered 05/04/2005 by: gertitombo
Orange Belt

Please log in to comment
0
How is that program being started? Give me the details.
Answered 05/04/2005 by: Wozik
Orange Belt

Please log in to comment
0
The application gets installed by a GPO group Livelink that is assigned to a PC. The software installed on computer level and when a user logs in, the known HKCU settings gets triggered by a registry key that has a key file.

This must be done before running any of the applications, Excel, Word and powerpoint.
When the HKCU settings are installed, the livelink explorer funtions in above programs works.
Answered 05/04/2005 by: gertitombo
Orange Belt

Please log in to comment
0
All right then. So maybe you can simply use RunOnce key under the registry and launch appropriate script or reg file in silent mode? Or even the msi package with one entry in that?
Answered 05/04/2005 by: Wozik
Orange Belt

Please log in to comment
0
I cannot use RunOne as more users can work on one PC. I must make sure that a user gets the right settings. Only solution for us is to install the HKCU settings by first logon after update for each user.
Answered 05/04/2005 by: gertitombo
Orange Belt

Please log in to comment
0
OK, deploy the package with that entry for every user. Is that possible?
Answered 05/04/2005 by: Wozik
Orange Belt

Please log in to comment
0
The shortcut is already in all users. So this works. On the upgrade the old HKCU must be deleted and then the new hkCU settings must be installed with the repair funtion of the new livelink msi package is this possible?
Answered 05/04/2005 by: gertitombo
Orange Belt

Please log in to comment
0
Hi gertitombo,

You can create a custom action to run a script that checks for, and deletes the old HKCU-keys. Condition that custom action to run only during a repair (i.e. in effect the same repair action that repairs your new HKCU-keys).

You could consider using active setup to trigger your repair (here is a useful article: http://bonemanblog.blogspot.com/2004/12/active-setup-registry-keys-and-their.html). This way, you trigger a repair only once per user and you trigger it before other apps are started.

GL
Answered 05/04/2005 by: Ilikebananas
Purple Belt

Please log in to comment
0
Thanks guys, I will check if above meets our requirements.
Answered 05/04/2005 by: gertitombo
Orange Belt

Please log in to comment
0
Try this.

Put your HKCU entries in their own feature as the parent to complete.
Create an unique key as a keypath in HKCU. This key will prompt the repair.
Add a RemoveRegistry within the HKCU feature and add your keys to be removed.

Now I'm not sure if this will work because its a repair....but try it and see.
Answered 05/05/2005 by: MSIMaker
Second Degree Black Belt

Please log in to comment
0
MsiMaker, I tried this.
I added the line HKCU\Software\Open Text in the remove registry already a few weeks ago. You are right. It will only repair and not remove the full key first.
Answered 05/07/2005 by: gertitombo
Orange Belt

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