Adding HostRestart folder to WebPI and making it writable.

--HG--
branch : dev
This commit is contained in:
Andre Rodrigues 2011-03-22 17:10:32 -07:00
parent 0c15aedaf0
commit 4a404afd2d
3 changed files with 7 additions and 0 deletions

View File

@ -293,6 +293,8 @@
DestinationFolder="$(MsDeployFolder)\Orchard\%(RecursiveDir)"/> DestinationFolder="$(MsDeployFolder)\Orchard\%(RecursiveDir)"/>
<Copy SourceFiles="@(MsDeploy-Parameters)" <Copy SourceFiles="@(MsDeploy-Parameters)"
DestinationFolder="$(MsDeployFolder)"/> DestinationFolder="$(MsDeployFolder)"/>
<MakeDir Directories="$(MsDeployFolder)\Orchard\bin\HostRestart"/>
</Target> </Target>
<Target Name="Package-Zip"> <Target Name="Package-Zip">

View File

@ -2,5 +2,6 @@
<iisapp path="Orchard" managedRuntimeVersion="v4.0" /> <iisapp path="Orchard" managedRuntimeVersion="v4.0" />
<setAcl path="Orchard/App_Data" setAclAccess="Modify" /> <setAcl path="Orchard/App_Data" setAclAccess="Modify" />
<setAcl path="Orchard/Media" setAclAccess="Modify" /> <setAcl path="Orchard/Media" setAclAccess="Modify" />
<setAcl path="Orchard/bin/HostRestart" setAclAccess="Modify" />
<dbFullSql path="install.sql" /> <dbFullSql path="install.sql" />
</MSDeploy.iisApp> </MSDeploy.iisApp>

View File

@ -13,6 +13,10 @@
<parameterEntry type="ProviderPath" scope="setAcl" match="Orchard/Media" /> <parameterEntry type="ProviderPath" scope="setAcl" match="Orchard/Media" />
</parameter> </parameter>
<parameter name="SetAclParameter3" description="Hidden - automatically sets write access for the app" defaultValue="{Application Path}/bin/HostRestart" tags="Hidden">
<parameterEntry type="ProviderPath" scope="setAcl" match="Orchard/bin/HostRestart" />
</parameter>
<!-- Prompts for database server name, this is used in the connection string parameter later --> <!-- Prompts for database server name, this is used in the connection string parameter later -->
<parameter name="Database Server" description="Location of your database server (i.e. server name, IP address, or server\instance)" defaultValue=".\SQLEXPRESS" tags="SQL, dbServer"> <parameter name="Database Server" description="Location of your database server (i.e. server name, IP address, or server\instance)" defaultValue=".\SQLEXPRESS" tags="SQL, dbServer">
</parameter> </parameter>