Jump to content

how to use hidewindow in XPInstall


Recommended Posts

Posted

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.

<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>


Posted

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.

Posted

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.

Posted

"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?

Posted

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.

Posted

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.

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.
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?
Posted

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...