Textausgabe für User
-
Khal_Simon
- Posts: 84
- Joined: 16. Jul 2013, 12:46
- Contact:
Textausgabe für User
Hallo,
gibt es eine Möglichkeit, in einem Paket dem User Text anzuzeigen? Im Grunde wäre echo für meine Zwecke ideal, jedoch wird dieses ja nicht ausgeführt wenn man das Paket per Software Depot ausführt.
Gibt es einen alternativen Befehl oder eine Möglichkeit, echo auch per Software-Depot anzuzeigen?
LG Simon
gibt es eine Möglichkeit, in einem Paket dem User Text anzuzeigen? Im Grunde wäre echo für meine Zwecke ideal, jedoch wird dieses ja nicht ausgeführt wenn man das Paket per Software Depot ausführt.
Gibt es einen alternativen Befehl oder eine Möglichkeit, echo auch per Software-Depot anzuzeigen?
LG Simon
Re: Textausgabe für User
Doch, mit /S3. Alternativ mit promptjedoch wird dieses ja nicht ausgeführt wenn man das Paket per Software Depot ausführt.
-
Khal_Simon
- Posts: 84
- Joined: 16. Jul 2013, 12:46
- Contact:
Re: Textausgabe für User
Leider läuft er sowohl mit Prompt als auch mit Echo + /S3 einfach durch ohne eine Meldung anzuzeigen 
-
Hendrik_Ambrosius
- Moderator

- Posts: 8096
- Joined: 13. Dec 2004, 23:10
- Location: Adendorf/Lüneburg
Re: Textausgabe für User
Dann habe Sie noch Relikte von den alten Installationsversuchen auf dem Rechner.
Rechner neu aufsetzen oder Produktkeys in HKLM und HKCU löschen.
Rechner neu aufsetzen oder Produktkeys in HKLM und HKCU löschen.
Hendrik Ambrosius / Senior Presales Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com
Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com
Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.
-
Khal_Simon
- Posts: 84
- Joined: 16. Jul 2013, 12:46
- Contact:
Re: Textausgabe für User
Ich installiere meine Test-Pakete immer auf virtuellen Maschinen die ich danach zurücksetze, also ist derartiges auszuschließenHendrik_Ambrosius wrote:Dann habe Sie noch Relikte von den alten Installationsversuchen auf dem Rechner.
Rechner neu aufsetzen oder Produktkeys in HKLM und HKCU löschen.
-
Hendrik_Ambrosius
- Moderator

