MSFN Forum: how to use hidewindow in XPInstall - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

how to use hidewindow in XPInstall Rate Topic: -----

#1 User is offline   chezy666 

  • Junior
  • Pip
  • Group: Members
  • Posts: 92
  • Joined: 31-May 04

Posted 06 July 2004 - 11:10 AM

ive tryed using it but something seems to be wrong, heres the script, a short version just to show what i'm trying to do.

[CODE]
<XPinstall>
<config>
<hidewindow>Setup-Kazaa Lite K++</hidewindow>
<show total='6' after='2' />
<font face='Tahoma' antialias='true' small='8' large='14' />
<window width='500' position='6' fixmain='0' />
<windowmode>Standalone</windowmode>
<colours>
<header back='#003399' fore='#FFFFFFAA' image='#XPINSTALL#\images\head.png' />
<footer back='#003399' fore='#FFFFFFAA' image='#XPINSTALL#\images\foot.png' />
<progress border='#FFFFFFAA' back='#00000000' fore='#FFFFFFAA' />
<main back='#4A6FD6' fore='#FFFFFFAA' current='#FF8000' description='#FFFFFF' image='#XPINSTALL#\images\main.png' />
</colours>
<strings>
<title>Installing.....</title>
<complete>complete</complete>
<copy>Copying #1# (#2#/#3# - #4#)</copy>
<move>Moving #1# (#2#/#3# - #4#)</move>
<delete>Deleting #1# (#3#)</delete>
</strings>
</config>
<items>


<item name='Installing..... '>
<file name='Installing...' command='execute' program='D:\Slipstreaming Project\Completed\customization\Software\KAZAA\kazaa.exe' arguments='/silent'/>
</item>



</items>
</XPinstall>


#2 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 July 2004 - 11:40 AM

uhhhhhhhhhhh............

XPinstall is *VERY* old in terms of how time flies out here.
why not move to XPlode ? (use the 1.00 version, 'coz the later ones seem slow for some ppl).

XPlode is the one that supports hidewindow, nowait, etc. - I don't remember whether XPinstall supported those functions.

#3 User is offline   chezy666 

  • Junior
  • Pip
  • Group: Members
  • Posts: 92
  • Joined: 31-May 04

Posted 06 July 2004 - 07:12 PM

ok, why not, i'll give it a try.

#4 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 06 July 2004 - 07:25 PM

XPInstall supported ONE hidewindow i believe, but no "nowait".

XPlode is the current incarnation of XPInstall.

I've never noticed any slowness on my end, but then again....I never really time it all that often, as I leave after putting in the disc. :)

also, you have the syntax for hidewindow correct, however, hidewindow only hides windows specified if they are running when XPlode/XPInstall are started. XPlode has the argument hide, which might do what you want.

#5 User is offline   chezy666 

  • Junior
  • Pip
  • Group: Members
  • Posts: 92
  • Joined: 31-May 04

Posted 07 July 2004 - 07:48 AM

actually i did use hide=true but it didnt work, anyway i'll use xplode and see how it turns out.

#6 User is offline   chezy666 

  • Junior
  • Pip
  • Group: Members
  • Posts: 92
  • Joined: 31-May 04

Posted 07 July 2004 - 07:08 PM

by the way, whats nowait.

#7 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 July 2004 - 08:41 AM

"nowait" is a new attribute in XPlode which lets you do tasks in parallel.

Now, you do know that XPlode/XPinstall normally start processes (as listed in XML) one-by-one and wait for one process to finish before proceeding to the next one, right?
Well, in some cases you don't want to wait for a task to finish before starting the next. In such cases, nowait is nice.
Example :
nowait is a cool function


Anyway, did moving to XPlode solve your problem?

#8 User is offline   chezy666 

  • Junior
  • Pip
  • Group: Members
  • Posts: 92
  • Joined: 31-May 04

Posted 10 July 2004 - 01:23 AM

actually havent yet ported the code, trying to solve all the issues in xpinstall first, by the way how does one hidewindow in xplode, for example Nero, kazaa, java, etc show's the progress box during install.

#9 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 July 2004 - 09:35 AM

I seem to be p***ed of (reading the above), but remember since we all are here to get things working - don't be afraid of posting your details.


Quote

actually havent yet ported the code, trying to solve all the issues in xpinstall first
LOL, porting the XML (so-called 'code') would be an hour's job at most (even if you had a really, really long list of processes that XPinstall does) - whereas the time it's taking you to solve issues with XPinstall is clearly longer. Moving to an updated version (XPlode) will solve many of your 'issues'. The issues that remain would be due to the factor of "human error" in the XML.

Quote

by the way how does one hidewindow in xplode.....
BTW, have you ever thought of reading the documentation (and the sample XML configuration) that comes along with it?

#10 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 10 July 2004 - 10:48 AM

by the way....
did you not read what I posted about the <hidewindow> tag? IT ONLY HIDES WINDOWS THAT IT FINDS IN THAT SECTION THAT ARE RUNNING WHEN XPLODE/XPINSTALL IS STARTED. Sorry for all the caps, but had to get the point across.

As for actually hiding them, you'll need to find their individual switch if it has one to do that.....but it's not a function within XPlode/XPInstall

#11 User is offline   chezy666 

  • Junior
  • Pip
  • Group: Members
  • Posts: 92
  • Joined: 31-May 04

Posted 10 July 2004 - 11:35 PM

ok, got it, so xplode cant do much about it, i've to find the right switches.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy