Hi all,

To create a new application/vdir in IIS7, I'm using a custom action to set a 
property to an appcmd.exe command line, and then executing that command with 
CAQuietExec.  Here's what the property assignment looks like:

<CustomAction 
  Id="MapGuideIIS7_CreateMapGuideApp_Cmd" 
  Property="MapGuideIIS7_CreateMapGuideApp" 
  Execute="immediate"
  Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; 
          add app /site.name:&quot;[MG_WEBSITE]&quot; 
          /path:&quot;/[MG_VDIR]&quot; 
          /physicalPath:&quot;[WEBROOTLOCATION]&quot;" />

This runs without appcmd complaining, but then when I open the web site in the 
mmc it chirps about illegal characters.  After a bunch of experimentation, it 
turns out that it doesn't like the trailing slash that is automatically placed 
in the WEBROOTLOCATION directory property.

There was another thread about this a while ago, but I'm wondering if there are 
any new CAs available in WiX to manipulate property strings?
 
Thanks,
Jason


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to