Google Chrome Portable Updater; AutoIT Kenntnisse gesucht

Egal ob Linux, Mac oder Windows. Hier passen alle Fragen rein.
Antworten
Benutzeravatar
Holgi
Elite
Elite
Beiträge: 2113
Registriert: 12.05.2018, 12:33
Hat sich bedankt: 207 Mal
Danke erhalten: 273 Mal
Gender:

Re: Google Chrome Portable Updater; AutoIT Kenntnisse gesucht

Beitrag von Holgi » 08.04.2019, 12:59

Hallo Ben,
ich habe die "Portable Chrome Updater mit Version_OrdnerStruckt_2" jetzt auch mal unter Windows 7 Ultimate SP1 Deutsch X64 getestet (X86 und X64 separat) und beide laufen genausogut wie unter Windows 10. :)
Eine Sache ist mir aufgefallen:
unter AppData>Local>Google>Chrome>User Data> wird ein Ordner "Crashpad" erzeugt, der aber zumindest inhaltslos ist.
LG
Holgi
PDF24 angepasste Installation (nur PDF Druckertreiber) per Script: viewtopic.php?t=30284
Winget (Desktop App Installer) für Windows Versionen ohne Store installieren (HowTo): viewtopic.php?t=26214
Vorstellung: tiny11builder; Script zur Verschlankung von Windows 11: viewtopic.php?t=30134
Windows StartMenü Empfohlen (Recommended Section) komplett ausblenden: viewtopic.php?t=30574
Hyper-V VM per Script erstellen viewtopic.php?t=25114

Tante Google

Re: Google Chrome Portable Updater; AutoIT Kenntnisse gesucht

Beitrag von Tante Google » 08.04.2019, 12:59


Benutzeravatar
Ben
★ Team Blog ★
Beiträge: 1004
Registriert: 28.12.2017, 15:19
Hat sich bedankt: 42 Mal
Danke erhalten: 73 Mal
Gender:

Re: Google Chrome Portable Updater; AutoIT Kenntnisse gesucht

Beitrag von Ben » 08.05.2019, 13:20

Hallo moinmoin

Ich habe aus lauter langeweile :gähn: nochmal am Portable Chrome Updater gebastelt. :oops:
Aber das war jetzt hoffenlich die letzte Version davon, denn jetzt ist es für meine geringen Ansprüche soweit Perfekt.Und Mittler weile kann ich die Versionen nicht mehr zählen, es sind Intern bestimmt schon über 1000 Stück. :hihi:
Es werden jetzt wenn man mit der Maus über die Buttons fährt auch die installierte Version in einer Infobox angezeigt.
Auch habe ich an der Verknüpfungs Erstellung gearbeitet wenn noch keine Verknüpfung existiert wird gefragt ob man eine Erstellen will oder nicht. Man kann dann zwischen Desktop oder dem Script Ordner wählen.
Vorher kann auch noch ausgewählt werden ob ein Portables Profil für Alle Versionen benutzt werden soll oder für jedes ein eigenes Profil, oder wenn nichts von beiden gewählt ist wird die Verknüpfung mit dem Standard Lokalem Profil von Google im User Verzeichniss erstellt.

Auch habe ich die 7za.exe in der Version 4.65 gegen die 7zr.exe in der Version 19.00 ersetzt.
Updater Versionsanzeige.jpg
Updater Link Info 1.jpg
Updater Link Info 2.jpg
Updater Link Auswahl.jpg
In Englisch
Updater Link Auswahl Englisch.jpg
Gruß, Ben
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.

Benutzeravatar
moinmoin
★ Team Admin ★
Beiträge: 59670
Registriert: 14.11.2003, 11:12
Hat sich bedankt: 127 Mal
Danke erhalten: 554 Mal
Gender:

Re: Google Chrome Portable Updater; AutoIT Kenntnisse gesucht

Beitrag von moinmoin » 08.05.2019, 14:36

