I've done something like this with the <?foreach?> statement. Is that something 
you can leverage?

-----Original Message-----
From: Gregg Swanson [mailto:gregg.swan...@microsoft.com] 
Sent: Tuesday, March 01, 2011 7:32 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Multiple netsh commands

Hello,

I have to execute multiple commands that look like the following  -

netsh http add urlacl url=http://+:8200/[VARIES]/ user=[AGENTACCOUNT]

Do we have mechanism to support this? I have the list of url's to permit in an 
msbuild item collection:

  <ItemGroup>
    <ServiceUrl Include="https://+:443/BugService/"/>
    <ServiceUrl Include="https://+:443/QueryBugService/"/>
    <ServiceUrl Include="https://+:443/QueryPathService/"/>
    <ServiceUrl Include="https://+:443/CatalogService/"/>
    <ServiceUrl Include="https://+:443/QueryService/"/>
    <ServiceUrl Include="https://+:443/SetupService/"/>
    <ServiceUrl Include="https://+:443/TriadService/"/>
    <ServiceUrl Include="https://+:443/CachedBugService/"/>
    <ServiceUrl Include="https://+:443/RecentBugService/"/>
    <ServiceUrl Include="https://+:443/EnterpriseService/"/>

    <ServiceUrl Include="http://+:8200/BugService/"/>
    <ServiceUrl Include="http://+:8200/QueryBugService/"/>
    <ServiceUrl Include="http://+:8200/QueryPathService/"/>
    <ServiceUrl Include="http://+:8200/CatalogService/"/>
    <ServiceUrl Include="http://+:8200/QueryService/"/>
    <ServiceUrl Include="http://+:8200/SetupService/"/>
    <ServiceUrl Include="http://+:8200/TriadService/"/>
    <ServiceUrl Include="http://+:8200/CachedBugService/"/>
    <ServiceUrl Include="http://+:8200/RecentBugService/"/>
    <ServiceUrl Include="http://+:8200/EnterpriseService/"/>


  </ItemGroup>

Thanks,
Gregg
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual 
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to