Folks,
I'm trying to preserve the installation location that the user has picked
during initial install so that a subsequent install will always go to that
very same location.
According to my clever book on Windows Installer, I need to use a "type 51
custom action" to set the ARPINSTALLLOCATION property to the location where
the app is installed.
I'm trying to achieve this with this snippet in WiX (v2) - doesn't seem to
work, though :-(
<InstallExecuteSequence>
<Custom Action="SaveTargetDir" After="InstallValidate" />
</InstallExecuteSequence>
<CustomAction Id="SaveTargetDir" Property="ARPINSTALLLOCATION"
Value="[TARGETDIR]" />
When I goo look in the registry, a totally wrong path is being stored in the
"InstallLocation" property in my app's key. Why??
Any ideas, hints ? What am I missing here??
Thanks!
Marc
--
================================================================
Marc Scheuner May The Source Be With You!
Berne, Switzerland mscheuner -at- mvps.org
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users