From 111a58f1ef3948d3e15c3aff5c5cbdbb7f1a4123 Mon Sep 17 00:00:00 2001 From: TingPing Date: Sat, 5 Oct 2013 15:55:56 -0400 Subject: Improve Windows installer - Unify x86 and x64 installer files - Get rid of version program - Clean up .iss file - Only allow one installation --- win32/installer/installer.vcxproj | 42 ++++++--------------------------------- 1 file changed, 6 insertions(+), 36 deletions(-) (limited to 'win32/installer/installer.vcxproj') 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 @@ $(HexChatBin) $(HexChatObj)$(ProjectName)\ - + true true @@ -61,46 +61,16 @@ true - 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" - - - - - true - true - - - true - true - true - - - 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" + +del "$(OutDir)hexchat.iss" +type hexchat.iss >> "$(OutDir)hexchat.iss" +"$(ProgramFiles)\Inno Setup 5\iscc.exe" /dPROJECTDIR="$(ProjectDir)" /dAPPARCH="$(Platform)" "$(OutDir)hexchat.iss" - - + -- cgit 1.4.1