diff options
Diffstat (limited to 'win32/installer/installer.vcxproj')
-rw-r--r-- | win32/installer/installer.vcxproj | 42 |
1 files changed, 6 insertions, 36 deletions
diff --git a/win32/installer/installer.vcxproj b/win32/installer/installer.vcxproj index 0506b246..88de2c35 100644 --- a/win32/installer/installer.vcxproj +++ b/win32/installer/installer.vcxproj @@ -50,7 +50,7 @@ <OutDir>$(HexChatBin)</OutDir> <IntDir>$(HexChatObj)$(ProjectName)\</IntDir> </PropertyGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'"> <ClCompile> <FunctionLevelLinking>true</FunctionLevelLinking> <IntrinsicFunctions>true</IntrinsicFunctions> @@ -61,46 +61,16 @@ <OptimizeReferences>true</OptimizeReferences> </Link> <PreBuildEvent> - <Command>echo [Setup] > "$(OutDir)\hexchat-x86.iss" -echo WizardImageFile="$(ProjectDir)\wizardimage.bmp" >> "$(OutDir)\hexchat-x86.iss" -echo WizardSmallImageFile="$(ProjectDir)\wizardsmallimage.bmp" >> "$(OutDir)\hexchat-x86.iss" -"$(OutDir)\version" -a >> "$(OutDir)\hexchat-x86.iss" -"$(OutDir)\version" -v >> "$(OutDir)\hexchat-x86.iss" -"$(OutDir)\version" -i >> "$(OutDir)\hexchat-x86.iss" -"$(OutDir)\version" -o >> "$(OutDir)\hexchat-x86.iss" -echo SetupIconFile="$(DataDir)icons\hexchat.ico" >> "$(OutDir)\hexchat-x86.iss" -type hexchat-x86.skel.iss >> "$(OutDir)\hexchat-x86.iss" -"$(ProgramFiles)\Inno Setup 5\compil32" /cc "$(OutDir)\hexchat-x86.iss"</Command> - </PreBuildEvent> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <ClCompile> - <FunctionLevelLinking>true</FunctionLevelLinking> - <IntrinsicFunctions>true</IntrinsicFunctions> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - <PreBuildEvent> - <Command>echo [Setup] > "$(OutDir)\hexchat-x64.iss" -echo WizardImageFile="$(ProjectDir)\wizardimage.bmp" >> "$(OutDir)\hexchat-x64.iss" -echo WizardSmallImageFile="$(ProjectDir)\wizardsmallimage.bmp" >> "$(OutDir)\hexchat-x64.iss" -"$(OutDir)\version" -a >> "$(OutDir)\hexchat-x64.iss" -"$(OutDir)\version" -v >> "$(OutDir)\hexchat-x64.iss" -"$(OutDir)\version" -i >> "$(OutDir)\hexchat-x64.iss" -"$(OutDir)\version" -o >> "$(OutDir)\hexchat-x64.iss" -echo SetupIconFile="$(DataDir)icons\hexchat.ico" >> "$(OutDir)\hexchat-x64.iss" -type hexchat-x64.skel.iss >> "$(OutDir)\hexchat-x64.iss" -"$(ProgramFiles)\Inno Setup 5\compil32" /cc "$(OutDir)\hexchat-x64.iss"</Command> + <Command> +del "$(OutDir)hexchat.iss" +type hexchat.iss >> "$(OutDir)hexchat.iss" +"$(ProgramFiles)\Inno Setup 5\iscc.exe" /dPROJECTDIR="$(ProjectDir)" /dAPPARCH="$(Platform)" "$(OutDir)hexchat.iss"</Command> </PreBuildEvent> </ItemDefinitionGroup> <ItemGroup> <None Include="wizardimage.bmp" /> <None Include="wizardsmallimage.bmp" /> - <None Include="hexchat-x64.skel.iss" /> - <None Include="hexchat-x86.skel.iss" /> + <None Include="hexchat.iss" /> </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> |