You would want to use a public, secure property (
http://msdn.microsoft.com/en-us/library/aa370912(VS.85).aspx). However, be
sure to watch your threat model when doing this. Anyone will be able to edit
that command and have your installer execute malicious code. If your
package gets elevated this allow for very bad things to happen without the
user's knowledge.
-- 
Brian Rogers
"Intelligence removes complexity." - Me
http://www.codeplex.com/wixml/
On Mon, Jun 23, 2008 at 10:07 PM, Akshat Sharma <[EMAIL PROTECTED]>
wrote:

> Thanks for your reply.
> I need to pass a string to .msi and use that string as ExeCommand to a
> deferred custom action.
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] On Behalf Of Brian Rogers
> Sent: 24 June 2008 10:30
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Reading command line arguments to .msi
>
> Many command line arguments get translated to MSI properties. Public
> properties (properties that are ALL CAPS) can be set on the command line
> and
> have their values available in the executing install.
>
> What arguments are you looking for?
>
> --
> Brian Rogers
> "Intelligence removes complexity." - Me
> http://www.codeplex.com/wixml/
>
> On Mon, Jun 23, 2008 at 9:53 PM, Akshat Sharma <[EMAIL PROTECTED]>
> wrote:
>
> > How do I read the command line arguments that have been passed to .msi
> > file?
> >
> > Thanks,
> >
> > Akshat
> > -------------------------------------------------------------------------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to