IRC Log from 2012-01-09

00:40:53 *** The_MAZZTer (~mzzt@2001:0:4137:9e76:349b:456:52c2:132b) has joined #portableapps
00:42:17 <The_MAZZTer> so I'm trying to convert Google Chrome Portable launcher to PAL
00:42:37 <The_MAZZTer> and it looks like I'm going to have to override the execution step, and the help says I should ask for advice on alternate solutions before I do that :P
00:43:08 <The_MAZZTer> so basically I can't use ExecWait for launching Chrome since it can relaunch itself, and I want to be able to track this (I already have a nice function ready to go to do this)
00:44:08 <The_MAZZTer> so unless I can override ExecWait itself (AFAIK with NSIS this isn't possible) I'm assuming I'll need to c/p the Execute function into my custom.nsh and tweak it to call my function instead
00:44:14 <The_MAZZTer> err, tweak it to call my ExecWait function*
01:28:53 *** sar3th has quit (Quit: "Our culture doesn't get smarter, it just finds new ways of being retarded.")
02:08:57 *** PlauSocks is now known as PlauSocks|AFK
02:40:07 *** kAlug (~kalug@187.57.14.202) has joined #portableapps
02:40:17 <kAlug> Hello The_MAZZTer
02:40:40 *** PlauSocks|AFK is now known as PlauSocks
02:44:31 <kAlug> The_MAZZTer: http://portableapps.chrismorgan.info/launcher/manual/ref/launcher.ini/launch/#waitforotherinstances should do it.
02:56:02 <The_MAZZTer> sort of
02:56:16 <The_MAZZTer> the problem is a local chrome can have always-running background processes
02:56:25 <The_MAZZTer> so then the launcher will wait for them to exit (hint: they don't)
02:56:53 <The_MAZZTer> I had to write my own code to look for only proceses with a specific on-disk path
02:58:00 <kAlug> Set WaitForProgram and WaitForOtherInstances to false and then use your code in PostExec[Primary?].
02:58:41 <The_MAZZTer> right, I AM only using Exec anyway
02:58:46 <The_MAZZTer> that will work thanks :)
02:59:09 <kAlug> Your' welcome.
03:00:16 *** The_MAZZTer has quit (Quit: Jumping from high ledges without anticipation of fatal impact is commonly known to be an unwise activity and is not recommended by the legal team of Aperture, Inc.)
03:02:38 *** kAlug has quit (Quit: </support>)
03:05:47 *** The_MAZZTer (~mzzt@2001:0:4137:9e76:349b:456:52c2:132b) has joined #portableapps
03:06:13 <The_MAZZTer> whoops
03:06:24 <The_MAZZTer> I was using the online manual by accident
03:06:31 <The_MAZZTer> guess my PAL is out of date, no PostExec >_>
03:07:09 <The_MAZZTer> nope I have the latest version...
03:07:41 * The_MAZZTer searches forums for PAL beta
03:08:20 <The_MAZZTer> wait I'm dumb
03:08:27 * The_MAZZTer checks sourceforge file listing
03:08:42 <The_MAZZTer> there we go, 2.2b1
03:09:57 <The_MAZZTer> oh hey would you look at that, new sections
03:10:30 <The_MAZZTer> while I'm here... is this valid syntax for a [FileWrite] entry?
03:10:32 <The_MAZZTer> File=%PAL:DataDir%\profile\*\Preferences
03:10:48 <The_MAZZTer> want to process all "Preferences" files in all directories
03:17:13 *** GordCaswell (~GordCaswe@unaffiliated/ve4jhj) has joined #portableapps
03:17:18 <GizmoBot> GordCaswell is the developer of Armagetron Advanced Portable, Evince Portable & ZSoft Uninstaller Portable
03:22:32 <GordCaswell> The_MAZZTer: I've never used the wildcard stuff for FileWrite, but your syntax looks correct, other than needing a suffix: Preferences.* or Preferences.ini or whatever
03:23:28 <The_MAZZTer> hmm so my first problem appears to be that I am trying to do custom variable substitution and it is not working
03:23:52 <GordCaswell> what are you using?
03:23:54 <The_MAZZTer> ok so basically I have values for the launcher ini that need to be dynamic based on custom code
03:24:01 <The_MAZZTer> here is what I am doing
03:24:42 <The_MAZZTer> in segment init I do something like this:
03:24:43 <The_MAZZTer> ${SetEnvironmentVariablesPath} CHROMEVER $ChromeVer
03:24:59 <The_MAZZTer> then in my launcher ini I try to use %CHROMEVER%
03:25:08 <The_MAZZTer> but it appears to not be replaced like I had hoped it would be
03:27:32 <The_MAZZTer> I need this variable for some of the filewrites and the additionalparameters (it is a directory name)
03:28:03 <GordCaswell> K, just trying to verify how it's done in other apps. Pretty sure I've seen something similar elsewhere
03:28:09 <The_MAZZTer> cool
03:28:18 <The_MAZZTer> to explain more completely what I am trying to do... Chrome normally reads itas version number from the Windows registry or the command line
03:28:21 <The_MAZZTer> its*
03:28:30 <The_MAZZTer> this number is used to genrate a path name to resource files to load
03:29:07 <The_MAZZTer> (the chrome folder has a folder called 16.0.XXX.YY or whatever, updates just drop a new folder in and remove the old one)
03:30:34 <GordCaswell> Ok, is $ChromeVer recognized by NSIS as the Chrome Version already?
03:30:50 <The_MAZZTer> it should be I'll stick a MessageBox in to double check
03:31:23 <The_MAZZTer> oh
03:31:27 <The_MAZZTer> I guess I broke it >_>
03:31:28 <The_MAZZTer> empty string
03:31:42 <The_MAZZTer> I kinda assumed it would come out as an empty string too for %CHROMEVER% :/
03:31:44 <The_MAZZTer> >_>
03:31:47 <The_MAZZTer> NEVERMIND
03:32:01 <The_MAZZTer> oh
03:32:12 <The_MAZZTer> probably because I used $AppDirectory in segment init, probably not set yet
03:32:47 <GordCaswell> right, use $EXEDIR\App\Chrome-bin or whatever
03:33:07 <The_MAZZTer> yeah
03:33:15 <The_MAZZTer> that's what I did, testing...
03:33:24 <The_MAZZTer> much better
03:33:32 <The_MAZZTer> now it's yelling at me for proces killing it last time
03:33:35 <The_MAZZTer> an improvement!
03:33:40 <GordCaswell> that's a start
03:34:27 <The_MAZZTer> bah
03:34:45 <The_MAZZTer> Chrome is still getting passed %CHOMEVER% as a literal string
03:34:58 <The_MAZZTer> wait
03:35:11 <The_MAZZTer> aha
03:35:21 <The_MAZZTer> I think it's PAL treating it as a literal string in the FileWrite sections
03:35:38 <The_MAZZTer> Chrome isn't running either buuuut one problem at a time
03:36:06 <The_MAZZTer> DirectoriesMove section*
03:36:34 <The_MAZZTer> aaand I typoed the environment variable name
03:36:47 <GordCaswell> for your Prferences thing: try this (from Chromium Portable): http://pastebin.com/JXaxfCCJ
03:36:59 <The_MAZZTer> stupid "ChomeVer"
03:37:16 <The_MAZZTer> ooh that looks handy, thanks, I'll try it if I need it
03:37:49 * GordCaswell keeps checking chromium's custom.nsh for anything else that might be handy for you
03:38:44 <The_MAZZTer> I'll try just sticking it in the INI right now and test it with subst later
03:41:54 <The_MAZZTer> success!
03:42:07 <The_MAZZTer> it runs, I forgot to actually copy the parameters from my old launcher -_-
03:42:28 <GordCaswell> Well, one thing at a time. At least you've got it running!
03:42:34 <The_MAZZTer> yeah
03:42:41 <The_MAZZTer> next problem: defaultdata doesn't appear to work
03:42:46 <The_MAZZTer> probably wrong folder name somewhere
03:42:59 <The_MAZZTer> bwahahah Chrome restarts are detected
03:43:04 <The_MAZZTer> ...
03:43:15 <The_MAZZTer> but Chrome Portable never closes hmm
03:53:11 <The_MAZZTer> eww
03:53:22 <GordCaswell> ?
03:53:26 <The_MAZZTer> PostExecPrimary fires even if Exec never happened (because the launcher decided not to run but to clean up instead)
03:53:29 <The_MAZZTer> that's not good! :o
03:53:46 <The_MAZZTer> not a problem for my own stuff but could be for others
03:54:20 <GordCaswell> File a bug report for Chris - maybe there's a reason that happens, or it could just have been overlooked
03:54:38 <The_MAZZTer> link to the bug tracker?
03:55:42 <GordCaswell> on the forums, start the subject with [BUG] PAL %whatever your issue is%
03:55:45 <The_MAZZTer> hmm something else funky is going on, my PostExecPrimary handler is NOT being invoked after an Exec... the launcher just hangs
03:55:49 <The_MAZZTer> ok
03:55:56 <GordCaswell> Under Portable App Development is probably best
04:02:08 <The_MAZZTer> hmm that behavior might be intentional
04:02:19 <The_MAZZTer> so it might just need clarification in the manual then
04:02:37 <The_MAZZTer> since the main program function clearly has the PostExec called regardless of whether Execute happened or not
04:03:21 <The_MAZZTer> oh
04:03:36 <The_MAZZTer> WaitForProgram is waiting for ALL processes named chrome.exe
04:03:44 <The_MAZZTer> yeah I don't want that, there we go
04:03:45 * The_MAZZTer turns off
04:04:36 <The_MAZZTer> oh just need to turn off WaitForOtherInstances
04:04:45 <The_MAZZTer> didn't realize that was on by default, whoops
04:05:51 <The_MAZZTer> yay everything visible seems to be working now, just gotta test that files are getting their drive letters replaced etc
04:05:53 <The_MAZZTer> thanks for the help
04:05:57 *** The_MAZZTer has quit (Quit: Jumping from high ledges without anticipation of fatal impact is commonly known to be an unwise activity and is not recommended by the legal team of Aperture, Inc.)
04:20:32 *** ronjn (~ronjn@p5B13C2D0.dip.t-dialin.net) has joined #portableapps
04:20:50 *** ronjn___ has quit (Ping timeout: 268 seconds)
04:23:52 *** ronjn has quit (Remote host closed the connection)
04:24:37 *** ronjn (~ronjn@p5B13C2D0.dip.t-dialin.net) has joined #portableapps
06:01:10 *** PlauSocks is now known as PlauSocks|AFK
06:46:18 *** ZachThibeau has quit (*.net *.split)
06:46:19 *** OliverK has quit (*.net *.split)
06:49:44 *** ZachThibeau (~ZachThibe@unaffiliated/zachthibeau) has joined #portableapps
06:49:44 *** OliverK (~OliverK@unaffiliated/oliverk) has joined #portableapps
06:49:47 <GizmoBot> ZachThibeau is the main developer of PChat and is a developer with PortableApps.com
06:54:33 *** GordCaswell has quit (Quit: Leaving)
11:46:59 *** techfreak243 (~techfreak@c-68-40-88-129.hsd1.mi.comcast.net) has joined #portableapps
11:55:55 *** techfreak243 has quit (Ping timeout: 240 seconds)
12:37:23 *** ChrisMorgan (~ChrisMorg@27-32-227-98.static.tpgi.com.au) has joined #portableapps
12:37:29 *** ChrisMorgan has quit (Changing host)
12:37:29 *** ChrisMorgan (~ChrisMorg@unaffiliated/chrismorgan) has joined #portableapps
13:04:31 *** TPFC-SYSTEM (~opera@cs84248.pp.htv.fi) has joined #portableapps
13:40:44 *** PlauSocks|AFK has quit (Read error: Connection reset by peer)
13:41:07 *** PlauSocks|AFK (~Kyle@unaffiliated/sergentsiler) has joined #portableapps
13:42:28 *** kAlug (~kalug@187.101.112.98) has joined #portableapps
13:43:00 *** AlleyKat (~Miranda@0x573a5b86.ronnqu1.dynamic.dsl.tele.dk) has joined #portableapps
13:45:07 *** ChrisMorgan has quit (Ping timeout: 276 seconds)
15:32:31 *** kAlug has quit (Quit: Nettalk6 - www.ntalk.de)
15:50:58 *** TPFC-SYSTEM has quit (Quit: TPFC-SYSTEM)
16:54:18 *** TPFC-SYSTEM (~opera@cs84248.pp.htv.fi) has joined #portableapps
18:48:48 *** Thasmo (~thasmo@d86-33-68-66.cust.tele2.at) has joined #portableapps
19:08:13 *** Zarggg has quit (Ping timeout: 268 seconds)
19:11:48 *** Zarggg (~zarggg@24.229.139.169.res-cmts.sm.ptd.net) has joined #portableapps
19:55:12 *** andreasma (~andi@p5B07EFBB.dip.t-dialin.net) has joined #portableapps
20:00:15 *** Zarggg has quit (Quit: Rebooting client...)
20:04:56 *** Zarggg (~zarggg@24.229.139.169.res-cmts.sm.ptd.net) has joined #portableapps
20:23:52 *** Zarggg has quit (Ping timeout: 244 seconds)
20:24:47 *** Zarggg (~zarggg@24.229.139.169.res-cmts.sm.ptd.net) has joined #portableapps
20:26:59 *** TPFC-SYSTEM has quit (Quit: TPFC-SYSTEM)
20:29:59 *** techfreak243 (~techfreak@c-68-40-88-129.hsd1.mi.comcast.net) has joined #portableapps
21:27:29 *** kAlug (~kalug@200-232-219-27.dsl.telesp.net.br) has joined #portableapps
21:29:47 *** pa_4717 (63a42e02@gateway/web/freenode/ip.99.164.46.2) has joined #portableapps
21:30:12 *** Simeon (~simeon@dslb-094-218-244-164.pools.arcor-ip.net) has joined #portableapps
21:30:17 <Simeon> hi all
21:30:22 <kAlug> hi Simeon
21:30:34 <kAlug> pa_4717: Do you need help?
21:31:27 <pa_4717> hi, the updater yields an error with the QuickBridge update when it tries to download it; says its a a network error or a bad copy
21:32:37 <kAlug> Can you download the app directly?
21:33:13 <pa_4717> trying right now
21:33:22 <pa_4717> yes that works
21:33:31 <pa_4717> it updated supposedly
21:34:58 <pa_4717> why would that work and not the updater?
21:35:36 <kAlug> Hmm... I don't really know. Maybe the update list.
21:38:30 *** JAWS (~JAWS@adsl-99-164-46-2.dsl.akrnoh.sbcglobal.net) has joined #portableapps
21:39:13 <pa_4717> oops that's me as well {JAWS) I was trying to configue Pidgin :)
21:40:41 <JAWS> I'll use Pidgin now that I have it configured instead of the Live chat
21:41:03 *** pa_4717 has quit (Quit: Page closed)
21:42:39 <kAlug> hi JAWS
21:43:11 <JAWS> hi I haven't been on for a while :)
21:43:27 <JAWS> I was pa_4717
21:43:39 <JAWS> for a second
21:45:24 <JAWS> how's it been
21:45:30 <JAWS> ?
21:45:48 <Simeon> undercover-testing of our support quality? ;)
21:49:07 <JAWS> well, have a nice day everyone, thanks kAlug! ;) cya later everyone
21:49:20 *** JAWS has parted #portableapps (None)
21:55:33 *** Simeon has quit (Quit: Leaving.)
22:06:52 *** andreasma has quit (Quit: Verlassend)
22:24:25 *** kAlug has quit (Quit: Nettalk6 - www.ntalk.de)
23:00:00 *** PlauSocks|AFK is now known as PlauSocks
23:53:22 *** sar3th (~sar3th@unaffiliated/sar3th) has joined #portableapps