Jump to content

Problem Installing Programs


Brando569

Recommended Posts

Xplode will install the first program within the <Item> tag but wont install the rest and i cant figure out why, all of the programs listed are in the same directory as the one before it but yet Xplode says it cant find it.

Section of my code:

<item display="Installing Programs">
 <execute display="Ad-Aware SE Pro v1.05">
   <program>#SYSTEMDRIVE#\Install\Apps\ad-aware\aawsepro</program>
   <arguments>/s</arguments>
 </execute>
 <execute>
   <program> #SYSTEMDRIVE#\Install\Apps\ad-aware\kill.bat</program>
 </execute>
</item>

Error Messages From Logfile:

Executing tag: 'XPlode4(0).items(0).item(2).execute(0)'
        Install log: Running: 'E:\Install\Apps\ad-aware\aawsepro /s'
     
Executing tag: 'XPlode4(0).items(0).item(2).execute(1)'
        Install log: Running: ' E:\Install\Apps\ad-aware\kill.bat '
        Error during execution: File not found..

all of my applications are located in Install\Apps and some are in subfolders (as you can see above) but yet Xplode cant find it! Also, can i use Start /Wait in the <program> tag?

Link to comment
Share on other sites


There is a space in your code:

...program> #SYSTEMDRIVE...

you can use any parameter as long as it is in the <parameter> tags

'm guessing you are referring to the start /wait command.

then your code should look like:

<execute display="program name here">
  <program>start</program>
  <arguments>/wait filename to start here</arguments>
 </execute>

Link to comment
Share on other sites

