Amitava's Blog on Windows Vista: Application Certification and Compatibility
Test Case 19: Verify application creates uninstall registry key and values (Req:2.7)
Question: I've used a setup project to create the installer. But the uninstall registry key is not created.
Answer: For Install Location, we need to set ARPINSTALLLOCATION Property through a custom action in our msi. The custom action will set the ARPINSTALLLOCATION to the TargetDir. To do this using Orca we need the following changes to the msiStep 1: In the CustomAction table set the following row values:
Action
Type
Source
Target
MyTargetDir
51
ARPINSTALLLOCATION
[TARGETDIR]
Step 2: In the InstallExecuteSequence table set the following row values:
Condition
Sequence
ARPINSTALLLOCATION=""
798
We can also leave the condition blank in the InstallExecuteSequence.