I have declared the property like below

<Property Id="VALUEPASSED">yes</Property>

using it like below

<iis:WebDirProperties Id="webdir" AnonymousAccess='[VALUEPASSED]'/>

but when I compile the project I am getting below error

Error 3 The iis:WebDirProperties/@AnonymousAccess attribute's value,
'[VALUEPASSED]', is not a legal yes/no value.  The only legal values are
'no' and 'yes'. C:\Infodev\TRFAudit\WixInstaller\trfaudit.wxs 26 1 Installer

Pls correct me.


On Tue, Feb 11, 2014 at 7:56 PM, Ilir Bekteshi <ilir...@gmail.com> wrote:

> You should use Property for example:
> <iis:WebDirProperties Id="webdir" AnonymousAccess='[VALUEPASSED]'/>
>
> Then run msiexec /i abc.msi VALUEPASSED=yourvalue
>
> On 2/11/14, Walter Dexter <wfdex...@gmail.com> wrote:
> > If you mean when you install the resulting MSI, that would be in the
> > Windows installer documentation. Or you can do msiexec /? and I think
> > that's in there.
> > On Feb 11, 2014 7:42 AM, "Kiran Somisetty" <mr.svski...@gmail.com>
> wrote:
> >
> >>   I have a requirement to pass values from the command line while
> >> installing the wix.
> >>
> >>   I want to assign this to AnynymousAccess attribute.
> >>
> >>
> >>
> >> <iis:WebDirProperties Id="webdir" AnonymousAccess='value passed'/>
> >>
> >>
> >>
> >> Can you pls help me on this, I searched the documentation, but haven't
> >> got
> >> any clues.
> >>
> >>
> >>
> >> Kiran
> >>
> >>
> ------------------------------------------------------------------------------
> >> Android apps run on BlackBerry 10
> >> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
> >> Now with support for Jelly Bean, Bluetooth, Mapview and more.
> >> Get your Android app in front of a whole new audience.  Start now.
> >>
> >>
> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
> >> _______________________________________________
> >> WiX-users mailing list
> >> WiX-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/wix-users
> >>
> >
> ------------------------------------------------------------------------------
> > Android apps run on BlackBerry 10
> > Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
> > Now with support for Jelly Bean, Bluetooth, Mapview and more.
> > Get your Android app in front of a whole new audience.  Start now.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
> ------------------------------------------------------------------------------
> Android apps run on BlackBerry 10
> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
> Now with support for Jelly Bean, Bluetooth, Mapview and more.
> Get your Android app in front of a whole new audience.  Start now.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to