Jump to content

fingers

Member
  • Posts

    5
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Australia

About fingers

fingers's Achievements

0

Reputation

  1. @TrooperMan Thanks TrooperMan, that worked well. though you see a CMD window popup for a second before execution begins -- i'm also able to pass switches to the executable (exe's in the path can be included) eg popen("explorer.exe /e", "r"); also problems with the close: command... it causes about:blank DNS error .... i managed to get around it with a call to popen("taskkill /IM autorun.exe", "r"); but the link code below only shuts the browser and causes OS errors <input type="button" value="Close Window" onclick="window.close()"> dave
  2. I had finally finished a nice face with lots of controls with php but had to give up as there was no way to execute an application even with exec()-pity Your not wrong about the javascript code you used, I had to try to study it to see how to aply switches to setup.exe -- with no success, not even for explorer /e without the ability to add switches it is limited as an installer...
  3. I'm Stoked! Excellent App Tried the PHP beta and it works!! only 1 thing required was i had to include the code $roots = str_replace ( "\\", "\\\\", dirname(__FILE__)); to access any images and external javascripts and css files which provides <drive>\\folder of script //eg D:\\PHP Of course this could be due to my inability to edit the php.ini file for the app.. BTW is it running iexplore browser to render the script? Brilliant! Thankyou dave
  4. Hi Any possible way to set the DISK label within an ini? or the XML file? in future release dave
  5. Hi first post. You might try this site Updating XP SP2 and 2003 SP1 Without using Windows Update ive used it to add the HotFixes in runonceex his setup.cmd for win2k3 @Echo off rem //////////////////////////////////////////////////////////////////////////// rem // Setup.bat rem // This Batch file runs the hotfixes for Windows 2003 SP1 rem // If the hotfix is already installed (checked by looking for reg key) rem // then the installation is skipped. rem //////////////////////////////////////////////////////////////////////////// set Flags=/passive /norestart /nobackup if "%~1" == "-p" goto Process rem //////////////////////////////////////////////////////////////////////////// set RegKey=HKLM\Software\Microsoft\Updates\Windows Server 2003\SP2 rem //////////////////////////////////////////////////////////////////////////// rem // Main routine rem // %1 contains Options rem // color 17 title Windows Server 2003 SP1 - 13 Hotfixes echo ::: Installing Updates ::: echo. call %0 -p KB896422 "WindowsServer2003-KB896422-x86-enu.exe" call %0 -p KB896358 "WindowsServer2003-KB896358-x86-enu.exe" call %0 -p KB890046 "WindowsServer2003-KB890046-x86-enu.exe" call %0 -p KB896428 "WindowsServer2003-KB896428-x86-enu.exe" call %0 -p KB883939 "WindowsServer2003-KB883939-x86-enu.exe" call %0 -p KB898792 "WindowsServer2003-KB898792-v2-x86-enu.exe" call %0 -p KB903235 "WindowsServer2003-KB903235-x86-ENU.exe" call %0 -p KB901214 "WindowsServer2003-KB901214-x86-ENU.exe" call %0 -p KB893756 "WindowsServer2003-KB893756-x86-ENU.exe" call %0 -p KB899591 "WindowsServer2003-KB899591-x86-ENU.exe" call %0 -p KB899587 "WindowsServer2003-KB899587-x86-ENU.exe" call %0 -p KB896727 "WindowsServer2003-KB896727-x86-ENU.exe" call %0 -p KB899588 "WindowsServer2003-KB899588-x86-ENU.exe" echo. echo ::: Done ::: echo. pause goto END rem //////////////////////////////////////////////////////////////////////////// rem //////////////////////////////////////////////////////////////////////////// :Process rem // rem // %2 will contain the KB number rem // %3 will contain the Exe file name rem // %4 will contain any options passed originaly rem // rem // rem // See if the Reg key exists, this indicates whether patch has already rem // been installed rem // reg query "%RegKey%\%2" > nul 2>&1 if errorlevel 1 goto NeedToInstall echo %2 - Already Installed. Skipping. goto EndProcess :NeedToInstall echo %2 - Installing %3 %Flags% goto EndProcess :EndProcess goto END rem //////////////////////////////////////////////////////////////////////////// :END
×
×
  • Create New...