Aber das war jetzt hoffenlich die letzte Version davon
Glaubst du wirklich? :lol:

Benutzeravatar
Ben
★ Team Blog ★
Beiträge: 1004
Registriert: 28.12.2017, 15:19
Hat sich bedankt: 42 Mal
Danke erhalten: 73 Mal
Gender:

Re: Google Chrome Portable Updater; AutoIT Kenntnisse gesucht

Beitrag von Ben » 08.05.2019, 15:45

:smile: :smile: :smile:

Natasha_R
Beobachter
Beobachter
Beiträge: 4
Registriert: 26.04.2020, 10:44
Gender:

Re: Google Chrome Portable Updater; AutoIT Kenntnisse gesucht

Beitrag von Natasha_R » 26.04.2020, 11:42

Hi! I apologize for my English - it's machine translation.

Ben, thank you very much for your Chrome Portable Update program! It is much more convenient than the PortableApps format.

But there is one problem - it is impossible to launch the launcher with the parameters for selecting the loaded profile from the main profile folder via the launcher shortcut, if there are several of them:

Chrome Launcher.exe --profile-directory="Default"
Chrome Launcher.exe --profile-directory="Profile 1"
Chrome Launcher.exe --profile-directory="Profile 2" etc..
(not --user-data-dir=)

and it’s also impossible to specify, for example, the opening URL in the shortcut:

Chrome Launcher.exe --profile-directory="Profile 5" --app="https://site.com/blabla"

In the PortableApps version, this works with the launcher.

Can this feature be added to your program? No way without it.. It is not possible to add such parameters to the Profile.txt file.

And it would also be nice to add a check for a running instance of this Chrome before updating, otherwise an error occurred during the update.

I can help with a translation into Russian, if possible.

Thank you again, Ben!

Benutzeravatar
Ben
★ Team Blog ★
Beiträge: 1004
Registriert: 28.12.2017, 15:19
Hat sich bedankt: 42 Mal
Danke erhalten: 73 Mal
Gender:

Re: Google Chrome Portable Updater; AutoIT Kenntnisse gesucht

Beitrag von Ben » 26.04.2020, 14:50

I have to see how I can implement this, because I am not a professional programmer.
At the moment it is not planned to translate the program into other languages.

Benutzeravatar
Ben
★ Team Blog ★
Beiträge: 1004
Registriert: 28.12.2017, 15:19
Hat sich bedankt: 42 Mal
Danke erhalten: 73 Mal
Gender:

Re: Google Chrome Portable Updater; AutoIT Kenntnisse gesucht

Beitrag von Ben » 27.04.2020, 11:24

Ok I have decided to translate the program into other languages if it is requested.
This is what I have translated with the help of Google translator and deepl.com into Russian. I hope it is correct so far.

Code: Alles auswählen

///Text for the Launchers
"Use the standard profile of Google Chrome"  =  "Используйте стандартный профиль Google Chrome"
"Use a separate profile for each version"  =  "Используйте отдельный профиль для каждой версии"
"Use one profile for all versions"  =  "Используйте один профиль для всех версий"
"Chrome is not installed"  =  "Хром не установлен"

///Text for the Updater
"Quit"  =  "Уволиться"
"Install all"  =  "Установить все"
"Update all"  =  "Обновить все"
"Install all x86 and or x64"  =  "Установите все x86 и или x64"
"Create a shortcut on the desktop"  =  "Создать ярлык на рабочем столе"
"Create a Folder for each version"  =  "Создать папку для каждой версии"
"Ignore version check"  =  "Игнорировать проверку версии"
"Unpacking"  =  "Распаковка"
"Unpacked"  =  "Распакованный"
"Please close the running Google Chrome browser before updating the browser."  =  "Пожалуйста, закройте работающий браузер Google Chrome перед обновлением браузера."
"The same version is already installed"  =  "Та же версия уже установлена"