- Posts: 8096
- Joined: 13. Dec 2004, 23:10
- Location: Adendorf/Lüneburg
Re: Textausgabe für User
Und das /S3 ist auch in den Paketeigenschaften es Depots und nicht nur in der setup.inf eingetragen?
Dann bitte mal das Script posten zum Testen.
Dann bitte mal das Script posten zum Testen.
Hendrik Ambrosius / Senior Presales Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com
Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com
Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.
-
Khal_Simon
- Posts: 84
- Joined: 16. Jul 2013, 12:46
- Contact:
Re: Textausgabe für User
Ist auch im Empirum gesetzt, ja
Hier mein Paket. Das Paket soll nur eine .exe aufrufen und wenn diese nicht vorhanden ist, da das Programm nicht installiert ist, dem user bescheid geben dass er es installieren soll:
Hier mein Paket. Das Paket soll nur eine .exe aufrufen und wenn diese nicht vorhanden ist, da das Programm nicht installiert ist, dem user bescheid geben dass er es installieren soll:
Code: Select all
[SetupInfo]
Author = ***
CreationDate = 08.02.2012 08:49:00
InventoryID =
Description = Microchip MPLAB X IDE - Driver Switcher, version 1.01
Method = Unattended
Tested on = XP Pro SP3 Ger
Dependencies = none
Command line options = /S3
Last Change = 28.04.2014 13:53:00
Build = 0
[VarDefInfo]
; <Variable>, <Type: 0=Computer 1=User>, <Allow NULL values: 0=No 1=Yes>
[Setup]
Version=10.5
ShowCaption=1
BlockInput=0
Platform=*
[Requirements]
[Application]
ProductName=MPLAB X IDE - Driver Switcher
DeveloperName=Microchip
Version=1.01
Revision=0
SetupName=%ProductName% %Version% %SetupWizard%
Text1="%ProductName% %Version%", Arial, 30, , FFFFFF, 4, , LEFT BOLD ITALIC
Text2="%DeveloperName%", Arial, 24, , FFFFFF, 4, , LEFT BOLD ITALIC
;Text8="%Company%", Arial, 18, , FFFFFF, 4, 10, RIGHT BOLD ITALIC
Text9="%InstallationFor% %WindowsUser%", Arial, 16, , FFFFFF, 4, -18, BOTTOM ITALIC LEFT
BackgroundColor=959ca2
Logo="\\%EmpirumServer%\configurator$\User\logo.bmp", -1%, -1%
CopyDialogRect=0%, 0%, 100%, 100%, HCENTER VCENTER
; Save all registry keys to a secure location
UserKeyName=EmpInst\%DeveloperName%\%ProductName%
; Save all registry keys to a secure location
MachineKeyName=EmpInst\%DeveloperName%\%ProductName%\%Version%
UninstallKeyName=%DeveloperName% %ProductName% %Version%
UninstallDisplayName=%ProductName% %Version%
UninstallString=%ReinstallString% /U
; iconpath for icon displayed in add/remove programs; because of this we have to use always the same filename: icon.ico
UninstallDisplayIcon="%SystemDrive%\EmpInst\%DeveloperName%\%ProductName%\%Version%\%SetupInfDir%\icon.ico",0
ReinstallString="%CommonSetupDir%\Setup.exe" "%App%\%SetupInfDir%\Setup.inf"
ReinstallMode=1
SrcDir=..
; Save all Setup.inf files to a secure location
; ApplicationDir=%ProgramFilesDir%\%ProductName%
ApplicationDir=%SystemDrive%\EmpInst\%DeveloperName%\%ProductName%\%Version%
SetupInfDir=Install
AskUninstallOld=1
ShellLinks=1
; All icons have to be created in the AllUsers Profile
CommonShellLinks=1
CreateUnresolvableShellLinks=1
UseStringSection=Strings:09
UseSysStringSection=SysStrings:09
DateWarning=1
SizeWarning=1
; We always suppress any reboots.
; Reboot=0
Reboot=2
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 für:
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
[SysStrings:09]
Users=Users
[Environment]
; Use three different logfiles for install, uninstall, repair.
UAInstLogFile=%SystemDrive%\EmpInst\SetupLog\UA_%DeveloperName%.%ProductName%.%Version%.%Revision%.Inst.log
UARepairLogFile=%SystemDrive%\EmpInst\SetupLog\UA_%DeveloperName%.%ProductName%.%Version%.%Revision%.Repair.log
UAUninstLogFile=%SystemDrive%\EmpInst\SetupLog\UA_%DeveloperName%.%ProductName%.%Version%.%Revision%.Uninst.log
; Create variable for logfile directory.
SetupLogDir=%SystemDrive%\EmpInst\SetupLog
; Central directory for cached files.
SetupCacheDir=%SystemDrive%\EmpInst\SetupCache
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>%%
[Encryption]
[Disks]
1=%Disk1%
[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\SetupDeu.chm, %CommonSetupDir%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP, 0
1:..\..\..\..\User\SetupEnu.chm, %CommonSetupDir%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP, 0
1:..\..\..\..\User\Mx42SynSem.dll, %System%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP WINDOWS32, 0
1:..\..\..\..\User\x64\Mx42SynSem.dll, %System%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP WINDOWS64, 0
; icon has to be copied, so that we can use ist for UninstallDisplayIcon
1:%SetupInfDir%\icon.ico , , NORMAL, 0
1:%SetupInfDir%\Setup.inf, , NORMAL, 0
1:%Temp%\Setup64.exe, %CommonSetupDir%\Setup.exe, OPTIONAL NOSIZEWARNING SETUP ALWAYS WINDOWS64, 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 Values$\MachineValues\%DomainName%\%ComputerName%.ini or Values$\UserValues\%UserDomain%\%WindowsUser%.ini not found!
Abort
[Product]
;#FileCheckMachine, MACHINE
;#FileCheckClient, CLIENT
;ReplaceEnv <Variable>
; Call PrepareInstall section before installation
#Set:PrepareInstall, DONTDELETE
#Set:Product
#Set:Deinstallation, DELETE
#Reg:OnUninstallProduct, DELETE
#Reg:Product
#Ini:Product
#Security:Product
; Call PrepareUninstall section before uninstallation
#Set:PrepareUninstall, DELETE
; We prepare the installation of the product here.
[Set:PrepareInstall]
; Fill variables.
#Set:Vars
; Fill configuration file with license information before installation.
#Set:License
; Create log file path only, if path does not exist
If DoesPathExist ("%SetupLogDir%") == "0" then "Set:CreateLogDirectory" Endif
; Create central cache directory if it does not exist.
If DoesPathExist ("%SetupCacheDir%") == "0" then "Set:CreateCacheDirectory" Endif
; We prepare the uninstallation of the product here.
[Set:PrepareUninstall]
; Fill variables.
#Set:Vars
; Create log file path only, if path does not exist
If DoesPathExist ("%SetupLogDir%") == "0" then "Set:CreateLogDirectory" Endif
; Create central cache directory if it does not exist.
If DoesPathExist ("%SetupCacheDir%") == "0" then "Set:CreateCacheDirectory" Endif
[Set:Vars]
If %PROCESSOR_ARCHITECTURE% == "AMD64" Then "Setx64" Else "Setx86" EndIf
[Setx64]
Set ARCHITECTURE=\x64
Set SYSTEMDIR=SysWOW64
Set X64REGISTRY=\WOW6432Node
[Setx86]
Set ARCHITECTURE=
Set SYSTEMDIR=System32
Set X64REGISTRY=
; Fill Install.iss file with license information, if we have a installshield setup. Might also be used for non InstallShield installers.
[Set:License]
;ReplaceTextFile ("%temp%\MPLAB X IDEInstall.iss","#Anwendung_Lic_Srv#","%__Var_Name%",0)
[Set:CreateLogDirectory]
MkDir "%SystemDrive%\EmpInst\SetupLog"
-MkDir "%SystemDrive%\EmpInst\SetupLog"
[Set:CreateCacheDirectory]
; Central directory for file cache. Some files might still have to be copied to %SystemDrive% directly.
MkDir "%SystemDrive%\EmpInst\SetupCache"
-MkDir "%SystemDrive%\EmpInst\SetupCache"
[Set:Product]
; We will check for the primary binary of the program. If it is installed, then we will deinstall the program and install it again.
If DoesFileExist ("%ProgramFilesDirx86%\Microchip\MPLABX\Switcher\%WindowsBits%Bit\MPDDSwitch%WindowsBits%.exe") == "1" Then "Set:Installation" Else "Set:NoMPLAB" EndIf
[SET:Installation]
"%ProgramFilesDirx86%\Microchip\MPLABX\Switcher\%WindowsBits%Bit\MPDDSwitch%WindowsBits%.exe"
[SET:NoMPLAB]
ErrorLogMsg This PC doesn't have MPLAB X installed. Please install MPLAB X, then try again. %ErrorLogMessage% ErrorLevel: %ErrorLevel%
Echo "This PC doesnt have MPLAB X installed. Please install MPLAB X then try again."
[Reg:OnUninstallProduct]
[Reg:Product]
; User specific keys will not be recreated during ReInstall!
[Ini:Product]
[Security:Product]
;FileDaclEx.Add ("%App%", "%$Everyone%", GRANT, ALL, SUB_CONTAINERS_AND_OBJECTS_INHERIT)
[Shell:Product]
;%CommonDesktop%\"%ProductName% %Version%.lnk", "%App%\<ExeName.exe>", <Argumente>, %temp%, , , ,3
[SET:CleanUp]
#SET:CleanUpLogFiles
#SET:CleanUpAllUsersLinks
#SET:CleanUpDirectories
[SET:CleanUpLogFiles]
; Delete Unattended log files after we ran the deinstallation of the product.
Del "%UARepairLogFile%"
Del "%UAInstLogFile%"
Del "%UAUninstLogFile%"
-Del "%UAUninstLogFile%"
-Del "%UAInstLogFile%"
-Del "%UARepairLogFile%"
[SET:CleanUpAllUsersLinks]
; Delete desktop icons and start menue entires. Works during install and deinstall.
;Del "%CommonDesktop%\NameOfApplication"
;Deltree "%CommonDesktop%\NameOfApplicationFolder"
;Del "%CommonPrograms%\NameOfApplication"
;Deltree "%CommonPrograms%\NameOfApplicationFolder"
;-Deltree "%CommonPrograms%\NameOfApplicationFolder"
;-Del "%CommonPrograms%\NameOfApplication"
;-Deltree "%CommonDesktop%\NameOfApplicationFolder"
;-Del "%CommonDesktop%\NameOfApplication"
[SET:CleanUpUserLinks]
; Delete icons and start menue entries if installer creates user specific links.
;Del "%UserDesktop%\NameOfApplication"
;Deltree "%UserDesktop%\NameOfApplicationFolder"
;Del "%UserPrograms%\NameOfApplication"
;Deltree "%UserPrograms%\NameOfApplicationFolder\"
;-Deltree "%UserPrograms%\NameOfApplicationFolder\"
;-Del "%UserPrograms%\NameOfApplication"
;-Deltree "%UserDesktop%\NameOfApplicationFolder"
;-Del "%UserDesktop%\NameOfApplication"
[SET:CleanUpDeinstallLinks]
; Delete all uninstall links in startmenu.
;Del "%CommonPrograms%\Microchip\MPLAB X IDE\Uninstall MPLAB X IDE v1.00.lnk"
;-Del "%CommonPrograms%\Microchip\MPLAB X IDE\Uninstall MPLAB X IDE v1.00.lnk"
[SET:CleanUpDirectories]
; Delete install folder of program. Might not be deleted. Open file problem!
;Deltree "%ProgramFiles%\NameOfApplication"
;Deltree "C:\Programme\NameOfApplication"
;-Deltree "C:\Programme\NameOfApplication"
;-Deltree "%ProgramFiles%\NameOfApplication"
[SET:CleanUpCache]
; Delete cache directory.
;Deltree "%SetupCacheDir%\%DeveloperName%\%ProductName%\%Version%"
;-Deltree "%SetupCacheDir%\%DeveloperName%\%ProductName%\%Version%"
[SET:FillCache]
; Copy all files to local harddrive. Will be needed for certain installers.
;1:Installer.exe,%SetupCacheDir%\%DeveloperName%\%ProductName%\%Version%,NOSIZEWARNING ALWAYS,0
;copy "%SRC%\Installer.exe" "%SetupCacheDir%\%DeveloperName%\%ProductName%\%Version%\Installer.exe"
;-copy "%SRC%\Installer.exe" "%SetupCacheDir%\%DeveloperName%\%ProductName%\%Version%\Installer.exe"
[SET:FillCache]
#SET:FillCacheInstall, DONTDELETE
#SET:FillCacheUninstall, DELETE
[SET:FillCacheInstall]
;1:Installer.exe,%SetupCacheDir%\%DeveloperName%\%ProductName%\%Version%,NOSIZEWARNING ALWAYS,0
;copy "%SRC%\Installer.exe" "%SetupCacheDir%\%DeveloperName%\%ProductName%\%Version%\Installer.exe"
[SET:FillCacheUninstall]
;-1:Installer.exe,%SetupCacheDir%\%DeveloperName%\%ProductName%\%Version%,NOSIZEWARNING ALWAYS,0
;-copy "%SRC%\Installer.exe" "%SetupCacheDir%\%DeveloperName%\%ProductName%\%Version%\Installer.exe"
[SET:KillProcesses]
;KillProcess "NameOfApplicationProcess"
;AskKillProcesses 60, Notepad, Calc, Paint, Word
;-AskKillProcesses 60, Notepad, Calc, Paint, Word
;-KillProcess "NameOfApplicationProcess"
[Processes]
;Notepad=* - Editor, Windows Notepad, QUERYCLOSEWINDOW CONTINUE
;Calc=calc.exe, Windows Calculator, KILLPROCESS CONTINUE
;Paint=* - Paint, Windows Paint, CLOSEWINDOW CONTINUE
;Word=* - Microsoft Word, Microsoft Word, DESTROYWINDOW ABORT
[SET:InstallationError]
ErrorLogMsg %ErrorText% %ErrorLevel% %CallingText% InstallationError
Abort
[SET:DeInstallationError]
-Abort
-ErrorLogMsg %ErrorText% %ErrorLevel% %CallingText% DeInstallationError
[SET:DeInstallationError2]
-Abort
-ErrorLogMsg %ErrorText% %ErrorLevel% %CallingText% DeInstallationError2
[SET:RepairError]
ErrorLogMsg %ErrorText% %ErrorLevel% %CallingText% RepairError
Abort
[SET:Repair2InstallError]
ErrorLogMsg %ErrorText% %ErrorLevel% %CallingText% Repair2InstallError
Abort
[SET:Repair2DeInstallError]
ErrorLogMsg %ErrorText% %ErrorLevel% %CallingText% Repair2DeInstallError
Abort
-
Hendrik_Ambrosius
- Moderator

- Posts: 8096
- Joined: 13. Dec 2004, 23:10
- Location: Adendorf/Lüneburg
Re: Textausgabe für User
Bei mir kommt die Info-Box dass das Produkt nicht installiert ist.
Starten Sie einfach mal auf einem Testclient die setup.inf per setup.exe, also setup.exe von configurator$\user in das INSTALL Verzeichnis kopieren und starten. Kommt die dann?
Wenn ja bräuchte ich mal Ihre swdepot.dds aus configurator$\user.
Starten Sie einfach mal auf einem Testclient die setup.inf per setup.exe, also setup.exe von configurator$\user in das INSTALL Verzeichnis kopieren und starten. Kommt die dann?
Wenn ja bräuchte ich mal Ihre swdepot.dds aus configurator$\user.
Hendrik Ambrosius / Senior Presales Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com
Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com
Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.
-
Khal_Simon
- Posts: 84
- Joined: 16. Jul 2013, 12:46
- Contact:
Re: Textausgabe für User
Hab ich gemacht, und die Echo-Meldung kommtHendrik_Ambrosius wrote:Starten Sie einfach mal auf einem Testclient die setup.inf per setup.exe, also setup.exe von configurator$\user in das INSTALL Verzeichnis kopieren und starten. Kommt die dann?
Die swdepot.dds ist ziemlich groß, welche Infos daraus benötigen Sie denn? Ich möchte sie ungern hier vollständig posten, da sie scheinbar relativ viele Infos über unsere Konfiguration enthält
Edit: Gerade hab ich es nochmal aus dem SoftwareDepot getestet, jedoch von einer Win7 x86 Maschine, da kommt die Meldung. Scheint also ein Problem mit der 64bit Version zu sein. Muss nochmal den obigen Test mit der Setup.exe auf einer 64bit Maschine nachholen, da der auch auf 32bit erfolgt ist
Edit: Jetzt bin ich vollends verwirrt, da es jetzt plötzlich auf allen Test-Maschinen funktioniert. Hab aber an der setup.inf oder am Paket nix verändert
Who is online
Users browsing this forum: No registered users and 5 guests

