You are here

[Outdated] Google Chrome Portable PAF 0.90 Edition

14 posts / 0 new
Last post
The MAZZTer
The MAZZTer's picture
Offline
Last seen: 1 year 9 months ago
Developer
Joined: 2006-11-17 15:31
[Outdated] Google Chrome Portable PAF 0.90 Edition

http://downloads.mzzt.net/GoogleChromePortable_2.0.180.0.paf.exe

This is a merge of my installer code into John's Installer. It looks ok for me but requires broader testing, so here you go. Smile

I had to tweak a few lines in the installer itself to get component selection working like my own installer, and the actual install process of installing Chrome and copying the profile etc is the same as in the previous installer I used.

As for new features in the installer itself, I don't really have any except that I updated the download links in the installer to the latest Chrome versions.

Oh yeah and the components page is only in English, I dunno what shows up in other languages, sorry. >_>

NOTE: This installer contains official PortableApps.com logo and branding generated by the PortableApps.comInstaller wizard. Please note that this is not [yet] an official PA.com app and is not [yet] supported by PA.com. Just by me.

NOTE #2: If you wish to compile this installer you will need the nsexec and nsisdl plugins, which come with NSIS IIRC but aren't included in the PortableApps.comInstaller package.

PS John: Please have the installer creator wizard prompt you if it's going to overwrite files in Other\Source. I almost lost all my installer code.

PPS John: Any feedback on what would be needed to make this "front page" material would be welcome. I didn't see a download feature (I think you mentioned one a few weeks ago) so I just kept using nsisdl. As well the user can select from a number of versions and the complex steps requires that I write my own Section code (you may wish to include support for additional/custom Sections in a future version of PAI).

Devo
Offline
Last seen: 11 months 2 weeks ago
Joined: 2007-09-04 14:55
Same as the previous version

I haven't noticed any problems in terms of bugs and functionality that would need fixing. I am commenting only to make a couple of requests.

1) Add GoogleChromePortable.ini to the Source folder with all the options already in place so all the user has to do is move that file and change the options they need to. This is the way nearly every other portable app on this site works and it would be nice for consistency. Also it would help the user from having to search for all the ini parameters that are available.

2) I've mentioned this before, but I think it would be beneficial to add the option to download and use SRWare Iron. I know that you can copy the folder over, but is it really that hard to add another download option to the installer? It would also allow user to see that there are other versions available. I know there are a bunch of other "versions" of Chromium floating around out there, but this removes all the tracking features from Chromium. This is useful in a portable environment because those tracking features are associated with the computer's IP and portable apps are used on multiple computers, so the tracking features would not be very useful to Google and who ever else might be using them.

Thanks for taking the time to read over this and hopefully you'll consider implementing these features in the future.

The MAZZTer
The MAZZTer's picture
Offline
Last seen: 1 year 9 months ago
Developer
Joined: 2006-11-17 15:31
1) I will do this for the

1) I will do this for the next release
2) IMO I already have too many versions but I am unsure how to handle this. Maybe once 2.0 goes public I will cut it down to just the stable release, maybe allow users to pass in a version number on the command line to get other releases.

I may consider SRIron in the future but I'm not personally interested in it. Maybe if Google Chrome Portable were to go official or something I might fork a separate SRIron Portable installer.

But then I'd have to maintain more! Maintaining is hard work. Wink

Signature automatically removed for being too awesome.

r.brem
r.brem's picture
Offline
Last seen: 1 year 7 months ago
Joined: 2008-12-29 13:50
Launcher don't start Chrome

I have tried out this version, at least I wanted this, but the Launcher does not start, it happens nothing.

Roland Brem
Zwickau, Germany

crownixx
Offline
Last seen: 7 years 5 months ago
Joined: 2007-05-12 21:13
Try implement what UnChrome

Try implement what UnChrome did to anonymize Google Chrome

http://www.abelssoft.net/unchrome.php

The MAZZTer
The MAZZTer's picture
Offline
Last seen: 1 year 9 months ago
Developer
Joined: 2006-11-17 15:31
Users are more than welcome

Users are more than welcome to take this step if they want to.

Signature automatically removed for being too awesome.

