add register support for the ocx files

This commit is contained in:
Mario Fetka 2013-09-03 17:55:43 +02:00
parent c5e20912ec
commit 700e7b85ac
13 changed files with 111 additions and 13 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,5 +1,5 @@
#!/bin/sh
VERSION="1.1.0.1"
VERSION="1.1.0.2"
KELSRUN="8.6.2"
LEGACYRUN="1_0_0"
RICKRUN="2_2_2"
@ -20,7 +20,7 @@ OPENSSLVER="1_0_1e"
SDL1VER="1.2.15"
SDL2VER="2.0.0"
ADVINSTPATH=/cygdrive/c/Programme/Caphyon/Advanced\ Installer\ 10.3/bin/x86/
ADVINSTPATH=/cygdrive/c/Programme/Caphyon/Advanced\ Installer\ 10.5/bin/x86/
OUT=$(mktemp -d /tmp/output.XXXXXXXXXX) || { echo "Failed to create temp dir"; exit 1; }
@ -648,16 +648,19 @@ for i in $PWD/binary/system16/*
do
echo "$(cygpath -pw "$i")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /AddFile System16Folder "$(cygpath -pw "$i")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /RegisterFile System16Folder\\`basename "$i"` -registration_type Auto
done
for i in $PWD/binary/system32/*
do
echo "$(cygpath -pw "$i")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /AddFile SystemFolder "$(cygpath -pw "$i")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /RegisterFile SystemFolder\\`basename "$i"` -registration_type Auto
done
for i in $PWD/binary/system64/*
do
echo "$(cygpath -pw "$i")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /AddFile System64Folder "$(cygpath -pw "$i")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /RegisterFile System64Folder\\`basename "$i"` -registration_type Auto
done
for i in $PWD/binary/program32/*
do
@ -682,7 +685,8 @@ rm -rf $OUT
# =============================================================================================
# Sync the releases
# =============================================================================================
rsync -avz -e ssh $PWD/release/en/* root@213.145.233.54:/home/ftp/AIO
#rsync -avz -e ssh $PWD/release/en/* root@213.145.233.54:/home/ftp/AIO
rsync -avz -e ssh $PWD/release/en/* root@192.168.11.129:/home/mario/mars/ftp/mars/AIO

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DOCUMENT Type="Advanced Installer" CreateVersion="10.3" version="10.3" Modules="simple" RootPath="." Language="de" Id="{0008F3D0-CB44-4CF6-BC0F-1F031F9F86DC}">
<DOCUMENT Type="Advanced Installer" CreateVersion="10.3" version="10.5" Modules="simple" RootPath="." Language="de" Id="{0008F3D0-CB44-4CF6-BC0F-1F031F9F86DC}">
<COMPONENT cid="caphyon.advinst.msicomp.MsiPropsComponent">
<ROW Property="AI_BITMAP_DISPLAY_MODE" Value="0"/>
<ROW Property="ALLUSERS" Value="1"/>
<ROW Property="ARPCOMMENTS" Value="This installer database contains the logic and data required to install [|ProductName]." ValueLocId="*"/>
<ROW Property="ARPURLINFOABOUT" Value="opsi.disconnected-by-peer.at"/>
@ -8,14 +9,16 @@
<ROW Property="ProductCode" Value="1033:{0FC0A2C9-CF03-46DF-BF64-5366B00C85FB} " Type="16"/>
<ROW Property="ProductLanguage" Value="1033"/>
<ROW Property="ProductName" Value="Geos One Allgemeine Runtimes"/>
<ROW Property="ProductVersion" Value="1.1.0.1" Type="32"/>
<ROW Property="ProductVersion" Value="1.1.0.2" Type="32"/>
<ROW Property="REBOOT" MultiBuildValue="DefaultBuild:ReallySuppress"/>
<ROW Property="SecureCustomProperties" Value="OLDPRODUCTS;AI_NEWERPRODUCTFOUND"/>
<ROW Property="UpgradeCode" Value="{78387AF4-6B5C-4092-B981-4DF4505FCFC5}"/>
<ROW Property="WindowsType9X" MultiBuildValue="DefaultBuild:Windows 9x/ME" ValueLocId="-"/>
<ROW Property="WindowsType9XDisplay" MultiBuildValue="DefaultBuild:Windows 9x/ME" ValueLocId="-"/>
<ROW Property="WindowsTypeNT" MultiBuildValue="DefaultBuild:Windows NT 4.0, Windows NT 4.0 Service Pack 1, Windows NT 4.0 Service Pack 2, Windows NT 4.0 Service Pack 3, Windows NT 4.0 Service Pack 4, Windows NT 4.0 Service Pack 5, Windows NT 4.0 Service Pack 6, Windows 2000, Windows 2000 Service Pack 1, Windows 2000 Service Pack 2, Windows 2000 Service Pack 3, Windows 2000 Service Pack 4" ValueLocId="-"/>
<ROW Property="WindowsTypeNTDisplay" MultiBuildValue="DefaultBuild:Windows NT 4.0, Windows 2000" ValueLocId="-"/>
<ROW Property="WindowsTypeNT" MultiBuildValue="DefaultBuild:Windows 2000, Windows 2000 Service Pack 1, Windows 2000 Service Pack 2, Windows 2000 Service Pack 3, Windows 2000 Service Pack 4" ValueLocId="-"/>
<ROW Property="WindowsTypeNT40" MultiBuildValue="DefaultBuild:Windows NT 4.0" ValueLocId="-"/>
<ROW Property="WindowsTypeNT40Display" MultiBuildValue="DefaultBuild:Windows NT 4.0" ValueLocId="-"/>
<ROW Property="WindowsTypeNTDisplay" MultiBuildValue="DefaultBuild:Windows 2000" ValueLocId="-"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiDirsComponent">
<ROW Directory="APPDIR" Directory_Parent="TARGETDIR" DefaultDir="APPDIR:." IsPseudoRoot="1"/>
@ -54,9 +57,6 @@
<COMPONENT cid="caphyon.advinst.msicomp.MsiBinaryComponent">
<ROW Name="aicustact.dll" SourcePath="&lt;AI_CUSTACTS&gt;aicustact.dll"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiControlComponent">
<ATTRIBUTE name="FixedSizeBitmaps" value="2"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiControlEventComponent">
<ROW Dialog_="WelcomeDlg" Control_="Next" Event="NewDialog" Argument="FolderDlg" Condition="AI_INSTALL" Ordering="1"/>
<ROW Dialog_="FolderDlg" Control_="Next" Event="NewDialog" Argument="VerifyReadyDlg" Condition="AI_INSTALL" Ordering="201"/>
@ -83,6 +83,7 @@
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiCustActComponent">
<ROW Action="AI_DOWNGRADE" Type="19" Target="4010"/>
<ROW Action="AI_DpiContentScale" Type="1" Source="aicustact.dll" Target="DpiContentScale"/>
<ROW Action="AI_InstallModeCheck" Type="1" Source="aicustact.dll" Target="UpdateInstallMode" WithoutSeq="true"/>
<ROW Action="AI_PREPARE_UPGRADE" Type="65" Source="aicustact.dll" Target="PrepareUpgrade"/>
<ROW Action="AI_ResolveKnownFolders" Type="1" Source="aicustact.dll" Target="AI_ResolveKnownFolders"/>
@ -101,11 +102,13 @@
<ROW Action="AI_DOWNGRADE" Condition="AI_NEWERPRODUCTFOUND AND (UILevel &lt;&gt; 5)" Sequence="201"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiInstallUISequenceComponent">
<ROW Action="AI_ResolveKnownFolders" Sequence="52"/>
<ROW Action="AI_ResolveLocalizedCredentials" Sequence="51"/>
<ROW Action="AI_ResolveKnownFolders" Sequence="53"/>
<ROW Action="AI_ResolveLocalizedCredentials" Sequence="52"/>
<ROW Action="AI_DpiContentScale" Sequence="51"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiLaunchConditionsComponent">
<ROW Condition="( Version9X OR VersionNT64 OR ( VersionNT AND ((VersionNT &lt;&gt; 400) OR ((VersionNT = 400) AND (ServicePackLevel &gt;= 1))) AND ((VersionNT &lt;&gt; 400) OR ((VersionNT = 400) AND (ServicePackLevel &lt;&gt; 1))) AND ((VersionNT &lt;&gt; 400) OR ((VersionNT = 400) AND (ServicePackLevel &lt;&gt; 2))) AND ((VersionNT &lt;&gt; 400) OR ((VersionNT = 400) AND (ServicePackLevel &lt;&gt; 3))) AND ((VersionNT &lt;&gt; 400) OR ((VersionNT = 400) AND (ServicePackLevel &lt;&gt; 4))) AND ((VersionNT &lt;&gt; 400) OR ((VersionNT = 400) AND (ServicePackLevel &lt;&gt; 5))) AND ((VersionNT &lt;&gt; 400) OR ((VersionNT = 400) AND (ServicePackLevel &lt;&gt; 6))) AND ((VersionNT &lt;&gt; 500) OR ((VersionNT = 500) AND (ServicePackLevel &gt;= 1))) AND ((VersionNT &lt;&gt; 500) OR ((VersionNT = 500) AND (ServicePackLevel &lt;&gt; 1))) AND ((VersionNT &lt;&gt; 500) OR ((VersionNT = 500) AND (ServicePackLevel &lt;&gt; 2))) AND ((VersionNT &lt;&gt; 500) OR ((VersionNT = 500) AND (ServicePackLevel &lt;&gt; 3))) AND ((VersionNT &lt;&gt; 500) OR ((VersionNT = 500) AND (ServicePackLevel &lt;&gt; 4))) ) )" Description="[ProductName] cannot be installed on the following Windows versions: [WindowsTypeNTDisplay]" DescriptionLocId="AI.LaunchCondition.NoSpecificNT" IsPredefined="true" Builds="DefaultBuild"/>
<ROW Condition="( Version9X OR VersionNT64 OR ( VersionNT AND ((VersionNT &lt;&gt; 500) OR ((VersionNT = 500) AND (ServicePackLevel &gt;= 1))) AND ((VersionNT &lt;&gt; 500) OR ((VersionNT = 500) AND (ServicePackLevel &lt;&gt; 1))) AND ((VersionNT &lt;&gt; 500) OR ((VersionNT = 500) AND (ServicePackLevel &lt;&gt; 2))) AND ((VersionNT &lt;&gt; 500) OR ((VersionNT = 500) AND (ServicePackLevel &lt;&gt; 3))) AND ((VersionNT &lt;&gt; 500) OR ((VersionNT = 500) AND (ServicePackLevel &lt;&gt; 4))) ) )" Description="[ProductName] cannot be installed on the following Windows versions: [WindowsTypeNTDisplay]" DescriptionLocId="AI.LaunchCondition.NoSpecificNT" IsPredefined="true" Builds="DefaultBuild"/>
<ROW Condition="(VersionNT &lt;&gt; 400)" Description="[ProductName] cannot be installed on the following Windows versions: [WindowsTypeNT40Display]" DescriptionLocId="AI.LaunchCondition.NoNT40" IsPredefined="true" Builds="DefaultBuild"/>
<ROW Condition="VersionNT" Description="[ProductName] cannot be installed on [WindowsType9XDisplay]" DescriptionLocId="AI.LaunchCondition.No9X" IsPredefined="true" Builds="DefaultBuild"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiRegsComponent">

91
create.sh Executable file
View File

@ -0,0 +1,91 @@
#!/bin/sh
VERSION="1.1.0.2"
KELSRUN="8.6.2"
LEGACYRUN="1_0_0"
RICKRUN="2_2_2"
CYGVER="1.7.24-1"
ZLIBVER="128"
ZLIBWAPIVER="125"
VB1VER="100"
VB2VER="200"
VB3VER="300"
VB4VER="400"
VB5VER="50"
VB6VER="60sp6"
VC1VER="10"
VC2002VER="70sp1"
VC2003VER="71sp1"
AUTOITVER="3.3.9.19"
OPENSSLVER="1_0_1e"
SDL1VER="1.2.15"
SDL2VER="2.0.0"
ADVINSTPATH=/cygdrive/c/Programme/Caphyon/Advanced\ Installer\ 10.5/bin/x86/
OUT=$(mktemp -d /tmp/output.XXXXXXXXXX) || { echo "Failed to create temp dir"; exit 1; }
# =============================================================================================
# Build the MSI
# =============================================================================================
rm $PWD/*.aip
cp -vf $PWD/code/go-runtime.aip $PWD/go-runtime.aip
OLDPATH=$PATH
export PATH=$ADVINSTPATH:$PATH
echo $PATH
echo "$(cygpath -pw "$PWD/go-runtime.aip")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /SetVersion $VERSION
# copy after verison change this will correct the update for the next release
# advinst will create a new msiid that will be updated from releas to release
cp -vf $PWD/go-runtime.aip $PWD/code/go-runtime.aip
for i in $PWD/binary/system16/*
do
echo "$(cygpath -pw "$i")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /AddFile System16Folder "$(cygpath -pw "$i")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /RegisterFile System16Folder\\`basename "$i"` -registration_type Auto
done
for i in $PWD/binary/system32/*
do
echo "$(cygpath -pw "$i")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /AddFile SystemFolder "$(cygpath -pw "$i")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /RegisterFile SystemFolder\\`basename "$i"` -registration_type Auto
done
for i in $PWD/binary/system64/*
do
echo "$(cygpath -pw "$i")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /AddFile System64Folder "$(cygpath -pw "$i")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /RegisterFile System64Folder\\`basename "$i"` -registration_type Auto
done
for i in $PWD/binary/program32/*
do
echo "$(cygpath -pw "$i")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /AddFile APPDIR "$(cygpath -pw "$i")"
done
echo "$(cygpath -pw "$PWD/release")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /SetOutputLocation -buildname DefaultBuild -path "$(cygpath -pw "$PWD/release")"
AdvancedInstaller.com /rebuild "$(cygpath -pw "$PWD/go-runtime.aip")"
rm $PWD/*.aip
export PATH=$OLDPATH
# =============================================================================================
# Delete Temp Dirs
# =============================================================================================
rm -rf $OUT
# =============================================================================================
# Sync the releases
# =============================================================================================
#rsync -avz -e ssh $PWD/release/en/* root@213.145.233.54:/home/ftp/AIO
rsync -avz -e ssh $PWD/release/en/* root@192.168.11.129:/home/mario/mars/ftp/mars/AIO

BIN
go-runtime-cache/cacheIndex.txt Executable file

Binary file not shown.

BIN
go-runtime-cache/part1/disk1.cab Executable file

Binary file not shown.

Binary file not shown.

BIN
go-runtime-cache/part2/disk1.cab Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.