Baker, Steve
2005-09-21 17:23:44 UTC
In VSDetect.wxs (from the votive setup directory) I see this:
<Property Id="DEVENV_2003_COMP">
<ComponentSearch Id="SearchForDevEnv2003Component"
Guid="153B059B-B2F4-4B54-9AC3-32BE38E470E1" Type="file" />
</Property>
I would like to set the default install directory to where ever the user
installed previously, so I tried this:
<Property Id="PREVIOUS_LOCATION">
<ComponentSearch Id="findPrevious"
Guid="A68697CE-14C4-4635-B239-116D0FBEA3C1" Type="directory" />
</Property>
I don't really understand what ComponentSearch would set
PREVIOUS_LOCATION to if it finds the component? When I test the install
it doesn't set it to anything and I know the component is installed :-(
Do I need to include a DirectorySearch child element or something? I
just want to get at the keypath of the component so I can set a variable
to it.
Thanks,
steve
<Property Id="DEVENV_2003_COMP">
<ComponentSearch Id="SearchForDevEnv2003Component"
Guid="153B059B-B2F4-4B54-9AC3-32BE38E470E1" Type="file" />
</Property>
I would like to set the default install directory to where ever the user
installed previously, so I tried this:
<Property Id="PREVIOUS_LOCATION">
<ComponentSearch Id="findPrevious"
Guid="A68697CE-14C4-4635-B239-116D0FBEA3C1" Type="directory" />
</Property>
I don't really understand what ComponentSearch would set
PREVIOUS_LOCATION to if it finds the component? When I test the install
it doesn't set it to anything and I know the component is installed :-(
Do I need to include a DirectorySearch child element or something? I
just want to get at the keypath of the component so I can set a variable
to it.
Thanks,
steve