Re: [WiX-users] Passing Parameters to a WIX Msi from commandline

2007-10-18 Thread Richard

There's no need to cc: me on this.

In article <[EMAIL PROTECTED]>,
"Abdullah Ahmed" <[EMAIL PROTECTED]>  writes:

> --=_Part_2253_10667222.1192730521605
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> Much Appreciated.
> Thanks for the quick responses.
> 
> On 10/18/07, Alexander Shevchuk <[EMAIL PROTECTED]> wrote:
> >
> > Small addition.  You also might want to add a launch condition to check
> > if extra property is included in the command line:
> >
> > 
> >   Installed OR FILENAME
> > 
> >
> >
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Richard
> > Sent: Thursday, October 18, 2007 10:23 AM
> > To: WiX Users
> > Subject: Re: [WiX-users] Passing Parameters to a WIX Msi from
> > commandline
> >
> >
> > In article
> > <[EMAIL PROTECTED]>,
> > "Abdullah Ahmed" <[EMAIL PROTECTED]>  writes:
> >
> > > Simple issue here, I need to pass in a property to my MSI from the
> > > commandline...the commandline would look something like this..
> > >
> > > misexec product.msi /qr /norestart FILENAME="c:\data.xml"
> > >
> > > I want it so that now in the MSI there is a property called FILENAME
> > with
> > > the value c:\data.xml and I wanna beable to use that property for
> > various
> > > things in the MSI.
> > >
> > > How do I go about doing this?
> >
> > MSI already supports this exactly as you describe.  Your command line
> > is correct.  Once you invoke the install this way, the property will
> > be set to the value given on the command line.  Only public
> > properties (all uppercase names) can be set from the command line.
> > --
> > "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for
> > download
> >   <http://www.xmission.com/~legalize/book/download/index.html>
> >
> > Legalize Adulthood! <http://blogs.xmission.com/legalize/>
> >
> > 
> > -
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> > -
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> 
> 
> 
> -- 
> . Abdullah Ahmed
> . [EMAIL PROTECTED]
> 
> --=_Part_2253_10667222.1192730521605
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> Much Appreciated.Thanks for the quick responses. On 10/18/07, Alexander Shevchuk <mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]
rosoft.com
> > wrote:Sma
ll addition.  You also might want to add a launch condition to check
> if extra property is included in the command line:<Condition 
Message="FILENAME variable must be set in the command line">&
nbsp; Installed OR FILENAME</Condition>-Ori
ginal Message-
> From: mailto:[EMAIL PROTECTED]">wix-users
[EMAIL PROTECTED][mailto:mailto:wix-users-bounce
[EMAIL PROTECTED]">[EMAIL PROTECTED]
> ] On Behalf Of RichardSent: Thursday, October 18, 2007 10:23 AMTo: W
iX UsersSubject: Re: [WiX-users] Passing Parameters to a WIX Msi fromc
ommandlineIn article<mailto:b82535310710181021y238
[EMAIL PROTECTED]">
> [EMAIL PROTECTED]>,&nbs
p;   "Abdullah Ahmed" <mailto:[EMAIL 
PROTECTED]
il.com">[EMAIL PROTECTED]>  writes:> Simple issue 
here, I need to pass in a property to my MSI from the
> > commandline...the commandline would look something like this..&
gt;> misexec product.msi /qr /norestart FILENAME="c:\data.xml"
;>> I wan

Re: [WiX-users] Passing Parameters to a WIX Msi from commandline

2007-10-18 Thread Abdullah Ahmed
Much Appreciated.
Thanks for the quick responses.

On 10/18/07, Alexander Shevchuk <[EMAIL PROTECTED]> wrote:
>
> Small addition.  You also might want to add a launch condition to check
> if extra property is included in the command line:
>
> 
>   Installed OR FILENAME
> 
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Richard
> Sent: Thursday, October 18, 2007 10:23 AM
> To: WiX Users
> Subject: Re: [WiX-users] Passing Parameters to a WIX Msi from
> commandline
>
>
> In article
> <[EMAIL PROTECTED]>,
> "Abdullah Ahmed" <[EMAIL PROTECTED]>  writes:
>
> > Simple issue here, I need to pass in a property to my MSI from the
> > commandline...the commandline would look something like this..
> >
> > misexec product.msi /qr /norestart FILENAME="c:\data.xml"
> >
> > I want it so that now in the MSI there is a property called FILENAME
> with
> > the value c:\data.xml and I wanna beable to use that property for
> various
> > things in the MSI.
> >
> > How do I go about doing this?
>
> MSI already supports this exactly as you describe.  Your command line
> is correct.  Once you invoke the install this way, the property will
> be set to the value given on the command line.  Only public
> properties (all uppercase names) can be set from the command line.
> --
> "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for
> download
>   <http://www.xmission.com/~legalize/book/download/index.html>
>
> Legalize Adulthood! <http://blogs.xmission.com/legalize/>
>
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
. Abdullah Ahmed
. [EMAIL PROTECTED]
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Passing Parameters to a WIX Msi from commandline

2007-10-18 Thread Alexander Shevchuk
Small addition.  You also might want to add a launch condition to check
if extra property is included in the command line:


  Installed OR FILENAME




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard
Sent: Thursday, October 18, 2007 10:23 AM
To: WiX Users
Subject: Re: [WiX-users] Passing Parameters to a WIX Msi from
commandline


In article
<[EMAIL PROTECTED]>,
"Abdullah Ahmed" <[EMAIL PROTECTED]>  writes:

> Simple issue here, I need to pass in a property to my MSI from the
> commandline...the commandline would look something like this..
> 
> misexec product.msi /qr /norestart FILENAME="c:\data.xml"
> 
> I want it so that now in the MSI there is a property called FILENAME
with
> the value c:\data.xml and I wanna beable to use that property for
various
> things in the MSI.
> 
> How do I go about doing this?

MSI already supports this exactly as you describe.  Your command line
is correct.  Once you invoke the install this way, the property will
be set to the value given on the command line.  Only public
properties (all uppercase names) can be set from the command line.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for
download
  <http://www.xmission.com/~legalize/book/download/index.html>

Legalize Adulthood! <http://blogs.xmission.com/legalize/>


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Passing Parameters to a WIX Msi from commandline

2007-10-18 Thread Richard

In article <[EMAIL PROTECTED]>,
"Abdullah Ahmed" <[EMAIL PROTECTED]>  writes:

> Simple issue here, I need to pass in a property to my MSI from the
> commandline...the commandline would look something like this..
> 
> misexec product.msi /qr /norestart FILENAME="c:\data.xml"
> 
> I want it so that now in the MSI there is a property called FILENAME with
> the value c:\data.xml and I wanna beable to use that property for various
> things in the MSI.
> 
> How do I go about doing this?

MSI already supports this exactly as you describe.  Your command line
is correct.  Once you invoke the install this way, the property will
be set to the value given on the command line.  Only public
properties (all uppercase names) can be set from the command line.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
  

Legalize Adulthood! 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users