In your command, you should specify INSTALLDIR and not TARGETDIR. I'm not sure what are you using, as you haven't mentioned anything. command: msiexec.exe /i "<msipath>" INSTALLDIR="<overridepath>"
On Mon, Sep 21, 2009 at 1:33 PM, Daniel Kubovsky <kubovs...@gmail.com>wrote: > In my WIX source 2 properties are defined (both are path to folders) > their default is directories I created in the wix. for example: > > <Directory Id="TARGETDIR" Name="SourceDir" > > <Directory Id="INSTALLDIR" Name="p"> > <Component Id="CLibrary" > Guid="0E9D7374-5CA0-4229-913F-292452777A38"> > <Condition>WIXUI_INSTALLDIR</Condition> > <File Id="CDLL" Name="C.dll" DiskId="1" > Source="C.dll" KeyPath="yes"/> > . > . > <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" Secure="yes" /> > > from the definition you can see that the default value is c:\p > > The property is presented and set in an install dialog and it works > fine with UI. > Yet, from command line when setting the parameter to some other > value it still install to c:\p ignoring the parameter set. > Also in the logs I can see the overwriting. > - why is that? > > > Any ideas? > Thanks Inbal > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users