that didnt seem to be the (main) problem it still doesnt work :( here is my Xplode.XML starting with <Items> and ending with </Items> (i left out the parts i didnt edit)

<items>
<!-- can use environment variables in the display -->
 <item display="Adding users to #COMPUTERNAME#">
 <!-- adding a user. display attribute not used - here for readability/clarity -->
 <adduser display="Adding Bran">
   <!-- the username -->
   <username>Bran</username>
   <!-- password to go with -->
   <password>123</password>
   <!-- multiple groups may be specified in this way -->
   <group>Administrators</group>
 </adduser>
 </item>
 
 <item display="Removing Users from #COMPUTERNAME#">
 <!-- delete a user from this machine -->
 <deluser display="Removing the Help Assistant Account">
   <username>HelpAssistant</username>
 </deluser>
 
 <deluser display="Removing the ASPNET Account">
   <username>ASPNET</username>
 </deluser>
 
 <deluser display="Removing the Support Account">
   <username>SUPPORT_388945a0</username>
 </deluser>
 </item>
 <item display="Installing Programs">
 <execute display="Ad-Aware SE Pro v1.05">
   <program>#SYSTEMDRIVE#\Install\Apps\ad-aware\aawsepro</program>
   <arguments>/s</arguments>
 </execute>
 <execute>
   <program>#SYSTEMDRIVE#\Install\Apps\ad-aware\kill.bat</program>
 </execute>
   
 <execute display="Adobe Reader v7.0">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\reader7</arguments>
 </execute>
 
 <execute display="Diskeeper v8">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\diskeeper8\diskeeper.bat</arguments>
 </execute>
 
 <execute display="DirectX v9.0C">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\directx9c\dxsetup /silent</arguments>
 </execute>
 
 <execute display="Intel Chipset Drivers">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\chipset\infinst\setup /s</arguments>
 </execute>
 
 <execute display="Intel ProSet">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\apps\proset\proset.msi /qn</arguments>
 </execute>
 
 <execute display="Java2 Runtime Environment v5">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\java503.exe</arguments>
 </execute>
 
 <execute display="Logitech Programs">
   <execute display="iTouch">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\logitech\keyboard\setup.exe /s</arguments>
   </execute>
   <execute display="MouseWare">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\logitech\mouse\setup.exe /s</arguments>
   </execute>
   <execute display="QuickCam">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\logitech\quickcam\appinst\setup.exe /S /V /qn /noreboot</arguments>
   </execute>
 </execute>
 
 <execute display="Mozilla Firefox v1.0.4">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\firefox.exe</arguments>
 </execute>
 
 <execute display="Mozilla Thunderbird">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\thunderbird\setup</arguments>
 </execute>
 
 <!--execute display="Microsoft Office 2003">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\office2003\setup.exe TRANSFORMS=silent.MST /qb-</arguments>
 </execute-->
   
 <execute display=".Net Framework v1.1 SP1">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\dotnetsp1.exe</arguments>
 </execute>
 
 <execute display="Nero Burning ROM v.6.6.0.12">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\nero-6.6.0.12\setupx.exe /SILENT /SN=1A23-0609-4030-2288-8422-6502 /WRITE_SN</arguments>
 </execute>
 
 <execute display="Securing Windows XP Via SafeXP">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\safexp\safexp.exe safexp.dat</arguments>
 </execute>
 
 <execute display="Slickrun">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\slickrun\install.bat</arguments>
 </execute>
 
 <execute display="Trillian v3.1 Pro">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\trillianv3.1.exe /S</arguments>
 </execute>
 
 <execute display="WindDVD v6">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\windvd6\setup.exe /S</arguments>
 </execute>
 
 <execute display="Winamp v5.09">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\Winamp5.09\winamp.msi INI="#SYSTEMDRIVE#\install\apps\winamp5.09\settings.ini" /quiet</arguments>
 </execute>
 
 <execute display="XSetup Tweaking Utility">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\xsetuppro.exe /SILENT</arguments>
 </execute>
       
 </item>
 
 <item display="Registry Tweaks">
 <execute display="Tweaking XP To My Liking" token="Bran">
   <program>regedit</program>
   <arguments>/s "#SYSTEMDRIVE#\install\tweaks.reg"</arguments>
 </execute>      
 <execute>
   <program>start</program>
   <arguments>#SYSTEMDRIVE#\Install\restoreshowdesktop.vbs</arguments>
 </execute>
 </item>
 
 <item display="Removing Wallpapers">
 <fileiodelete>
   <from>#SYSTEMROOT#</from>
   <mask>*.bmp</mask>
 </fileiodelete>
 
 <fileiodelete>
   <from>#SYSTEMROOT#\web\wallpapers</from>
   <mask>*.jpg</mask>
 </fileiodelete>  
 </item>
 
 <item display="Cleaning Up....">
 <execute>
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\cleanup.bat</arguments>
 </execute>
 </item>
 
</items>

(theres something wrong with the Logitech sub-catagory, i thought nesting was allowed?)

and attached is the log that is generated when i run this code

log.txt

Link to comment
Share on other sites

Just a question first, why do you need to use start /wait?, xplode waits before running the next program by default.

If you post your logs or xml file again please remove serial numbers etc, your Nero key is shown. :o

I noticed you have some bat files running, could you not incorporate the events in the batch files using the xplodes own commands, if not you could use

<hide>true</hide>

to prevent the dos box flashing up.

Whatever installs after java503.exe is creating this error

Error during execution: Invalid XML syntax - missing 'program' tag.

<fileiodelete>

should be

<fileio-delete>

and

</fileio-delete>

As for the files not found, the ones installed after ad-aware seem to be the problem, you are using the systemdrive variable, is something in your ad-aware kill.bat changing this value?

Hope you sort it :thumbup

Just realised xplode is not told the location of start.exe in your program tags

Edited by benners
Link to comment
Share on other sites

1. i didnt know that Xplode automatically waits for one program to end before it starts the next, is this implemented in 4.1 also? (yes, im using 4.1 cuz idk if i really wanna pay for Xplode yet, i want to get this to atleast work for me, before i upgrade)

2.after reading someones post i decided to implement the <hide> true</hide> into my code

3.thanks for noticing the fileio problem :) i wouldnt of caught that myself...

4. i have batch files running cuz a. it would be either to complicated to run in Xplode or b. what i want either doesnt work in 4.1 (on a side note i already have a fully working start.bat customized the way i want it so all i have to do is copy certain/lines/strings from it inot Xplode)

5. This is the contents of Kill.bat:

cmdow @ /HID
kill /z hh.exe
kill /z Ad-Aware.exe
copy %systemdrive%\install\ad-aware\settings.awc "%appdata%\lavasoft\ad-aware\settings.awc"
exit

5. this is giving me problems but idk why...

