Title: IIS - setting up folder structure

Hi.

I'm struggling a bit with Wix and the folder stucture it generates in the IIS.

I'd like to have the following structure:

Default Web Site
---MyWebService
------v2.0.0
---------Webservice.asmx
---------bin
------------MyLogic.dll

This is accessed with:
http://localhost/MyWebService/v2.0.0/WebService.asmx

Then the Wix script:

...
<WebVirtualDir Id='TestWebVirtualDir' Alias='MyWebService' Directory='INSTALLLOCATION' WebSite='DefaultWebSite' DirProperties='DirProps'>

   <WebVirtualDir Id='TestWebVirtualDir2' Alias='v2.0.0' Directory='INSTALLLOCATION'>
      <WebApplication Id='TestWebApplication' Name='MyWebservice_v2.0.0' />
   </WebVirtualDir>
</WebVirtualDir>

<WebDirProperties Id='DirProps'/>
<WebSite Id='DefaultWebSite' Description='Default Web Site'>         
   <WebAddress Id='AllUnassigned' Port='80' />
</WebSite>


This will look correctly, but my problem is that it also puts the files below http://localhost/MyWebService/WebService.asmx (missing the version number).

How can I specify that the directory MyWebService is just a folder and nothing more? I just need it so that the URL will be correct. All my files are below the v2.0.0 folder,

and the webservice should always be accessed with http://localhost/MyWebService/v2.0.0/WebService.asmx

Any help is very appreciated! :)

-Christer, using Wix2.0

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to