///Messages if a new version is available for the Updater
"A new version is available"  =  "Доступна новая версия"
"No"  =  "нет"
"Yes"  =  "Да"
"Update now"  =  "Обновить сейчас"
In the next version of the launcher there will be the possibility to use commandline options.
This will then work in with the shortcut and in the command prompt.

Code: Alles auswählen

Chrome Launcher.exe --profile-directory="Profile 1" --app="https://deskmodder.de"
The updater will also give a warning if the Google Chrome browser is still running.

Thanks for the suggestions to improve the program.
It needs some Time to do this, but i will do this.

Best regards
Ben

Natasha_R
Beobachter
Beobachter
Beiträge: 4
Registriert: 26.04.2020, 10:44
Gender:

Re: Google Chrome Portable Updater; AutoIT Kenntnisse gesucht

Beitrag von Natasha_R » 28.04.2020, 17:51

Ben hat geschrieben: 27.04.2020, 11:24 Ok I have decided to...
Ben, so much thank You!!!

Here's a slightly edited Russian translation:

Code: Alles auswählen


///Text for the Launchers
"Use the standard profile of Google Chrome"  =  "Использовать стандартное месторасположение профиля (readme)"
"Use a separate profile for each version"  =  "Использовать разные папки для профилей разных версий"
"Use one profile for all versions"  =  "Использовать один профиль для всех версий"
"Chrome is not installed"  =  "Google Chrome Portable не найден"

///Text for the Updater
"Quit"  =  "Выход"
"Install all"  =  "Установить все"
"Update all"  =  "Обновить все"
"Install all x86 and or x64"  =  "Установить все версии x86 и/или x64"
"Create a shortcut on the desktop"  =  "Создать ярлык на рабочем столе"
"Create a Folder for each version"  =  "Разные версии в отдельных папках"
"Ignore version check"  =  "Игнорировать проверку версии"
"Unpacking"  =  "Распаковка"
"Unpacked"  =  "Распакованный"
"Please close the running Google Chrome browser before updating the browser."  =  "Необходимо закрыть Google Chrome перед обновлением."
"The same version is already installed"  =  "Данная версия уже установлена"

///Messages if a new version is available for the Updater
"A new version is available"  =  "Доступна новая версия"
"No"  =  "Нет"
"Yes"  =  "Да"
"Update now"  =  "ОБНОВИТЬ"


Benutzeravatar
Ben
★ Team Blog ★
Beiträge: 1004
Registriert: 28.12.2017, 15:19
Hat sich bedankt: 42 Mal
Danke erhalten: 73 Mal
Gender:

Re: Google Chrome Portable Updater; AutoIT Kenntnisse gesucht

Beitrag von Ben » 28.04.2020, 19:13

Thank you very much Natasha.
The Update v1.2.5.1 is now Online on Github

Best regards
Ben

Natasha_R
Beobachter
Beobachter
Beiträge: 4
Registriert: 26.04.2020, 10:44
Gender:

Re: Google Chrome Portable Updater; AutoIT Kenntnisse gesucht

Beitrag von Natasha_R » 28.04.2020, 19:52

Ben hat geschrieben: 28.04.2020, 19:13 The Update v1.2.5.1 is now Online
Ben, I admire you! Thank You! Thank You! Thank You!

Now this is the best program for creating Chrome Portable.

I have never met the function like "Set Google Chrome Portable as a default browser", although parameters for adding to the Windows registry have long been known to make Google Chrome portable as default browser in the operation system. Here:

Code: Alles auswählen

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications]
"Chrome Portable"="Software\\Clients\\StartMenuInternet\\ChromePortable\\Capabilities"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\GoogleChromePortable\Capabilities]
"ApplicationName"="Google Chrome Portable"
"ApplicationDescription"="Portable version Google Chrome."
"ApplicationIcon"="\"D:\\PortableApps\\ChromePortable\\Chrome Launcher.exe\",0"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\GoogleChromePortable\Capabilities\FileAssociations]
".htm"="GoogleChromePortableHTML"
".html"="GoogleChromePortableHTML"
".shtml"="GoogleChromePortableHTML"
".xht"="GoogleChromePortableHTML"
".xhtml"="GoogleChromePortableHTML"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\GoogleChromePortable\Capabilities\StartMenu]
"StartMenuInternet"="GoogleChromePortable"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\GoogleChromePortable\Capabilities\URLAssociations]
"http"="GoogleChromePortableURL"
"https"="GoogleChromePortableURL"
"ftp"="GoogleChromePortableURL"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\GoogleChromePortable]
"LocalizedString"="Google Chrome Portable"
""="Google Chrome Portable"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\GoogleChromePortable\DefaultIcon]
""="\"D:\\PortableApps\\ChromePortable\\Chrome Launcher.exe\",0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\GoogleChromePortable\shell\open\command]
""="\"D:\\PortableApps\\ChromePortable\\Chrome Launcher.exe\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\GoogleChromePortable\shell\properties\command]
""="\"D:\\PortableApps\\ChromePortable\\Chrome Launcher.exe\" -preferences"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\GoogleChromePortableURL]
""="Google Chrome Portable URL"
"URL Protocol"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\GoogleChromePortableURL\DefaultIcon]
""="\"D:\\PortableApps\\ChromePortable\\Chrome Launcher.exe\",0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\GoogleChromePortableURL\shell\open\command]
""="\"D:\\PortableApps\\ChromePortable\\Chrome Launcher.exe\" -url \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\GoogleChromePortableHTML]
""="Google Chrome HTML"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\GoogleChromePortableHTML\DefaultIcon]
""="\"D:\\PortableApps\\ChromePortable\\Chrome Launcher.exe\",0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\GoogleChromePortableHTML\shell\open\command]
""="\"D:\\PortableApps\\ChromePortable\\Chrome Launcher.exe\" -url \"%1\""
2020-04-28_202125.jpg
Maybe you will add to your program the function of adding these parameters to the registry of current path Google Chrome Portable at the click of a button (and also removing it from the registry if necessary), in order not to manually fix the path to the desired portable version in the registry file? To make it convenient, as in the picture. I think it will be incredibly cool. In this case, it will be possible not to use the standard browser for security reasons (many programs that open the stored passwords of the standard browser in an instant). With a portable browser for such programs, everything is much more complicated..what do you think about it?
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.

Benutzeravatar
Ben
★ Team Blog ★
Beiträge: 1004
Registriert: 28.12.2017, 15:19
Hat sich bedankt: 42 Mal
Danke erhalten: 73 Mal
Gender:

Re: Google Chrome Portable Updater; AutoIT Kenntnisse gesucht

Beitrag von Ben » 28.04.2020, 20:43

I will see how I can integrate it in the future. It's definitely noted on my pinboard right now.

Natasha_R
Beobachter
Beobachter
Beiträge: 4
Registriert: 26.04.2020, 10:44
Gender:

Re: Google Chrome Portable Updater; AutoIT Kenntnisse gesucht

Beitrag von Natasha_R » 29.04.2020, 11:08

Ben, how does the function to update the updater work? I downloaded v1.2.0.0 for check this function, but the version has not been updated to the latest ..

Benutzeravatar
Ben
★ Team Blog ★
Beiträge: 1004
Registriert: 28.12.2017, 15:19
Hat sich bedankt: 42 Mal
Danke erhalten: 73 Mal
Gender:

Re: Google Chrome Portable Updater; AutoIT Kenntnisse gesucht

Beitrag von Ben » 29.04.2020, 13:58

Thanks for the hint that the update function for the updater did not work. Unfortunately I didn't notice that so far because it worked on my German Windows, but I just checked on an English Windows to see if it works there. But it did not work there.
Because I chosed the wrong conversion format to compare if the version number on Github is higher than that of the updater.
In future releases it should be displayed like this.
Updater.JPG
The bugfixed version v1.2.5.2 is now on Github

