summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/C#/HandBrakeCS.csproj9
1 files changed, 6 insertions, 3 deletions
diff --git a/win/C#/HandBrakeCS.csproj b/win/C#/HandBrakeCS.csproj
index a28bdc3a5..84e753268 100644
--- a/win/C#/HandBrakeCS.csproj
+++ b/win/C#/HandBrakeCS.csproj
@@ -476,10 +476,13 @@
</Target>
-->
<Import Project="$(ProgramFiles)\MSBuild\Microsoft\StyleCop\v4.3\Microsoft.StyleCop.targets" />
- <PropertyGroup>
- <PostBuildEvent>cd ../../
+ <PropertyGroup Condition=" '$(Configuration)' == 'Install' ">
+
+ <PostBuildEvent>
+cd ../../
copy Installer\Installer.nsi bin\Install
cd bin\Install
-makensis Installer.nsi</PostBuildEvent>
+makensis Installer.nsi
+</PostBuildEvent>
</PropertyGroup>
</Project> \ No newline at end of file