This issue only seems to occur for certain machines.  Most people that use the 
installer can switch directories with no issue.

However, on my machine, the installer always puts the files into the default 
directory, even when I change it during the UI sequence (using the 
WixUI_InstallDir UI).

I looked at the verbose log, and it looks like the server-side of the execute 
sequence isn't accepting the property containing the new directory selected 
during the UI sequence.

I get this line in line 330 of the log:
MSI (s) (94:B0) [14:17:26:180]: Ignoring disallowed property INSTALLDIR

I can see the correct property value being passed to the server-side earlier in 
line 263 of the log:
MSI (c) (F4:38) [14:17:15:705]: Switching to server: NETFRAMEWORK40CLIENT="#1" 
INSTALLDIR="C:\Program Files (x86)\myDir\" TARGETDIR="C:\" 
CURRENTDIRECTORY="C:\TEMP" CLIENTUILEVEL="0" CLIENTPROCESSID="1268" 
USERNAME="IT department" SOURCEDIR="C:\TEMP\" ACTION="INSTALL" 
EXECUTEACTION="INSTALL" ROOTDRIVE="C:\" INSTALLLEVEL="1" 
WIXUI_INSTALLDIR_VALID="1" SECONDSEQUENCE="1"  ADDLOCAL=ProductFeature


I have an Windows XP virtual machine that I've tried this with, and it all 
works correctly, which makes me think it might be an admin/privileges issue, 
but I might be way off on that.  I've tried setting the WIXUI_INSTALLDIR 
property's Secure attribute to yes, thinking that might allow it to cross to 
the server-side, but I didn't have any luck with that.
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" Secure="yes" />



Any ideas on why the INSTALLDIR property is disallowed on the server-side?

Thanks
_____________________________________

Joe Tilley

FW Murphy

Software Engineer

Office

(918) 317-4130

Email

jtil...@fwmurphy.com







“This message and any attachments may contain FW Murphy information
that is highly confidential, privileged, and exempt from
disclosure.  Any recipient other than the intended recipient is
advised that dissemination, distribution, copying, or other use of
this message is strictly prohibited.  If you have received this
message in error, please notify the sender immediately, plus delete
the message and any backups.”
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to