Hi All,
  I am totally new to WIX.

I am trying to create virtual directory using WiX.

First I started with creating a sample virtual directory (I could do it 
successfully)

Now I want to implement the same in our product. So I started modifying 
existing wxs file.

The nodes I have added are: in Red

<Directory Id='TARGETDIR' Name='SourceDir'>
      <Directory Id='Secure' Name='Secure'>

        <Component Id="web.config.component" 
Guid="4A5B6877-8A8F-091F-EE86-AA8DA1D0F5D7">
          <File Id="web.config.file" Name="web.con" LongName="Web.config" 
Vital="yes" KeyPath="yes" DiskId="1" 
src="$(env.TARGETROOT)\WGX\Wgx.Services.Live.WGXService\Web.config"/>
        </Component>
        <Component Id="global.asax.component" 
Guid="13224FC0-34F9-8F02-3D62-EA9E6F3CC5F9">
          <File Id="global.asax.file" Name="global.asa" LongName="global.asax" 
Vital="yes" KeyPath="yes" DiskId="1" 
src="$(env.TARGETROOT)\WGX\Wgx.Services.Live.WGXService\global.asax"/>
        </Component>
        <Component Id="liveservice.svc.component" 
Guid="13D24FC0-34F9-8F02-3D62-EA9E6F3CC5F9">
          <File Id="liveservice.svc.file" Name="liveserv.svc" 
LongName="Liveservice.svc" Vital="yes" KeyPath="yes" DiskId="1" 
src="$(env.TARGETROOT)\WGX\Wgx.Services.Live.WGXService\Liveservice.svc"/>
        </Component>
        <Component Id="marketplace.svc.component" 
Guid="978CCE25-E433-7C59-756C-8D0C81FEB496">
          <File Id="marketplace.svc.file" Name="markplac.svc" 
LongName="Marketplace.svc" Vital="yes" KeyPath="yes" DiskId="1" 
src="$(env.TARGETROOT)\WGX\Wgx.Services.Live.WGXService\Marketplace.svc"/>
        </Component>
        <Component Id="marketplacerest.svc.component" 
Guid="4A016712-21CA-4321-84D6-C3BF61A197C0">
          <File Id="marketplacerest.svc.file" Name="maplrest.svc" 
LongName="MarketplaceRest.svc" Vital="yes" KeyPath="yes" DiskId="1" 
src="$(env.TARGETROOT)\WGX\Wgx.Services.Live.WGXService\MarketplaceRest.svc"/>
        </Component>
        <Directory Id="_D6B36795AB9E41D09C3DA947838F8A09" Name="BIN" 
LongName="bin">
          <Component Id="wgx.common.iocco.dll.component" 
Guid="09C24B16-9E7F-40bf-BCEC-40A14EDAC99A">
            <File Id="wgx.common.iocco.dll.file" Name="wiocco.dll" 
LongName="wgx.common.iocco.dll" Vital="yes" KeyPath="yes" 
AssemblyManifest="wgx.common.iocco.dll.file" 
AssemblyApplication="wgx.common.iocco.dll.file" Assembly=".net" DiskId="1" 
src="$(env.TARGETPATH)\i386\Wgx.Common.IoCCo.dll"/>
          </Component>
          <Component Id="wgx.common.iocco.pdb.component" 
Guid="2D6C3307-C708-42f0-99C9-B22C148CE526">
            <File Id="wgx.common.iocco.pdb.file" Name="wiocco.pdb" 
LongName="wgx.common.iocco.pdb" Vital="yes" KeyPath="yes" DiskId="1" 
src="$(env.TARGETPATH)\i386\Wgx.Common.IoCCo.pdb"/>
          </Component>
          <Component Id="wgx.services.live.library.dll.component" 
Guid="2E1DCFE4-F276-45d9-97A2-06B6E2C42470">
            <File Id="wgx.services.live.library.dll.file" Name="wlibrary.dll" 
LongName="wgx.services.live.library.dll" Vital="yes" KeyPath="yes" 
AssemblyManifest="wgx.services.live.library.dll.file" 
AssemblyApplication="wgx.services.live.library.dll.file" Assembly=".net" 
DiskId="1" src="$(env.TARGETPATH)\i386\Wgx.Services.Live.Library.dll"/>
          </Component>
          <Component Id="wgx.services.live.library.pdb.component" 
Guid="CEDB695E-5336-4141-A55D-A3DDDE9B58AA">
            <File Id="wgx.services.live.library.pdb.file" Name="wlibrary.pdb" 