Best regards
Ben
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.

Benutzeravatar
Holgi
Elite
Elite
Beiträge: 2113
Registriert: 12.05.2018, 12:33
Hat sich bedankt: 207 Mal
Danke erhalten: 273 Mal
Gender:

Re: Google Chrome Portable Updater; AutoIT Kenntnisse gesucht

Beitrag von Holgi » 29.04.2020, 17:21

mal wieder super tolle Ideen implementiert!! :dankeschoen:

Dazu mal ein paar Fragen:

werden die "alten" Updater (egal ob Firefox, Edge, Thunderbird etc.) auch die neuen Funktionen des Google Chrome Updaters bekommen? z.B. den Launcher gleich mit CommandLine Switch (in der Art Chrome Launcher.exe --profile-directory="Profile 1" --app="https://deskmodder.de") zu starten?

Irgendwann hatte ich mal festgestellt, dass einer meiner Browser Updater sich selbst aktualisert hatte.
Jetzt aktualisiert sich der Chrome Updater 1.1.5.0 aber nicht auf 1.2.X.X > ist das so beabsichtigt?

Zurück zum CommandLine Switch:
habe ich natürlich gleich ausprobiert und einen Switch so gesetzt:
"Chrome Stable x86 Launcher.exe" --profile-directory="Profil" --app="https://google.com"
Beide Versionen X86/X64 sind installiert. > Ein Profil für alle Versionen eingestellt.
Es wird dann aber ein Profilordner "Profile" im Verzeichnis "Portable.Chrome.Updater.v1.2.5.2" und da wiederum drin ein Ordner "Profil" angelegt. Also doppelt gemoppelt.
Hatte eigentlich damit gerechnet, dass nur der Ordner "Profil" im Verzeichnis "Portable.Chrome.Updater.v1.2.5.2" angelegt wird.
PDF24 angepasste Installation (nur PDF Druckertreiber) per Script: viewtopic.php?t=30284
Winget (Desktop App Installer) für Windows Versionen ohne Store installieren (HowTo): viewtopic.php?t=26214
Vorstellung: tiny11builder; Script zur Verschlankung von Windows 11: viewtopic.php?t=30134
Windows StartMenü Empfohlen (Recommended Section) komplett ausblenden: viewtopic.php?t=30574
Hyper-V VM per Script erstellen viewtopic.php?t=25114

Benutzeravatar
Ben
★ Team Blog ★
Beiträge: 1004
Registriert: 28.12.2017, 15:19
Hat sich bedankt: 42 Mal
Danke erhalten: 73 Mal
Gender:

Re: Google Chrome Portable Updater; AutoIT Kenntnisse gesucht

Beitrag von Ben » 29.04.2020, 18:46

Hallo Holgi
Soweit ich das verstanden habe mit der Option --profile-directory="Profile 1" ist es so, das dadurch ein neues Benutzer Profil angelegt wird das im Userverzeichniss erstellt wird mit dem Namen der bei --profile-directory="" angeben ist. Du kannst das aber auch weglassen oder z.B. "Profile 1" gegen "default" tauschen den dann wird das normale Profil benutzt das mit "--user-data-dir=" deklariert ist. Aber ansonsten ist die Option "--profile-directory=" auf die Option "--user-data-dir=" angewiesen wenn es Portable sein soll. Du kannst auch den Namen "Profil 1" gegen z.B. "Ben" taschen dann würde ein Ordner im Profil Ordner erstellt mit dem Namen "Ben" und darin das Profil des Users "Ben" gespeichert.
Aber ja ich Plane auch die Launcher der anderen Browser auf diese Funktion der Commanline Optionen zu erweitern.
Das braucht aber wieder etwas Zeit. Außerdem muss ich die Update Funktion der anderen Updater auch reparieren.
Die Update Funktion ist auch erst seit der Version 1.2.0.0 im Portable Chrome Updater eingebaut.

Gruß Ben

Antworten