Hinweisfenster für User

Post Reply
Langer
Posts: 84
Joined: 05. Dec 2006, 08:22
Location: Frankfurt
Contact:

Hinweisfenster für User

Post by Langer » 26. Aug 2022, 07:22

Guten Morgen zusammen,

wir testen gerade die Möglichkeiten, Usern vor oder während einer Softwareinstallation bestimmte Hinweise zu geben.

Dazu hatte ich einmal ein Testpaket erstellt, in dem sämtliche in Empirum vorhandenen Befehle ausprobiert werden sollten.

Anbei ein Auszug aus der setup.inf:

[Application]
Prompts=Test

[Set:Product]
Set Test=Super

SplashDialogText "Bitte beachten Sie folgende Hinweise:",Arial,20,DONTCARE,00FFFF,4,0,BOLD LEFT UNDERLINE
SplashDialogOn 11%,11%,10%,10%
Sleep 5000

Echo Juhu, alles fertig!
Sleep 5000

Prompt Test
Sleep 5000

Echo %Test%
Sleep 5000


Es funktioniert gar nichts (außer der Sleep-Befehl :lol: )! Das Paket läuft erfolgreich durch, aber es wird überhaupt nichts angezeigt (kein Fenster, keine Abfrage, kein Pop-Up, keine Ausgabe).

Was habe ich falsch gemacht???
Danke schon mal im Voraus.

Gruß
Klaus
Stadt Frankfurt am Main (Amt 51)

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 7967
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Re: Hinweisfenster für User

Post by Hendrik_Ambrosius » 26. Aug 2022, 11:36

Welchen /S-Parameter verwenden Sie?

https://helpfiles.matrix42-web.de/2021_ ... 0parameter

"Prompts werden bei Level 2 und 3 angezeigt, nicht jedoch bei Level 0 und 1. Level 4 wird verwendet, um Anwender möglichst wenig zu stören aber trotzdem Prompts und Dialoge zum Beenden von Anwendungen/Prozessen zu zeigen."
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.

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 7967
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Re: Hinweisfenster für User

Post by Hendrik_Ambrosius » 26. Aug 2022, 11:41

Außerdem sieht mir die PROMPT Abfrage nicht korrekt aus. Hier mal ein Beispiel:


[Prompts]
Start=&Titel, N,"Type Y or N",1,UPPERCASE

[SET:Product]
prompt start
echo start
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.

Langer
Posts: 84
Joined: 05. Dec 2006, 08:22
Location: Frankfurt
Contact:

Re: Hinweisfenster für User

Post by Langer » 26. Aug 2022, 13:15

Wir hatten /S2 verwendet.

Ihr Hinweis bezüglich prompt hat geholfen. Vielen Dank dafür! Ich hatte übersehen, dass es ja einen eigenen Abschnitt [Prompts] dafür gibt.

Wenn Sie vielleicht noch ein Tipp haben, warum ein simples

Echo Fertig!

bei uns nicht funktioniert ... dann könnte ich entspannt ins Wochenende gehen :D
Stadt Frankfurt am Main (Amt 51)

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 7967
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Re: Hinweisfenster für User

Post by Hendrik_Ambrosius » 26. Aug 2022, 14:19

Dann kann es an dem globalen SIlent-Switch des UEM Agents liegen:

"How to use the global silent switch
To ensure more standardized installations and minimize disruptions for the end user, there is the option to set a global “silent” key in the registry, which ensures that all packages installed via the software kiosk use the same mode. Ideally, this should be the “0” (/S0) mode. Progress is displayed to the user in the kiosk in larger increments.
With Empirum 17.0 Update 2 the Setup.exe will know the new value /S4. This suppresses all output except for process queries and prompts (user input).

Current restrictions:
Mode “0” and “1” does not work for packages where an user entry is required.
[HKEY_LOCAL_MACHINE\SOFTWARE\Matrix42\Agent]
"GlobalSilentLevel"=dword:00000004
In this example, all installations are set to “/S4”."

Siehe https://help.matrix42.com/010_SUEM/020_ ... leshooting

Also hier mal Level 3 versuchen. So ging es bei mir. Am Paket auch /S3 setzen.
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.

Langer
Posts: 84
Joined: 05. Dec 2006, 08:22
Location: Frankfurt
Contact:

Re: Hinweisfenster für User

Post by Langer » 26. Aug 2022, 14:52

War es leider nicht.

Eine Verständnisfrage: Was bewirkt echo? Geht dann eine MessageBox (analog dem DOS msg-Befehl) auf?
Stadt Frankfurt am Main (Amt 51)

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 7967
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Re: Hinweisfenster für User

Post by Hendrik_Ambrosius » 29. Aug 2022, 09:03

Haben Sie sowohl den Registry Key angepasst als auch den Parameter am Paket? Beides 3 bzw. /S3?
Am besten auch den ProductKey auf dem PC löschen in der Registry oder einen neuen Rechner nehmen auf dem das Paket noch nie installiert wurde.

ECHO öffnet eine einfache Dialogbox mit OK.
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.

Langer
Posts: 84
Joined: 05. Dec 2006, 08:22
Location: Frankfurt
Contact:

Re: Hinweisfenster für User

Post by Langer » 29. Aug 2022, 10:21

So, hat jetzt alles funktioniert.

Vielen Dank, für Ihre Hilfe!
Stadt Frankfurt am Main (Amt 51)

Post Reply

Return to “Paketierung”

Who is online

Users browsing this forum: No registered users and 3 guests