Hi,
My installer is not supposed to have any gui, instead, I would like to
install to program files by default or to a location selected by the user
when he is lunching my installer from the command line using msiexec.

I tried defining my directories like this:

<Directory Id="TARGETDIR" Name="SourceDir">
  <Directory Id="ProgramFilesFolder">
    <Directory Id="ProductFolder" Name="TestSetupFolder"/>
  </Directory>
...
</Directory>

and overriding by setting the TARGETDIR from command line like this:
msiexec /i c:\myInstaller.msi TARGETDIR=c:\someFolderName.
This had no effect.

Any ideas on how to accomplish that?
Thanks.
------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to