- Final update for installerfiles (Shaderman / namespace)

- Removed installer.py validation checks since they are incompatible with Vista
- Updated msiquery module to python 2.5
- Added msiquery module for python 2.5

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@147 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
namespace 2007-03-04 13:40:18 +00:00
parent 35afb8e83e
commit 643984aa39
10 changed files with 196 additions and 106 deletions

View file

@ -1,6 +1,13 @@
This is the changelog for developers, != changelog for the end user This is the changelog for developers, != changelog for the end user
that we distribute with the binaries. (see changelog) that we distribute with the binaries. (see changelog)
04/03/2007
namespace
- Final update for installerfiles (Shaderman / namespace)
- Removed installer.py validation checks since they are incompatible with Vista
- Updated msiquery module to python 2.5
- Added msiquery module for python 2.5
03/03/2007 03/03/2007
namespace namespace
(THIS IS A TRANSITIONAL REVISION, DO NOT USE, WAIT FOR UPDATED DEPS) (THIS IS A TRANSITIONAL REVISION, DO NOT USE, WAIT FOR UPDATED DEPS)

View file

@ -1,4 +1,4 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<component> <component>
<file name="msvcr71.dll"/> <file name="libcairo-2.dll"/>
</component> </component>

View file

@ -23,6 +23,7 @@
</dir> </dir>
</dir> </dir>
</dir> </dir>
<!--
<dir name="locale"> <dir name="locale">
<dir name="en@IPA"> <dir name="en@IPA">
<dir name="LC_MESSAGES"> <dir name="LC_MESSAGES">
@ -35,6 +36,7 @@
</dir> </dir>
</dir> </dir>
</dir> </dir>
-->
</dir> </dir>
<dir name="share"> <dir name="share">
<dir name="themes"> <dir name="themes">

View file

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<component>
<file name="msvcr80.dll"/>
<file name="msvcm80.dll"/>
<file name="msvcp80.dll"/>
<file name="msvcrt.dll"/>
<file name="GtkRadiant.exe.manifest"/>
<file name="Microsoft.VC80.CRT.Manifest"/>
</component>

View file

@ -2,12 +2,14 @@
<component> <component>
<file name="libpango-1.0-0.dll"/> <file name="libpango-1.0-0.dll"/>
<file name="libpangowin32-1.0-0.dll"/> <file name="libpangowin32-1.0-0.dll"/>
<file name="libpangocairo-1.0-0.dll"/>
<dir name="etc"> <dir name="etc">
<dir name="pango"> <dir name="pango">
<file name="pango.aliases"/> <file name="pango.aliases"/>
<file name="pango.modules"/> <file name="pango.modules"/>
</dir> </dir>
</dir> </dir>
<!--
<dir name="lib"> <dir name="lib">
<dir name="pango"> <dir name="pango">
<dir name="1.4.0"> <dir name="1.4.0">
@ -17,4 +19,5 @@
</dir> </dir>
</dir> </dir>
</dir> </dir>
-->
</component> </component>

View file

@ -8,10 +8,11 @@
<component name=".\components\q3map2_docs.xml" root="..\..\tools\quake3\q3map2" /> <component name=".\components\q3map2_docs.xml" root="..\..\tools\quake3\q3map2" />
<component name=".\components\q2map.xml" root="..\..\install" /> <component name=".\components\q2map.xml" root="..\..\install" />
<component name=".\components\bspc.xml" root="bin" /> <component name=".\components\bspc.xml" root="bin" />
<component name=".\components\iconv.xml" root="..\..\..\iconv-1.9\bin" /> <component name=".\components\iconv.xml" root="..\..\install" />
<component name=".\components\intl.xml" root="..\..\..\gtk2-2.10\install" /> <component name=".\components\intl.xml" root="..\..\..\gtk2-2.10\install" />
<component name=".\components\glib2.xml" root="..\..\install" /> <component name=".\components\glib2.xml" root="..\..\install" />
<component name=".\components\atk.xml" root="..\..\install" /> <component name=".\components\atk.xml" root="..\..\install" />
<component name=".\components\cairo.xml" root="..\..\install" />
<component name=".\components\pango.xml" root="..\..\install" /> <component name=".\components\pango.xml" root="..\..\install" />
<component name=".\components\gtk2.xml" root="..\..\install" /> <component name=".\components\gtk2.xml" root="..\..\install" />
<component name=".\components\gtkglext.xml" root="..\..\..\gtk2-2.10\install" /> <component name=".\components\gtkglext.xml" root="..\..\..\gtk2-2.10\install" />

