############################ # Setup product information ############################ VENDOR="google.com" PN="google.earth" NAME="Google Earth" DESCRIPTION="Google Earth ist eine in der Grundform unentgeltliche Software der Google Inc. und stellt einen virtuellen Globus dar." VERSION="7.3.2.5776" RELEASE="1" PRIORITY="0" ADVICE="" # TYPE - defines, if the install files are public or restricted. # Valid value: restricted | public TYPE="public" DL_FILE[0]="google_earth_logo_png_ai_by_ockre-d3gttvo.jpg" DL_SOURCE[0]="http://img02.deviantart.net/b7b9/i/2011/140/a/e/google_earth_logo_png_ai_by_ockre-d3gttvo.jpg" # replace points, split into array a=( ${VERSION//./ } ) DL_FILE[1]="googleearthprowin-${VERSION}-x32.exe" #DL_SOURCE[1]="http://ftp.disconnected-by-peer.at/Repack/Google/Earth/GoogleEarthWin-${VERSION}.exe" DL_SOURCE[1]="https://dl.google.com/dl/earth/client/advanced/current/googleearthprowin-${a[0]}.${a[1]}.${a[2]}.exe" DL_ARCH[1]="X86" DL_WINST_NAME[1]=Install32Exe DL_FILE[2]="googleearthprowin-${VERSION}-x64.exe" DL_SOURCE[2]="https://dl.google.com/dl/earth/client/advanced/current/googleearthprowin-${a[0]}.${a[1]}.${a[2]}-x64.exe" DL_ARCH[2]="X86_64" DL_WINST_NAME[2]=Install64Exe # File array index for the image showing while installing the program ICON_DL_INDEX=0 #WINST_NAME[0]="InstallMsi" #WINST_VALUE[0]="@DL_EXTRACT_WINST_PATH[1]@\\Google Earth.msi" OPSI_INI_SECTION[0]="X86" OPSI_INI_OPTION[0]="MsiId32" OPSI_INI_VALUE[0]="{9D524A1E-F2FC-444D-B12A-7592CEB56EB5}" OPSI_INI_SECTION[1]="X86_64" OPSI_INI_OPTION[1]="MsiId64" OPSI_INI_VALUE[1]="{70A0F34E-564B-4F93-ADD6-3BAEC6E44075}" # PS command to get msiid after one testinstall with the patch # get-wmiobject Win32_Product | Format-Table IdentifyingNumber, Name, LocalPackage