LongName="wgx.services.live.library.pdb" Vital="yes" KeyPath="yes" DiskId="1" 
src="$(env.TARGETPATH)\i386\Wgx.Services.Live.Library.pdb"/>
          </Component>
          <Component Id="wgx.services.live.contract.dll.component" 
Guid="48083CED-743F-478e-9A95-9A5F8B023EC0">
            <File Id="wgx.services.live.contract.dll.file" Name="wcontrac.dll" 
LongName="wgx.services.live.contract.dll" Vital="yes" KeyPath="yes" 
AssemblyManifest="wgx.services.live.contract.dll.file" 
AssemblyApplication="wgx.services.live.contract.dll.file" Assembly=".net" 
DiskId="1" src="$(env.TARGETPATH)\i386\Wgx.Services.Live.Contract.dll"/>
          </Component>
          <Component Id="wgx.services.live.contract.pdb.component" 
Guid="52FD949D-D448-4eca-A903-FF2785946CBB">
            <File Id="wgx.services.live.contract.pdb.file" Name="wcontrac.pdb" 
LongName="wgx.services.live.contract.pdb" Vital="yes" KeyPath="yes" DiskId="1" 
src="$(env.TARGETPATH)\i386\Wgx.Services.Live.Contract.pdb"/>
          </Component>
          <!--<Component Id="wgx.services.live.wgxtservice.dll.component" 
Guid="5DB92F87-053D-450c-9043-70D026506721">
                                                                                
<File Id="wgx.services.live.wgxtservice.dll.file" Name="wgxtserv.dll" 
LongName="wgx.services.live.wgxtservice.dll.file" Vital="yes" KeyPath="yes" 
AssemblyManifest="wgx.services.live.wgxtservice.dll.file" 
AssemblyApplication="wgx.services.live.wgxtservice.dll.file" Assembly=".net" 
DiskId="1" src="$(env.TARGETPATH)\i386\Wgx.Services.Live.WGXTService.dll"/>
                                                                </Component>
                                                                <Component 
Id="wgx.services.live.wgxtservice.pdb.component" 
Guid="5B62D555-C028-4f00-A26F-C204A0627E93">
                                                                                
<File Id="wgx.services.live.wgxtservice.pdb.file" Name="wgxtserv.pdb" 
LongName="wgx.services.live.wgxtservice.pdb.file" Vital="yes" KeyPath="yes" 
DiskId="1" src="$(env.TARGETPATH)\i386\Wgx.Services.Live.WGXTService.pdb"/>
                                                                </Component>-->
          <Component Id="wgx.services.rpsauthentication.library.dll.component" 
Guid="9253A4BC-4823-490d-8831-7992725E81F5">
            <File Id="wgx.services.rpsauthentication.library.dll.file" 
Name="wrpsauth.dll" LongName="wgx.services.rpsauthentication.library.dll" 
Vital="yes" KeyPath="yes" 
AssemblyManifest="wgx.services.rpsauthentication.library.dll.file" 
AssemblyApplication="wgx.services.rpsauthentication.library.dll.file" 
Assembly=".net" DiskId="1" 
src="$(env.TARGETPATH)\i386\Wgx.Services.RPSAuthentication.Library.dll"/>
          </Component>
          <Component Id="wgx.services.rpsauthentication.library.pdb.component" 
Guid="9EA055B7-133C-4483-8E1A-7E66B664F761">
            <File Id="wgx.services.rpsauthentication.library.pdb.file" 
Name="wrpsauth.pdb" LongName="wgx.services.rpsauthentication.library.pdb" 
Vital="yes" KeyPath="yes" DiskId="1" 
src="$(env.TARGETPATH)\i386\Wgx.Services.RPSAuthentication.Library.pdb"/>
          </Component>
          <Component Id="wgx.services.rpstoken.library.common.dll.component" 
Guid="68BB9350-835A-4980-8C98-9294293B1E7E">
            <File Id="wgx.services.rpstoken.library.common.dll.file" 
Name="wrlibcom.dll" LongName="wgx.services.rpstoken.library.common.dll" 
Vital="yes" KeyPath="yes" 
AssemblyManifest="wgx.services.rpstoken.library.common.dll.file" 
AssemblyApplication="wgx.services.rpstoken.library.common.dll.file" 
Assembly=".net" DiskId="1" 
src="$(env.TARGETPATH)\i386\Wgx.Services.RpsToken.Library.Common.dll"/>
          </Component>
          <Component Id="wgx.services.rpstoken.library.common.pdb.component" 
Guid="8028946A-9D9A-4d6e-A082-2FCC9964368D">
            <File Id="wgx.services.rpstoken.library.common.pdb.file" 
Name="wrlibcom.pdb" LongName="wgx.services.rpstoken.library.common.pdb" 
Vital="yes" KeyPath="yes" DiskId="1" 
src="$(env.TARGETPATH)\i386\Wgx.Services.RpsToken.Library.Common.pdb"/>
          </Component>
          <Component Id="wgx.services.rpstoken.library.service.dll.component" 
Guid="61FC9709-D79F-484b-BE9A-6FBF70FF7047">
            <File Id="wgx.services.rpstoken.library.service.dll.file" 
Name="wrlibser.dll" LongName="wgx.services.rpstoken.library.service.dll" 
Vital="yes" KeyPath="yes" 
AssemblyManifest="wgx.services.rpstoken.library.service.dll.file" 
AssemblyApplication="wgx.services.rpstoken.library.service.dll.file" 
Assembly=".net" DiskId="1" 
src="$(env.TARGETPATH)\i386\Wgx.Services.RpsToken.Library.Service.dll"/>
          </Component>
          <Component Id="wgx.services.rpstoken.library.service.pdb.component" 
Guid="D7E4683E-541B-40eb-B6AB-FE63771F9114">
            <File Id="wgx.services.rpstoken.library.service.pdb.file" 
Name="wrlibser.pdb" LongName="wgx.services.rpstoken.library.service.pdb" 
Vital="yes" KeyPath="yes" DiskId="1" 
src="$(env.TARGETPATH)\i386\Wgx.Services.RpsToken.Library.Service.pdb"/>
          </Component>
          <Component Id="wgx.services.Live.WgxService.dll.component" 
Guid="D7E4681E-541B-40eb-B6AB-FE63771F9114">
            <File Id="wgx.services.Live.WgxService.dll.file" Name="WGXs.DLL" 
LongName="wgx.services.Live.WgxService.dll" Vital="yes" KeyPath="yes" 
DiskId="1" src="$(env.TARGETPATH)\i386\Wgx.services.Live.WgxService.dll"/>
          </Component>
          <Component Id="wgx.services.Live.WgxService.pdb.component" 
Guid="D7E4681E-541B-40eb-16AB-FE63771F9114">
            <File Id="wgx.services.Live.WgxService.pdb.file" Name="WGXs.pdb" 
LongName="wgx.services.Live.WgxService.pdb" Vital="yes" KeyPath="yes" 
DiskId="1" src="$(env.TARGETPATH)\i386\Wgx.services.Live.WgxService.pdb"/>
          </Component>
          <Component Id="xonline.common.webplatform.core.dll.component" 
Guid="A38DC0EF-C9F5-4caf-A379-9EC4FB802B21">
            <File Id="xonline.common.webplatform.core.dll.file" 
Name="xcwecore.dll" LongName="xonline.common.webplatform.core.dll" Vital="yes" 
KeyPath="yes" AssemblyManifest="xonline.common.webplatform.core.dll.file" 
AssemblyApplication="xonline.common.webplatform.core.dll.file" Assembly=".net" 
DiskId="1" src="$(env.TARGETPATH)\i386\xonline.common.webplatform.core.dll"/>
          </Component>
          <Component Id="xonline.common.webplatform.core.pdb.component" 
Guid="A19DA2BA-1E5C-4892-BB36-8375F2B64547">
            <File Id="xonline.common.webplatform.core.pdb.file" 
Name="xcwecore.pdb" LongName="xonline.common.webplatform.core.pdb" Vital="yes" 
KeyPath="yes" DiskId="1" 
src="$(env.TARGETPATH)\i386\xonline.common.webplatform.core.pdb"/>
          </Component>
          <Component Id="xonline.common.webplatform.livecache.dll.component" 
Guid="A63F5E9E-33E7-4e59-9172-14B43D9868F1">
            <File Id="xonline.common.webplatform.livecache.dll.file" 
Name="xcwelcac.dll" LongName="xonline.common.webplatform.livecache.dll" 
Vital="yes" KeyPath="yes" 
AssemblyManifest="xonline.common.webplatform.livecache.dll.file" 
AssemblyApplication="xonline.common.webplatform.livecache.dll.file" 
Assembly=".net" DiskId="1" 
src="$(env.TARGETPATH)\i386\xonline.common.webplatform.livecache.dll"/>
          </Component>
          <Component Id="xonline.common.webplatform.livecache.pdb.component" 
