These are usage questions and the best place to discuss them is the wix-users
list (instead of this one).
Short answer: for MSI files, public parameters (names are entirely uppercase)
can be passed values on the commandline. You can retrieve those values through
the session in immediate custom actions where you can also set other properties
on the session as well as inform the user. Those custom actions must be either
DLL or script (script is discouraged) and you would need to chose between C++
(a very good library is supplied with WiX) or managed code (DTF is supplied
with WiX). The manual and the tutorial both discuss custom actions and how to
build them.
> Date: Sun, 4 Aug 2013 21:39:48 -0700
> From: mdari...@gmail.com
> To: wix-devs@lists.sourceforge.net
> Subject: [WiX-devs] How to processing command line argument passed to msi
> during installation
>
> Hi,
>
> I am new to wix.. Started exploring it & also able to build the msi
> installer..
> But got stuk here..
>
>
> 1) I want to process (process I mean to check what user has provided value
> to the parameters) the parameters values which is passed to msi through
> command line..
> 2) Base on the above processing, wanted to show some message to user, if he
> provided wrong value to the parameter..
> 3) And finally will pass these parameter values to the batch script as
> input.
>
>
> Thank you.
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-processing-command-line-argument-passed-to-msi-during-installation-tp7587820.html
> Sent from the wix-devs mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent
> caught up. So what steps can you take to put your SQL databases under
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-devs mailing list
> WiX-devs@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-devs
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs