Querry
Answers (5)
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] )
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.
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.
so that the conversation will remain readable.