/build/static/layout/Breadcrumb_cap_w.png

HKCU settings app update

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

Answers (16)

Posted by: bheers 18 years ago
Second Degree Blue Belt
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 ?
Posted by: gertitombo 18 years ago
Orange Belt
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
Posted by: Wozik 18 years ago
Orange Belt
0
Check if your HKCU entries and advertised shortcut belong to the same Feature in the package. If not, do that.
Posted by: gertitombo 18 years ago
Orange Belt
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?
Posted by: Wozik 18 years ago
Orange Belt
0
How do you launch this application then?
Posted by: gertitombo 18 years ago
Orange Belt
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?
Posted by: Wozik 18 years ago
Orange Belt
0
How is that program being started? Give me the details.
Posted by: gertitombo 18 years ago
Orange Belt
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.
Posted by: Wozik 18 years ago
Orange Belt
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?
Posted by: gertitombo 18 years ago
Orange Belt
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.
Posted by: Wozik 18 years ago
Orange Belt
0
OK, deploy the package with that entry for every user. Is that possible?
Posted by: gertitombo 18 years ago
Orange Belt
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?
Posted by: Ilikebananas 18 years ago
Purple Belt
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
Posted by: gertitombo 18 years ago
Orange Belt
0
Thanks guys, I will check if above meets our requirements.
Posted by: MSIMaker 18 years ago
2nd Degree Black Belt
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.
Posted by: gertitombo 18 years ago
Orange Belt
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.
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