Code: Select all
;****************************************************************************************************************
;* *
;* Copyright (C) 2010-2019 neo42 GmbH. All rights reserved. *
;* *
;* neo42 is a registered trademark of neo42 GmbH. *
;* Matrix42 and Empirum are registered trademarks of Matrix42 AG. *
;* All other marks and names mentioned herein are trademarks of their respective companies and organisations. *
;* *
;* Any other use, including disclosure to third parties, publication and dissemination is prohibited. *
;* This applies both to the entire script as well as parts of it. Subject to change. *
;* *
;* Terms and conditions see: http://www.neo42.de/agb/ *
;* *
;* If you have questions or problems, please send an email to paketdepot@neo42.de. *
;* *
;****************************************************************************************************************
[SetupInfo]
Author = Test
CreationDate = 23.07.2019
InventoryID =
Description = SAP Business Explorer Analyzer 7.5 DEU
Method = CMDLine
Tested on = Win7 x64, Win10 x64
Dependencies =
Command line options = /S2
Last Change = 23.07.2019
Build = 0
[Setup]
Version=14.2
ShowCaption=1
BlockInput=0
Platform=x86
[Application]
ProductName=Business Explorer Analyzer
DeveloperName=SAP
Version=7.5
Revision=0
;$$$neoDesign1
SetupName=%Packagename% %SetupWizard%
Text1="%Packagename%", Arial, 32, , 000000, 25#, 25#, LEFT BOLD
BackgroundColor=ffa0a0,ffffff
CopyDialogRect=25#, -25#, 0, 0, NORMAL
Logo=Logo.bmp, -25#, -25#, 0, 0, FFFFFF, TRANSPARENT
UninstallDisplayIcon=%App%\%SetupInfDir%\Setup.ico,0
;$$$neoDesign2
;$$$neoRegistry1
UserKeyName=neoPackages\%DeveloperName%\%ProductName%
MachineKeyName=neoPackages\%DeveloperName%\%ProductName%\%Version%
UninstallKeyName=neoPackage %DeveloperName% %ProductName% %Version%
UninstallDisplayName=neoPackage %DeveloperName% %ProductName% %Version%
;$$$neoRegistry2
UninstallString=%ReinstallString% /U
ReinstallString="%CommonSetupDir%\Setup.exe" "%App%\%SetupInfDir%\Setup.inf"
ReinstallMode=0
SrcDir=..
ApplicationDir=%ProgramFilesDir%\neoPackages\%DeveloperName%\%ProductName%\%Version%
SetupInfDir=neoInstall
DataDir=%Personal%
AskUninstallOld=1
ShellLinks=1
CommonShellLinks=1
CreateUnresolvableShellLinks=1
UseStringSection=Strings:09
UseSysStringSection=SysStrings:09
DateWarning=1
SizeWarning=1
Reboot=0
PreventExternalReboot=1
StartServicesOnReboot=0
CallTimeOut=3600
AbortAfterCallTimeOut=1
DisableCancelButton=1
ShowEndMessage=1
EndMessage=%EndMessageDesc%
[Strings:07]
Disk1=Installationsmedium 1
EndMessageDesc=Die Installation wurde erfolgreich abgeschlossen!
ErrorLogMessage=Die Installation/Deinstallation wurde mit einer Fehlermeldung abgebrochen!
InstallationFor=Installation fuer:
InstallerDesc=Dienstprogramm zum Installieren einzelner Komponenten.
InstallerName=Installationsprogramm
SetupWizard=Installations-Assistent
Uninstallation=deinstallieren
ErrorText=Fehler
CallingText=beim Aufruf von
[Strings:09]
Disk1=Installation media 1
EndMessageDesc=Installation was completed successfully!
ErrorLogMessage=The installation/uninstallation aborted with an error message!
InstallationFor=Installation for:
InstallerDesc=Service program to install single components.
InstallerName=Setup program
SetupWizard=Installation Wizard
Uninstallation=Uninstallation
ErrorText=Error
CallingText=launching
[SysStrings:07]
Users=Benutzer
LANG=DEU
LANGID=1031
LANGTEXT=Deutsch
[SysStrings:09]
Users=Users
LANG=ENU
LANGID=1033
LANGTEXT=English
[Environment]
CommonSetupDir=%CommonFilesDir%\Setup%SetupBits%
Packagename=%DeveloperName% %ProductName% %Version%
DisplayVersion={DisplayVersion}
Uninstallkey=
InstallLocation=
DateDD=left("%sysdate%",2)
DateMM=mid("%sysdate%",3,2)
DateYY=right("%sysdate%",4)
TimeHH=left("%LongSysTime%",2)
TimeMM=mid("%LongSysTime%",3,2)
TimeSS=right("%LongSysTime%",2)
InstLogFile=%APP%\Install.%DateYY%-%DateMM%-%DateDD%_%TimeHH%-%TimeMM%-%TimeSS%.log
UninstLogFile=%APP%\Uninstall.%DateYY%-%DateMM%-%DateDD%_%TimeHH%-%TimeMM%-%TimeSS%.log
RegUninstallKey=HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%Uninstallkey%,DisplayName
RegDisplayVersion=%%HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%Uninstallkey%,DisplayVersion%%
InstPara="%Src%\neoSource\BI750SP07_700-80001931.EXE" /NoDlg /Package="%%SAPPACKAGE%%"
UpdatePara="%Src%\neoSource\setup\BI750SP07_700-80001931.EXE" /NoDlg /Update /Package="%%SAPPACKAGE%%"
UninstPara="%ProgramFiles%\SAP\SAPsetup\setup\BI750SP07_700-80001931.EXE" /NoDlg /Uninstall /Package="%%SAPPACKAGE%%" /IgnoreMissingProducts
[Processes]
[Disks]
1=%Disk1%
[Options]
Installer = %InstallerName%, COPYALWAYS, Installer, "%InstallerDesc%"
neoProduct = %ProductName%, COPYALWAYS, neoProduct, "%ProductDesc%"
[Installer]
1:..\..\..\..\User\Setup.exe, %CommonSetupDir%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP, 0
1:..\..\..\..\User\SetupDeu.chm, %CommonSetupDir%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP, 0
1:..\..\..\..\User\SetupEnu.chm, %CommonSetupDir%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP, 0
1:%SetupInfDir%\Setup.inf, , NORMAL, 0
1:%Temp%\Setup64.exe, %CommonSetupDir%\Setup.exe, OPTIONAL NOSIZEWARNING SETUP ALWAYS WINDOWS64, 0
1:%SetupInfDir%\Logo.bmp, , NORMAL, 0
1:%SetupInfDir%\Setup.ico, , NORMAL, 0
[neoProduct]
#Set:neoProduct, DONTDELETE
#Set:neoUninstall, DELETE
#Product
[Set:neoProduct]
If DoesRegKeyExist ("%RegUninstallKey%") == "1" Then "neoReinstall" Else "neoInstall" EndIf
[neoReinstall]
AddMeter -1
Call %UninstPara%
If "%ErrorLevel%" == "3010" Then "neoRebootRequired" EndIf
Sleep 5000
If DoesRegKeyExist ("%RegUninstallKey%") == "1" Then "Set:neoUninstallError" EndIf
Call %InstPara%
If "%ErrorLevel%" == "3010" Then "neoRebootRequired" EndIf
Sleep 5000
If DoesRegKeyExist ("%RegUninstallKey%") == "0" Then "Set:neoInstallError" EndIf
[neoInstall]
AddMeter -1
Call %InstPara%
If "%ErrorLevel%" == "3010" Then "neoRebootRequired" EndIf
Sleep 5000
If DoesRegKeyExist ("%RegUninstallKey%") == "0" Then "Set:neoInstallError" EndIf
[Set:neoUninstall]
If DoesRegKeyExist ("%RegUninstallKey%") == "1" Then "Set:neoUninstallError" EndIf
-Sleep 5000
If "%ErrorLevel%" == "3010" Then "neoRebootRequired" EndIf
-Call %UninstPara%
-AddMeter -1
[neoRebootRequired]
SetReboot 1
-SetReboot 1
[Set:neoInstallError]
Set ErrorOutput=%ErrorLogMessage% ErrorLevel: %ErrorLevel%
ErrorLogMsg %ErrorOutput%
Abort %ErrorOutput%
[Set:neoUninstallError]
Set ErrorOutput=%ErrorLogMessage% ErrorLevel: %ErrorLevel%
ErrorLogMsg %ErrorOutput%
Abort %ErrorOutput%
-Abort %ErrorOutput%
-ErrorLogMsg %ErrorOutput%
-Set ErrorOutput=%ErrorLogMessage% ErrorLevel: %ErrorLevel%
;~~~~~~~~~~~~~~~~~ Diff - Tuning ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Product]
#Set:Product
#Reg:Product
#Ini:Product
#Security:Product
#Shell:Product
[Set:Product]
[Reg:Product]
;HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\%Uninstallkey%","SystemComponent",0x00010001,1
[Ini:Product]
[Security:Product]
[Shell:Product]