Oh, of course. It tries to interpret anything in square brackets as a
property name and [segment="bin"] isn't a property name. If you
need literal brackets in the string then you have to escape them as [\[] and
[\]]

See http://msdn.microsoft.com/en-US/library/aa368609.aspx  5th bullet.

-----Original Message-----
From: Natalie Carr [mailto:natalie.c...@measuresoft.com] 
Sent: 30 January 2013 12:42
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] IIS- delete hidden segment error

Peter,

Thanks it seems to be the square brackets it's not liking. Not sure if the
command will do as expected but I will test it.

Kind Regards,

Natalie Carr

-----Original Message-----
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: Wednesday, January 30, 2013 12:34 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] IIS- delete hidden segment error

Keep deleting parts of the execommand string until it compiles. The " s
are most likely causes.

-----Original Message-----
From: Natalie Carr [mailto:natalie.c...@measuresoft.com]
Sent: 30 January 2013 12:27
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] IIS- delete hidden segment error

Hi I am trying to delete a hidden segment when installing a web application.
I am using the following code:

 

      <CustomAction Id="DeleteHiddenSegment" Return="asyncNoWait"
Directory="TARGETDIR"

          ExeCommand="[SystemFolder]inetsrv\appcmd set config
/section:requestfiltering /-hiddensegments.[segment=&quot;bin&quot;]"

          Impersonate="no" Execute="deferred" />

 

But I am getting the error: error LGHT0204: ICE03: Invalid format string

Can anyone please help me out?

 

Kind Regards,

 

Natalie Carr

 

----------------------------------------------------------------------------
-
-
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for free
today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires
that you delete it without acting upon or copying any of its contents, and we
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
7DY, UK.


----------------------------------------------------------------------------
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for free
today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-----------------------------------------------------------------------------
-
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for free
today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to