<execute display="Logitech Programs">
   <execute display="iTouch">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\logitech\keyboard\setup.exe /s</arguments>
   <hide>true</hide>
   </execute>
   <execute display="MouseWare">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\logitech\mouse\setup.exe /s</arguments>
   <hide>true</hide>
   </execute>
   <execute display="QuickCam">
   <program>start</program>
   <arguments>/wait #SYSTEMDRIVE#\Install\Apps\logitech\quickcam\appinst\setup.exe /S /V /qn /noreboot</arguments>
   <hide>true</hide>
   </execute>
 </execute>

it says im missing program tags....

Link to comment
Share on other sites

<item display="Logitech Programs">

  <execute display="iTouch">

    <program>start</program>

    <arguments>/wait #SYSTEMDRIVE#\Install\Apps\logitech\keyboard\setup.exe /s</arguments>

    <hide>true</hide>

  </execute>

  <execute display="MouseWare">

    <program>start</program>

    <arguments>/wait #SYSTEMDRIVE#\Install\Apps\logitech\mouse\setup.exe /s</arguments>

    <hide>true</hide>

  </execute>

  <execute display="QuickCam">

    <program>start</program>

    <arguments>/wait #SYSTEMDRIVE#\Install\Apps\logitech\quickcam\appinst\setup.exe /S /V /qn /noreboot</arguments>

    <hide>true</hide>

  </execute>

  </item>

Link to comment
Share on other sites

Don't use start.

As far as I know, start is build into the command prompt - there is no executable for it. And since XPlode doesn't use the command prompt to launch them, start does not exist.

Just put the program itself, and make sure <wait>true</wait> is in the execute tag. (It should wait by default, but hey, doesn't hurt to make sure.)

Link to comment
Share on other sites

after i fixed that 95% of the stuff worked now heres the errors i do have:

Nero isnt hidden regardless of <hide>true</hide>

code:

<execute display="Nero Burning ROM v.6.6.0.12">
   <program>#SYSTEMDRIVE#\Install\Apps\nero-6.6.0.12\setupx.exe</program>
   <arguments>/SILENT</arguments>
   <hide>true</hide>
 </execute>

X-setup Pro does the same thing

code:

<execute display="XSetup Tweaking Utility">
   <program>#SYSTEMDRIVE#\Install\Apps\xsetuppro.exe</program>
   <arguments>/SILENT</arguments>
   <hide>true</hide>
 </execute>

if i cant use start then how do i execute a VB script? do i just put the location into the <program> tag or do i have to put the MS VB interpreter location in the <program> tag and the location in the<arguments> tag?

Link to comment
Share on other sites

I'd guess that those programs are launching child processes themselves, and thus, they aren't told to be hidden by XPlode.

As for the vbscript, I'd guess you should use cscript to run it. Not entirely sure, I think that's what it'd called.

Link to comment
Share on other sites

For Nero I use

<program>#SOURCEDRIVE#\Applications\nero\setupx.exe</program> <arguments>/no_ui /silent /noreboot</arguments> </execute>

and X-Setup Pro is an inno setup, or at least v6.5 is so

/verysilent /sp-

Link to comment
Share on other sites

thanks benners, and im still havin probs withe logitech group...

code:

<item display="Logitech Programs">
   <execute display="iTouch">
   <program>#SYSTEMDRIVE#\Install\Apps\logitech\keyboard\setup.exe</program>
   <arguments>/s</arguments>
   <hide>true</hide>
   </execute>
   <execute display="MouseWare">
   <program>#SYSTEMDRIVE#\Install\Apps\logitech\mouse\setup.exe</program>
   <arguments>/s</arguments>
   <hide>true</hide>
   </execute>
   <execute display="QuickCam">
   <program>#SYSTEMDRIVE#\Install\Apps\logitech\quickcam\appinst\setup.exe</program>
   <arguments>/S /V /qn /noreboot</arguments>
   <hide>true</hide>
   </execute>
 </item>

error messages:

     Executing tag: 'XPlode4(0).items(0).item(2).item(0)'
        Error during execution: Command 'item' not found.
     Executing tag: 'XPlode4(0).items(0).item(2).item(1)'
        Error during execution: Command 'item' not found.

Link to comment
Share on other sites

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