The MAZZTer
The MAZZTer's picture
Offline
Last seen: 1 year 9 months ago
Developer
Joined: 2006-11-17 15:31
Hmm might be a bug in NSIS,

Hmm might be a bug in NSIS, seems now if you do a FileOpen it fails if the directory doesn't exist. I swear it was creating the directory for me before. I fixed it after pulling my hair out and finally Process Monitor showed me the file open returning a PATH_NOT_FOUND error and NSIS stopping there...

Anyways I also tweaked the installer so it will pause again on the installer page.

Download it again and it should work now.

Signature automatically removed for being too awesome.

Bruce Pascoe
Offline
Last seen: 12 years 9 months ago
Joined: 2006-01-15 16:14
Windows 7 compatibility

You might want to compile your installer with John's Win7 NSIS patch, here:
https://portableapps.com/node/19013

Right now I get a compatibility warning on the Win7 RC when the installer closes.

crownixx
Offline
Last seen: 7 years 5 months ago
Joined: 2007-05-12 21:13
Maybe my first post was not

Maybe my first post was not to clear. What i wish to say is, instead creating a new paf installer for SRIron just to have more security, how about adding the "anonymize" option in the existing Google Chrome Portable paf installer.

A more bit detail about what UnChrome did to get the anomaly. In case if you're interested implementing this in the future

UnChrome change the value in a file located at
C:\Documents and Settings\%username%\Local Settings\Application Data\Google\Chrome\User Data\Local State

At line 20(might be differ to others), the value before UnChrome might be this
"client_id": "C8E67EEB-21E2-40FA-A578-0F23F53F6F43",
"client_id_timestamp": "1242757262",

After the UnChrome, it become
"client_id": "0",
"client_id_timestamp": "0",

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 3 months ago
Joined: 2007-04-15 21:08
ConfigWrite

Not sure if you'd want this on by default, but this can be handled in NSIS with the ConfigWrite macro.

${ConfigWrite} "...\Local State" `"client_id": ` `"0",` $R0
${ConfigWrite} "...\Local State" `"client_id_timestamp": ` `"0",` $R0

It's of course entirely up to the developer how to do this - out, INI option, in, installer, default data, lots of possibilities Smile

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 31 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Installer Example - Chrome Portable 2.0

Hey Dan. I couldn't get the current release to work either, but I've repackaged it using the new 0.91 installer so you can see how it will work with the official installer. We don't do lots of options, only 1 option for languages if appropriate. The installer can now handle doing downloads and extracting files.

I made an example package using your launcher. Like your release above, it does not function on my system but may on others. You can download it here:

Chrome Portable 2.0 - Installer Test (Does Not Run)

There's no custom code at all, it uses the built in features.

To get official, we'll need to ditch running cache locally by default (not sure if it is) and make it an option a user has to manually turn on. You'll also have to stop using nsExec and xcopy. We have a MoveFiles function that hea wrote that works better and doesn't trigger firewalls. The code for it is in the PA.c Installer's Installer Wizard source. If you need additional help, post in the app development forum as a new topic or drop me an email.

Sometimes, the impossible can become possible, if you're awesome!

Bruce Pascoe
Offline
Last seen: 12 years 9 months ago
Joined: 2006-01-15 16:14
"Chrome Portable"?

I was pretty sure "Google Chrome" was the official name (unlike Mozilla Firefox, where the "Mozilla" is just a qualifier). Am I mistaken?

Bruce Pascoe
Offline
Last seen: 12 years 9 months ago
Joined: 2006-01-15 16:14
Not sure what you did to it

Yours doesn't work at all, John. I know a lot of people were having problems with MAZZ's, but his works fine for me; this one won't even run. ChromePortable.exe starts, then immediately terminates.

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 31 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
doesn't work

I already stated that it doesn't work. The original doesn't work on any of my test systems at all and has some noticeable bugs in the code, but I wasn't trying to fix them, just demo the installer for him so he could switch. All I changed was the app path from chrome to chrome\chrome-bin. It doesn't work, it's not supposed to work. He can pick it up from here.

Sometimes, the impossible can become possible, if you're awesome!

Topic locked