Guid="80B9FD59-DB95-4127-AA87-5E573A0F8200">
            <File Id="xonline.common.webplatform.livecache.pdb.file" 
Name="xcwelcac.pdb" LongName="xonline.common.webplatform.livecache.pdb" 
Vital="yes" KeyPath="yes" DiskId="1" 
src="$(env.TARGETPATH)\i386\xonline.common.webplatform.livecache.pdb"/>
          </Component>
          <Component Id="xonline.common.xboxcom.dll.component" 
Guid="F482B201-857A-45a0-9A10-FA618457A382">
            <File Id="xonline.common.xboxcom.dll.file" Name="xcxbxcom.dll" 
LongName="xonline.common.xboxcom.dll" Vital="yes" KeyPath="yes" 
AssemblyManifest="xonline.common.xboxcom.dll.file" 
AssemblyApplication="xonline.common.xboxcom.dll.file" Assembly=".net" 
DiskId="1" src="$(env.TARGETPATH)\i386\xonline.common.xboxcom.dll"/>
          </Component>
          <Component Id="xonline.common.xboxcom.pdb.component" 
Guid="670C6B34-BF41-463a-BF7A-61CE047F3F93">
            <File Id="xonline.common.xboxcom.pdb.file" Name="xcxbxcom.pdb" 
LongName="xonline.common.xboxcom.pdb" Vital="yes" KeyPath="yes" DiskId="1" 
src="$(env.TARGETPATH)\i386\xonline.common.xboxcom.pdb"/>
          </Component>
          <Component Id="zonediagnostics.dll.component" 
Guid="3D1B8067-7944-4d92-B3B7-BA2F0CF40DF0">
            <File Id="zonediagnostics.dll.file" Name="zonediag.dll" 
LongName="zonediagnostics.dll" Vital="yes" KeyPath="yes" 
AssemblyManifest="zonediagnostics.dll.file" 
AssemblyApplication="zonediagnostics.dll.file" Assembly=".net" DiskId="1" 
src="$(env.TARGETPATH)\i386\ZoneDiagnostics.dll"/>
          </Component>
          <Component Id="zonediagnostics.pdb.component" 
Guid="97DB8FCC-356E-4f2a-9BC4-52B6EF613456">
            <File Id="zonediagnostics.pdb.file" Name="zonediag.pdb" 
LongName="zonediagnostics.pdb" Vital="yes" KeyPath="yes" DiskId="1" 
src="$(env.TARGETPATH)\i386\ZoneDiagnostics.pdb"/>
          </Component>
        </Directory>
        <Component Id="TestWebVirtualDirComponent" 
Guid="521A1E0D-0ED0-464d-9CF0-069BE7D560B0">
          <WebVirtualDir Id="TestWebVirtualDir" Alias="Secure" 
Directory="Secure"
                                                                  
WebSite="DefaultWebSite">
            <WebApplication Id="TestWebApplication" Name="Test" />
          </WebVirtualDir>
        </Component>


      </Directory>

 When I compiled I got to see this error


 1.  Unresolved reference to symbol 'CustomAction:ConfigureIIs'
When did some search i found a link which talks abt this issue but am not sure  
 how to implement it. Here is the link for your friends reference
http://hamlet911.spaces.live.com/blog/cns!F16455FAEFFE346A!483.entry

so as suggested by you i ran the command as
 C:\Enlistments\Tarocco\public\sdk\CoreXT\public\ext\wix\wixv3>light.exe 
sca.wixlib 
C:\Enlistments\Tarocco\Source\WGX\Setup\Wgx.Services.IIS.Installer\objd\i386\Wgx.Services.Lice.Service.IIS.wixobjd
 -out Wgx.Services.Lice.Service.IIS.msi

it is throwing different error The system cannot find 
Source.......................


2.       Error linking to build objd\i386\wgx....
            3.    Unresolved reference to symbol 
Directory:ApplicationFolder.........
4.       Copy: error copying obj\i386\wgx\..



So I found 'CustomAction:ConfigureIIs' node in my wxs file so I just 
uncommented it.
<CustomAction Id='ConfigureIIs' BinaryKey='ScaSchedule' DllEntry='ConfigureIIs' 
Execute='immediate'
                                       Return='check'/>

Now  it is throwing different error:

Unresolved reference to Binary:ScaSchedule.



Any help is highly appreciated.

Please Respond ASAP as I am stuck with this issue from last week.


Thanks
Sangeetha.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to