Public properties can be defined on the command line. Any properties that are all caps (e.g. INSTALLDIR) are public properties. An example of a public property used by some of the WiX extensions is LOGVERBOSE. The following example would run the installer with the built-in logging and set two public properties:
msiexec /i MyInstaller.msi /l*v InstallDebug.log LOGVERBOSE=1 INSTALLDIR="D:\Custom Programs\My Program" - Don Benson - On Thu, Mar 12, 2009 at 5:16 PM, Sudripta Nandy (Sarangsoft Corporation) < v-su...@microsoft.com> wrote: > In my setup program, the user needs to specify certain properties (like > install location) from the command line. I am declaring these properties > within my wix file and depending on the value of these properties, I am > doing different stuff. How do I do that? Can I pass command-line options to > be accessed within my wix file? > > > Thanks. > // Sudripta. > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users