View file

@ -412,15 +412,17 @@ class MSIPackage:
os.system("msidb -d " + msiWorkName + " -a archive.cab") os.system("msidb -d " + msiWorkName + " -a archive.cab")
os.system("del archive.cab") os.system("del archive.cab")
print("running standard MSI validators ...")
if(os.system("msival2 " + msiWorkName + " darice.cub > darice.txt") != 0): #print("running standard MSI validators ...")
raise Exception("MSI VALIDATION ERROR: see darice.txt") #if(os.system("msival2 " + msiWorkName + " darice.cub > darice.txt") != 0):
print("running Logo Program validators ...") # raise Exception("MSI VALIDATION ERROR: see darice.txt")
if(os.system("msival2 " + msiWorkName + " logo.cub > logo.txt") != 0):
raise Exception("MSI VALIDATION ERROR: see logo.txt") #print("running Logo Program validators ...")
print("running XP Logo Program validators ...") #if(os.system("msival2 " + msiWorkName + " logo.cub > logo.txt") != 0):
if(os.system("msival2 " + msiWorkName + " XPlogo.cub > XPlogo.txt") != 0): # raise Exception("MSI VALIDATION ERROR: see logo.txt")
raise Exception("MSI VALIDATION ERROR: see XPlogo.txt") #print("running XP Logo Program validators ...")
#if(os.system("msival2 " + msiWorkName + " XPlogo.cub > XPlogo.txt") != 0):
# raise Exception("MSI VALIDATION ERROR: see XPlogo.txt")
msiNameQuoted = "\"" + msiName + "\"" msiNameQuoted = "\"" + msiName + "\""
if(os.path.exists(os.path.join(".\\", msiName)) and os.system("del " + msiNameQuoted) != 0): if(os.path.exists(os.path.join(".\\", msiName)) and os.system("del " + msiNameQuoted) != 0):

View file

@ -1,21 +1,19 @@
Microsoft Visual Studio Solution File, Format Version 8.00 Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "msiquery", "msiquery.vcproj", "{7E8B9772-912C-4E32-88E2-62F9DE03C33C}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "msiquery", "msiquery.vcproj", "{7E8B9772-912C-4E32-88E2-62F9DE03C33C}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject EndProject
Global Global
GlobalSection(SolutionConfiguration) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug = Debug Debug|Win32 = Debug|Win32
Release = Release Release|Win32 = Release|Win32
EndGlobalSection EndGlobalSection
GlobalSection(ProjectConfiguration) = postSolution GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7E8B9772-912C-4E32-88E2-62F9DE03C33C}.Debug.ActiveCfg = Debug|Win32 {7E8B9772-912C-4E32-88E2-62F9DE03C33C}.Debug|Win32.ActiveCfg = Debug|Win32
{7E8B9772-912C-4E32-88E2-62F9DE03C33C}.Debug.Build.0 = Debug|Win32 {7E8B9772-912C-4E32-88E2-62F9DE03C33C}.Debug|Win32.Build.0 = Debug|Win32
{7E8B9772-912C-4E32-88E2-62F9DE03C33C}.Release.ActiveCfg = Release|Win32 {7E8B9772-912C-4E32-88E2-62F9DE03C33C}.Release|Win32.ActiveCfg = Release|Win32
{7E8B9772-912C-4E32-88E2-62F9DE03C33C}.Release.Build.0 = Release|Win32 {7E8B9772-912C-4E32-88E2-62F9DE03C33C}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution GlobalSection(SolutionProperties) = preSolution
EndGlobalSection HideSolutionNode = FALSE
GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection EndGlobalSection
EndGlobal EndGlobal

View file

@ -1,152 +1,215 @@
<?xml version="1.0" encoding="Windows-1252"?> <?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject <VisualStudioProject
ProjectType="Visual C++" ProjectType="Visual C++"
Version="7.10" Version="8,00"
Name="msiquery" Name="msiquery"
ProjectGUID="{7E8B9772-912C-4E32-88E2-62F9DE03C33C}"
RootNamespace="msiquery" RootNamespace="msiquery"
SccProjectName="" >
SccLocalPath="">
<Platforms> <Platforms>
<Platform <Platform
Name="Win32"/> Name="Win32"
/>
</Platforms> </Platforms>
<ToolFiles>
</ToolFiles>
<Configurations> <Configurations>
<Configuration <Configuration
Name="Release|Win32" Name="Release|Win32"
OutputDirectory=".\Release" OutputDirectory=".\Release"
IntermediateDirectory=".\Release" IntermediateDirectory=".\Release"
ConfigurationType="2" ConfigurationType="2"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0" UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="FALSE"> ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="NDEBUG"
MkTypLibCompatible="true"
SuppressStartupBanner="true"
TargetEnvironment="1"
TypeLibraryName=".\Release/msiquery.tlb"
HeaderFileName=""
/>
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="2" Optimization="2"
InlineFunctionExpansion="1" InlineFunctionExpansion="1"
AdditionalIncludeDirectories="..\..\..\..\Python-2.3.3\Include,..\..\..\..\Python-2.3.3\PC" AdditionalIncludeDirectories="C:\Python25\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS" PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
StringPooling="TRUE" StringPooling="true"
RuntimeLibrary="2" RuntimeLibrary="2"
EnableFunctionLevelLinking="TRUE" EnableFunctionLevelLinking="true"
UsePrecompiledHeader="2" UsePrecompiledHeader="0"
PrecompiledHeaderFile=".\Release/msiquery.pch" PrecompiledHeaderFile=".\Release/msiquery.pch"
AssemblerListingLocation=".\Release/" AssemblerListingLocation=".\Release/"
ObjectFile=".\Release/" ObjectFile=".\Release/"
ProgramDataBaseFileName=".\Release/" ProgramDataBaseFileName=".\Release/"
WarningLevel="3" WarningLevel="3"
SuppressStartupBanner="TRUE" SuppressStartupBanner="true"
CompileAs="0"/> CompileAs="0"
/>
<Tool <Tool
Name="VCCustomBuildTool"/> Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions="/export:initmsiquery" AdditionalOptions="/export:initmsiquery"
AdditionalDependencies="odbc32.lib odbccp32.lib python23.lib msi.lib" AdditionalDependencies="odbc32.lib odbccp32.lib python25.lib msi.lib"
OutputFile=".\Release/msiquery.dll" OutputFile=".\Release/msiquery.dll"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\..\Python-2.3.3\PCbuild" AdditionalLibraryDirectories="C:\Python25\libs"
ModuleDefinitionFile=".\msiquery.def" ModuleDefinitionFile=".\msiquery.def"
ProgramDatabaseFile=".\Release/msiquery.pdb" ProgramDatabaseFile=".\Release/msiquery.pdb"
SubSystem="2" SubSystem="2"
ImportLibrary=".\Release/msiquery.lib" ImportLibrary=".\Release/msiquery.lib"
TargetMachine="1"/> TargetMachine="1"
/>
<Tool <Tool
Name="VCMIDLTool" Name="VCALinkTool"
PreprocessorDefinitions="NDEBUG" />
MkTypLibCompatible="TRUE" <Tool
SuppressStartupBanner="TRUE" Name="VCManifestTool"
TargetEnvironment="1" />
TypeLibraryName=".\Release/msiquery.tlb" <Tool
HeaderFileName=""/> Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool <Tool
Name="VCPostBuildEventTool" Name="VCPostBuildEventTool"
CommandLine="copy $(TargetPath) ..\"/> CommandLine="copy $(TargetPath) ..\"
<Tool />
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration> </Configuration>
<Configuration <Configuration
Name="Debug|Win32" Name="Debug|Win32"
OutputDirectory=".\Debug" OutputDirectory=".\Debug"
IntermediateDirectory=".\Debug" IntermediateDirectory=".\Debug"
ConfigurationType="2" ConfigurationType="2"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0" UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="FALSE"> ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="_DEBUG"
MkTypLibCompatible="true"
SuppressStartupBanner="true"
TargetEnvironment="1"
TypeLibraryName=".\Debug/msiquery.tlb"
HeaderFileName=""
/>
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="0" Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\Python-2.3.3\Include,..\..\..\..\Python-2.3.3\PC" AdditionalIncludeDirectories="..\..\..\..\Python-2.3.3\Include,..\..\..\..\Python-2.3.3\PC"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS" PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
RuntimeLibrary="3" RuntimeLibrary="3"
UsePrecompiledHeader="2" UsePrecompiledHeader="0"
PrecompiledHeaderFile=".\Debug/msiquery.pch" PrecompiledHeaderFile=".\Debug/msiquery.pch"
AssemblerListingLocation=".\Debug/" AssemblerListingLocation=".\Debug/"
ObjectFile=".\Debug/" ObjectFile=".\Debug/"
ProgramDataBaseFileName=".\Debug/" ProgramDataBaseFileName=".\Debug/"
WarningLevel="3" WarningLevel="3"
SuppressStartupBanner="TRUE" SuppressStartupBanner="true"
DebugInformationFormat="4" DebugInformationFormat="4"
CompileAs="0"/> CompileAs="0"
/>
<Tool <Tool
Name="VCCustomBuildTool"/> Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions="/export:initmsiquery" AdditionalOptions="/export:initmsiquery"
AdditionalDependencies="odbc32.lib odbccp32.lib python23_d.lib msi.lib" AdditionalDependencies="odbc32.lib odbccp32.lib python23_d.lib msi.lib"
OutputFile=".\Debug/msiquery_d.dll" OutputFile=".\Debug/msiquery_d.dll"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\..\Python-2.3.3\PCbuild" AdditionalLibraryDirectories="..\..\..\..\Python-2.3.3\PCbuild"
ModuleDefinitionFile=".\msiquery.def" ModuleDefinitionFile=".\msiquery.def"
GenerateDebugInformation="TRUE" GenerateDebugInformation="true"
ProgramDatabaseFile=".\Debug/msiquery_d.pdb" ProgramDatabaseFile=".\Debug/msiquery_d.pdb"
SubSystem="2" SubSystem="2"
ImportLibrary=".\Debug/msiquery_d.lib" ImportLibrary=".\Debug/msiquery_d.lib"
TargetMachine="1"/> TargetMachine="1"
/>
<Tool <Tool
Name="VCMIDLTool" Name="VCALinkTool"
PreprocessorDefinitions="_DEBUG" />
MkTypLibCompatible="TRUE" <Tool
SuppressStartupBanner="TRUE" Name="VCManifestTool"
TargetEnvironment="1" />
TypeLibraryName=".\Debug/msiquery.tlb" <Tool
HeaderFileName=""/> Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool <Tool
Name="VCPostBuildEventTool" Name="VCPostBuildEventTool"
CommandLine="copy $(TargetPath) ..\"/> CommandLine="copy $(TargetPath) ..\"
<Tool />
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration> </Configuration>
</Configurations> </Configurations>
<References> <References>
@ -154,21 +217,26 @@
<Files> <Files>
<Filter <Filter
Name="Source Files" Name="Source Files"
Filter="cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90"> Filter="cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90"
>
<File <File
RelativePath=".\msiquery.c"> RelativePath=".\msiquery.c"
>
</File> </File>
<File <File
RelativePath="msiquery.def"> RelativePath="msiquery.def"
>
</File> </File>
</Filter> </Filter>
<Filter <Filter
Name="Header Files" Name="Header Files"
Filter="h;hpp;hxx;hm;inl;fi;fd"> Filter="h;hpp;hxx;hm;inl;fi;fd"
>
</Filter> </Filter>
<Filter <Filter
Name="Resource Files" Name="Resource Files"
Filter="ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe"> Filter="ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe"
>
</Filter> </Filter>
</Files> </Files>
<Globals> <Globals>

BIN
setup/win32/msiquery.pyd Normal file

Binary file not shown.