Code: Select all
[SetupInfo]
Author = Oliver Becker
CreationDate = 04.03.2008
InventoryID =
Description = Vodafone Mobile Connect
Method (Diff/MSI/...) = Silent Setup
Tested on W2K/NT/... = Win XP, W2k
Dependencies =
Command line options = /AW /S2
Last change =
Build = 0
<Änderungen>
Datum: Autor: Grund/Beschreibung:
04.03.2008 Oliver Becker Creation
Bermerkungen:
VariablenDefinitionen:
; ------------------------------------------------------------ End of Head ----------------------------------------------------------------------------
[Setup]
Version=6.5
ShowCaption=1
BlockInput=0
[Requirements]
[Application]
ProductName=Vodafone Mobile Connect
ProductNameShort=Vodafone Mobile Connect
Version=9.2.4.7868
VersionDirSuffix=100
Revision=0
ServiceRelease=0
DeveloperName=Diginext B.V
DeveloperNameShort=Diginext
SetupName=%ProductName% %Version% %SetupWizard%
Text1="%ProductName% %Version%", Arial, 30, , 00FFFF, 4, , LEFT BOLD ITALIC
Text2="%DeveloperName%", Arial, 24, , 00FFFF, 4, , LEFT BOLD ITALIC
Text3="Language: all", Arial, 24, , 00FFFF, 4, , LEFT BOLD ITALIC
Text8="%Company%", Arial, 18, , 00FFFF, 4, 10, RIGHT BOLD ITALIC
Text9="%InstallationFor% %Windowsuser%", Arial, 14, , 007F00, 4, -14, BOTTOM ITALIC LEFT
BackgroundColor=FF0000,000000
BackgroundPicture=\\%Empirumserver%\Configurator$\user\picture\BallBK.bmp, 0, 0, 100%, 100%, , STRETCHMIN STRETCHMAX
BackgroundSound=
Logo=
WizardPicture=
CopyDialogRect=0%, 0%, 100%, 100%, HCENTER VCENTER
PrecopyFiles=
; Alle Pakete unter einem Baum in der Registry
; All packages under one tree in the registry
; UserKeyName=_EmpirumPackages\%DeveloperName%\%ProductName%
; MachineKeyName=_EmpirumPackages\%DeveloperName%\%ProductName%\%Version%
UserKeyName=%DeveloperName%\%ProductName%
MachineKeyName=%DeveloperName%\%ProductName%\%Version%
UninstallKeyName=%DeveloperNameShort% %ProductName%
UninstallDisplayName=%ProductName% %Version%
UninstallString=%ReinstallString% /U
ReinstallString="%CommonSetupDir%\Setup.exe" "%App%\%SetupInfDir%\Setup.inf"
ReinstallMode=0
HideUninstall=1
SrcDir=..
ApplicationDir=%ProgramFilesDir%\%ProductName%
SetupInfDir=Install
DataDir=%Personal%
DefaultUser=
DefaultCompany=
Prompts=
RunIfInstalled=
Readme=
Execute=
Expand=0
CopyExistingFiles=0
AskUninstallOld=1
AskLicence=0
AskInfo=0
AskFromCD=0
AskShared=0
AskMode=0
AskDir=0
AskDataDir=0
AskUser=0
UseCompany=1
UseProductID=0
ProductIDLength=0
UseCheckmarks=2
AutoIniFileMapping=0
ShellLinks=1
CommonShellLinks=1
CreateUnresolvableShellLinks=1
ShowShellFolder=
LicenceText=
InfoText=
RequirementsText=
UseStringSection=Strings:09
UseSysStringSection=SysStrings:09
PrintServer=
PrintEnvironment=
DateWarning=1
SizeWarning=1
Reboot=0
PreventExternalReboot=0
StartServicesOnReboot=0
ReplaceRunOnce=0
DisableCancelButton=1
ShowEndMessage=0
SetupExtDll=
SetupHookFunc=
[Admin]
AdminSetup=0
ApplicationDir=
AskDir=1
AskOptions=0
ClientSrcDir=Client
UninstallString=%ReinstallString% /U
ReinstallString="%Src%\..\..\..\..\User\Setup.exe" "%Src%\%SetupInfDir%\Setup.inf"
[Client]
ClientDir=
AskDir=0
AskOptions=1
UseUninstallStringFromApplication=1
Reboot=0
[Workstation]
AskOptions=0
AdminUninstallLink=0
AdminUninstallLinkName=%ProductName% %Version%
UserSetupLink=0
UserSetupLinkName=%ProductName% %Version%
[Strings:07]
SetupWizard=Installations-Assistent
InstallationFor=Installation für:
Uninstallation=deinstallieren
Disk1=Diskette 1: Installationsdiskette
InstallerName=Installationsprogramm
InstallerDesc=Dienstprogramm zum Installieren einzelner Komponenten.
ProductDesc=Vodafone Mobile Connect
[Strings:09]
SetupWizard=Installation Wizard
InstallationFor=Installation for:
Uninstallation=Uninstallation
Disk1=Diskette 1: Installation disk
InstallerName=Setup program
InstallerDesc=Service program to install single components.
ProductDesc=Vodafone Mobile Connect
[Strings:0C]
SetupWizard=Assistant d'installation
InstallationFor=Installation pour:
Uninstallation=Desinstallation
Disk1=Disquette 1 : disquette d'installation
InstallerName=Programme de parametrage
InstallerDesc=Programme pour Installation personnalisee.
ProductDesc=Vodafone Mobile Connect
[Strings:15]
SetupWizard=Kreator instalacji
InstallationFor=Instalacja dla:
Uninstallation=Odinstalowanie
Disk1=Dysk 1: Dysk instalacyjny
InstallerName=Program Setup
InstallerDesc=Program serwisowy do instalacji pojedynczych komponentow.
ProductDesc=Vodafone Mobile Connect
[Strings:13]
SetupWizard=Installation Wizard
InstallationFor=Installation for:
Uninstallation=Uninstallation
Disk1=Diskette 1: Installation disk
InstallerName=Setup program
InstallerDesc=Service program to install single components.
ProductDesc=Vodafone Mobile Connect
[SysStrings:07]
Users=Benutzer
SysLang=DEU
[SysStrings:09]
Users=Users
SysLang=ENU
[SysStrings:0C]
Users=Utilisateurs
SysLang=FRA
[SysStrings:15]
Users=Users
SysLang=POL
[SysStrings:13]
Users=Users
SysLang=NLD
[Environment]
CommonSetupDir=%CommonFilesDir%\Setup%SetupBits%
V_MachineValuesPath=%SoftwareDepotServerName%\Values$\MachineValues\%DomainName%
V_UserValuesPath=%HKLM,"Software\matrix42\Software Depot","HomeServer"%\Values$\UserValues\%UserDomain%
; Maschinenabhängige Variablen
; machine dependent variables
;VM_<Variable>=%%%V_MachineValuesPath%\%ComputerName%.ini,%ComputerName%,<Variable>%%
; Userabhängige Variablen
; user dependent variables
;VU_<Variable>=%%%V_UserValuesPath%\%WindowsUser%.ini,%WindowsUser%,<Variable>%%
; !!! Setzen der entsprechenden ReplaceEnv Befehle für die Variablen im Abschnitt [Product] nicht vergessen!!!
; !!! Don't forget to set the appropriate ReplaceEnv instructions for the variables in the section [Product]!!!
[Prompts]
[Services]
[EventSources]
[Disks]
1=%Disk1%
[UserKeyNames]
[Icons]
Product = %ProductNameShort%.ico, 0, 000000, ICON
[Options]
Installer = %InstallerName%, COPYALWAYS, Installer, "%InstallerDesc%"
Product = %ProductName%, COPYALWAYS, Product, "%ProductDesc%"
[OptionDependencies]
[OptionGroups]
[Installer]
1:..\..\..\..\User\Setup.exe, %CommonSetupDir%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP, 0
1:..\..\..\..\User\Setup.hlp, %CommonSetupDir%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP, 0
1:..\..\..\..\User\Setup.cnt, %CommonSetupDir%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP, 0
1:..\..\..\..\User\Mx42SynSem.dll, %System%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP, 0
1:%SetupInfDir%\Setup.inf, , NORMAL, 0
[FileCheckMachine]
ReplaceENV V_MachineValuesPath
If DoesFileExist ("%V_MachineValuesPath%\%ComputerName%.ini") == "0" Then "FileIsntThere" EndIf
[FileCheckClient]
ReplaceENV V_UserValuesPath
If "%UserDomain%" <> "%ComputerName%" Then "CheckClientFile" EndIf
[CheckClientFile]
If DoesFileExist ("%V_UserValuesPath%\%WindowsUser%.ini") == "0" Then "FileIsntThere" EndIf
[FileIsntThere]
ErrorLogMsg %NoValuesFile%
Abort
;~~~~~~~~~~~~~~~~~ Abort-Bedingungen ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[VAR1_Empty]
ErrorLogMsg Die Variable "<Variable>" ist leer!!!
Abort
[VAR1_Unknown]
ErrorLogMsg Es wurde kein gültiger Wert in Variable "<Variable>" eingetragen!!!
ErrorLogMsg Mögliche Werte sind:
Abort
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Product]
;ReplaceEnv <Variable>
;#FileCheckMachine, MACHINE
;#FileCheckClient, CLIENT
;#Set:CheckVariable_CO
#Set:Product
#Reg:OnUninstallProduct, DELETE
#Reg:Product
#Ini:Product
#Security:Product
#Set:CheckInstall, DONTDELETE
#Set:CheckUninstall, DELETE
#Set:ProductUninstall, DELETE
;~~~~~~~~~~~~~~~~~~~~~~~~ Check Variable ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;[Set:CheckVariable_CO]
;set V_Var1=0
;If <Variable> == "" Then "VAR1_Empty" EndIf
;If <Variable> == "<Wert>" Then "VAR1_Wert" EndIf
;If %V_Var1% == "0" Then "VAR1_Unknown" Endif
;set V_Var1=1
;[Set:VAR1_Wert]
;set V_Var1=1
; ...
; ...
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Set:Product]
IF "%SysLang%" == "DEU" THEN "Install_Deu" ENDIF
IF "%SysLang%" == "FRA" THEN "Install_Fra" ENDIF
IF "%SysLang%" == "ENU" THEN "Install_Enu" ENDIF
IF "%SysLang%" == "POL" THEN "Install_Pol" ENDIF
IF "%SysLang%" == "NLD" THEN "Install_Nld" ENDIF
[Install_Deu]
addmeter 12
call "%SRC%\WindowsXP-KB918997-v6-x86-DEU.exe" /passive /norestart
addmeter 14
Call MsiExec /I"%SRC%\msxml6.msi" /qb-! /Li "%Temp%\MSI_%ProductName%.%Version%.%Revision%.log" REBOOT=REALLYSUPPRESS
addmeter 27
;Call "%SRC%\setup_vmc_9_2_4.exe /L0x407 /V"Reboot=ReallySuppress OPCO_PROP=26202 /qb!"
Call MsiExec /I"%SRC%\Vodafone Mobile Connect.msi" /qb! Reboot=ReallySuppress OPCO_PROP=26202
sleep 500
[Install_Fra]
addmeter 12
call "%SRC%\WindowsXP-KB918997-v6-x86-FRA.exe" /passive /norestart
addmeter 14
Call MsiExec /I"%SRC%\msxml6.msi" /qb-! /Li REBOOT=REALLYSUPPRESS
addmeter 27
;Call "%SRC%\setup_vmc_9_2_4.exe /L0x40C /V"Reboot=ReallySuppress OPCO_PROP=20810 /qb!"
Call MsiExec /I"%SRC%\Vodafone Mobile Connect.msi" /qb! Reboot=ReallySuppress OPCO_PROP=20810
sleep 500
[Install_Enu]
addmeter 12
call "%SRC%\WindowsXP-KB918997-v6-x86-ENU.exe" /passive /norestart
addmeter 14
Call MsiExec /I"%SRC%\msxml6.msi" /qb-! REBOOT=REALLYSUPPRESS
addmeter 27
;Call "%SRC%\setup_vmc_9_2_4.exe" /L0x409 /V"Reboot=ReallySuppress OPCO_PROP=23415 /qb!"
Call MsiExec /I"%SRC%\Vodafone Mobile Connect.msi" /qb! Reboot=ReallySuppress OPCO_PROP=23415
sleep 500
[Install_Pol]
addmeter 12
call "%SRC%\WindowsXP-KB918997-v6-x86-PLK.exe" /passive /norestart
addmeter 14
Call MsiExec /I"%SRC%\msxml6.msi" /qb-! REBOOT=REALLYSUPPRESS
addmeter 27
;Call "%SRC%\setup_vmc_9_2_4.exe /L0x415 /V"Reboot=ReallySuppress /qb!"
Call MsiExec /I"%SRC%\Vodafone Mobile Connect.msi" /qb! Reboot=ReallySuppress
sleep 500
[Install_Nld]
addmeter 12
call "%SRC%\WindowsXP-KB918997-v6-x86-NLD.exe" /passive /norestart
addmeter 14
Call MsiExec /I"%SRC%\msxml6.msi" /qb-! REBOOT=REALLYSUPPRESS
addmeter 27
;Call "%SRC%\setup_vmc_9_2_4.exe /L0x413 /V"Reboot=ReallySuppress OPCO_PROP=20404 /qb!"
Call MsiExec /I"%SRC%\Vodafone Mobile Connect.msi" /qb! Reboot=ReallySuppress OPCO_PROP=20404
sleep 500
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Reg:OnUninstallProduct]
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Reg:Product]
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Ini:Product]
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Security:Product]
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Set:CheckInstall]
sleep 5000
IF DoesRegKeyExist ("HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1ECCE5C7-7C28-4384-8711-90228FCFDFA8},DisplayName") == "0" THEN "InstNotSuccess" ENDIF
[InstNotSuccess]
ErrorLogMsg %ProductName% was not correctly INSTALLED.
ABORT
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Set:CheckUnInstall]
IF DoesRegKeyExist ("HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1ECCE5C7-7C28-4384-8711-90228FCFDFA8},DisplayName") == "1" THEN "UnInstNotSuccess" ENDIF
-sleep 5000
[UnInstNotSuccess]
ABORT
-ErrorLogMsg %ProductName% was not correctly UNINSTALLED.
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Set:ProductUninstall]
addmeter 25
-call "%SystemRoot%\$NtUninstallKB918997$\spuninst\spuninst.exe" /passive /norestart
-call MSIEXEC /X{EA2D9BC0-75E9-4975-9A0A-DD82198DDC53} /qb!
-call MSIEXEC /X{1ECCE5C7-7C28-4384-8711-90228FCFDFA8} /qb! REBOOT=REALLYSUPPRESS
sleep 500
addmeter 25
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Shell:Product]