/build/static/layout/Breadcrumb_cap_w.png

Querry

why self healing does not happen for userprofile files eventhough the file is set as key path in msi.

0 Comments   [ + ] Show comments

Answers (5)

Posted by: jmcfadyen 16 years ago
5th Degree Black Belt
0

because when you have files to deploy to the users profile you need to set an HKCU entry as the keypath.

windows installer cannot detect the user profile path as a keypath as such it uses a dummy hkcu entry as the trigger for the repair scenario.

if you need to deploy to .\local settings\app data you will find yourself in a spot of trouble if you use roaming profiles.

I would recommend putting a dummy key somewhere like this

HKCU\Software\Packages\[ProductName]\ValidationFix_[ComponentName]

This will ensure all your validation fixes for all packages show up in the same place which keeps things tidy. Naming it referencing the Components name also makes it easy to identify the keypath should you want to test / force repair on the required component.

You may also be interested in an article I have written call "Current User Healing" at http://www.itninja.com/question/current-user-self-healing which describes a method to handle this for laptop uses when disconnected from a network resource. ( [SourceList] )

Posted by: VinaySalimath 16 years ago
Senior Yellow Belt
0
Yes my app does have a shortcut and when i launch that u get a txt file in C:\Documents and settings\User profile which disables the Tip of the Day dialog box of my application.The entry in the txt file says "Show Tip Of The Day =False". This txt file is set as key path.When i delete this file to check for repair it does not happen and also the Tip of the day dialog box appears.This is what the problem is to be precise.There are no registry entry to Disable the dialog box.I have only one feature.
Posted by: AngelD 16 years ago
Red Belt
0
Follow John's proposal as this will solve your problem.
If you use a file as keypath instead of a HKCU registry you will have another issue instead. When an admin user starts the application for the first time they keypath for the component will be checked. In general the file should not be found, that is when a regular user runs the application. But as admin users has read on other users profile directories it will be found, so the component holding this file as keypath will not be seen as broken and not get repaired.

Have in mind if you have more then one feature the position of the components feature membership will have a role in this. If you're unsure to solve this just add the component to the same feature as the component holding the EXE file/shortcut.
Posted by: VinaySalimath 16 years ago
Senior Yellow Belt
0
Hi,
When I open the starting page of Quicktest professional v9.1 and click on object repository(Ctrl R) I get the error "This operation cannot be performed.For further help please contact support".
Could any body help me in this regard.I have already captured the changes from the source and included but still i am getting this error.
Posted by: anonymous_9363 16 years ago
Red Belt
0
1. Is this related to your earlier post? If not, please re-post as a new question.
2. Use ProcMon. This will tell what operation could not be performed, and why.
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