00:40:53 *** The_MAZZTer (~mzzt@2001:0:4137:9e76:349b:456:52c2:132b) has joined #portableapps 00:42:17 so I'm trying to convert Google Chrome Portable launcher to PAL 00:42:37 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 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 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 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 Hello The_MAZZTer 02:40:40 *** PlauSocks|AFK is now known as PlauSocks 02:44:31 The_MAZZTer: http://portableapps.chrismorgan.info/launcher/manual/ref/launcher.ini/launch/#waitforotherinstances should do it. 02:56:02 sort of 02:56:16 the problem is a local chrome can have always-running background processes 02:56:25 so then the launcher will wait for them to exit (hint: they don't) 02:56:53 I had to write my own code to look for only proceses with a specific on-disk path 02:58:00 Set WaitForProgram and WaitForOtherInstances to false and then use your code in PostExec[Primary?]. 02:58:41 right, I AM only using Exec anyway 02:58:46 that will work thanks :) 02:59:09 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: ) 03:05:47 *** The_MAZZTer (~mzzt@2001:0:4137:9e76:349b:456:52c2:132b) has joined #portableapps 03:06:13 whoops 03:06:24 I was using the online manual by accident 03:06:31 guess my PAL is out of date, no PostExec >_> 03:07:09 nope I have the latest version... 03:07:41 * The_MAZZTer searches forums for PAL beta 03:08:20 wait I'm dumb 03:08:27 * The_MAZZTer checks sourceforge file listing 03:08:42 there we go, 2.2b1 03:09:57 oh hey would you look at that, new sections 03:10:30 while I'm here... is this valid syntax for a [FileWrite] entry? 03:10:32 File=%PAL:DataDir%\profile\*\Preferences 03:10:48 want to process all "Preferences" files in all directories 03:17:13 *** GordCaswell (~GordCaswe@unaffiliated/ve4jhj) has joined #portableapps 03:17:18 GordCaswell is the developer of Armagetron Advanced Portable, Evince Portable & ZSoft Uninstaller Portable 03:22:32 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 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 what are you using? 03:23:54 ok so basically I have values for the launcher ini that need to be dynamic based on custom code 03:24:01 here is what I am doing 03:24:42 in segment init I do something like this: 03:24:43 ${SetEnvironmentVariablesPath} CHROMEVER $ChromeVer 03:24:59 then in my launcher ini I try to use %CHROMEVER% 03:25:08 but it appears to not be replaced like I had hoped it would be 03:27:32 I need this variable for some of the filewrites and the additionalparameters (it is a directory name) 03:28:03 K, just trying to verify how it's done in other apps. Pretty sure I've seen something similar elsewhere 03:28:09 cool 03:28:18 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 its* 03:28:30 this number is used to genrate a path name to resource files to load 03:29:07 (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 Ok, is $ChromeVer recognized by NSIS as the Chrome Version already? 03:30:50 it should be I'll stick a MessageBox in to double check 03:31:23 oh 03:31:27 I guess I broke it >_> 03:31:28 empty string 03:31:42 I kinda assumed it would come out as an empty string too for %CHROMEVER% :/ 03:31:44 >_> 03:31:47 NEVERMIND 03:32:01 oh 03:32:12 probably because I used $AppDirectory in segment init, probably not set yet 03:32:47 right, use $EXEDIR\App\Chrome-bin or whatever 03:33:07 yeah 03:33:15 that's what I did, testing... 03:33:24 much better 03:33:32 now it's yelling at me for proces killing it last time 03:33:35 an improvement! 03:33:40 that's a start 03:34:27 bah 03:34:45 Chrome is still getting passed %CHOMEVER% as a literal string 03:34:58 wait 03:35:11 aha 03:35:21 I think it's PAL treating it as a literal string in the FileWrite sections 03:35:38 Chrome isn't running either buuuut one problem at a time 03:36:06 DirectoriesMove section* 03:36:34 aaand I typoed the environment variable name 03:36:47 for your Prferences thing: try this (from Chromium Portable): http://pastebin.com/JXaxfCCJ 03:36:59 stupid "ChomeVer" 03:37:16 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 I'll try just sticking it in the INI right now and test it with subst later 03:41:54 success! 03:42:07 it runs, I forgot to actually copy the parameters from my old launcher -_- 03:42:28 Well, one thing at a time. At least you've got it running! 03:42:34 yeah 03:42:41 next problem: defaultdata doesn't appear to work 03:42:46 probably wrong folder name somewhere 03:42:59 bwahahah Chrome restarts are detected 03:43:04 ... 03:43:15 but Chrome Portable never closes hmm 03:53:11 eww 03:53:22 ? 03:53:26 PostExecPrimary fires even if Exec never happened (because the launcher decided not to run but to clean up instead) 03:53:29 that's not good! :o 03:53:46 not a problem for my own stuff but could be for others 03:54:20 File a bug report for Chris - maybe there's a reason that happens, or it could just have been overlooked 03:54:38 link to the bug tracker? 03:55:42 on the forums, start the subject with [BUG] PAL %whatever your issue is% 03:55:45 hmm something else funky is going on, my PostExecPrimary handler is NOT being invoked after an Exec... the launcher just hangs 03:55:49 ok 03:55:56 Under Portable App Development is probably best 04:02:08 hmm that behavior might be intentional 04:02:19 so it might just need clarification in the manual then 04:02:37 since the main program function clearly has the PostExec called regardless of whether Execute happened or not 04:03:21 oh 04:03:36 WaitForProgram is waiting for ALL processes named chrome.exe 04:03:44 yeah I don't want that, there we go 04:03:45 * The_MAZZTer turns off 04:04:36 oh just need to turn off WaitForOtherInstances 04:04:45 didn't realize that was on by default, whoops 04:05:51 yay everything visible seems to be working now, just gotta test that files are getting their drive letters replaced etc 04:05:53 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 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 hi all 21:30:22 hi Simeon 21:30:34 pa_4717: Do you need help? 21:31:27 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 Can you download the app directly? 21:33:13 trying right now 21:33:22 yes that works 21:33:31 it updated supposedly 21:34:58 why would that work and not the updater? 21:35:36 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 oops that's me as well {JAWS) I was trying to configue Pidgin :) 21:40:41 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 hi JAWS 21:43:11 hi I haven't been on for a while :) 21:43:27 I was pa_4717 21:43:39 for a second 21:45:24 how's it been 21:45:30 ? 21:45:48 undercover-testing of our support quality? ;) 21:49:07 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