Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


TrooperMan

Selfmade Autorun...

Recommended Posts

@fingers:

I ran into the same problem as you did and this is because I just can push the PHP output to the Browser (which is an IE instance, right) and can NOT modify the Address the browser thinks it is showing. Basically the Browser is located at about:blank when showing PHP results.

I don't have much time at the moment but I will fix that as soon as possible (if it IS possible) ;)

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

I will also create a dynamic Version of that DHTML Menu I used, so that one can use an INI-File (or XML or whatever) rather than playing with the JavaScript source, which can be very disturbing.

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

Anyway: I would like to see some more Designs. Anyone made something new and wants to post it? ;)

face.jpg:blushing:

Share this post


Link to post
Share on other sites

Hmm... you're right. I will fix that asap.

To run an external app via PHP use

popen("dir", "r");

or if you want the dosbox to stay open

popen("start dir", "r");

That should work.

I don't know what happened to the run: command, will check that.

Share this post


Link to post
Share on other sites

@TrooperMan

......

To run an external app via PHP use

popen("dir", "r");

......

That should work.

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");

I don't know what happened to the run: command, will check that.

also problems with the close: command...

it causes about:blank DNS error :huh:

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

Share this post


Link to post
Share on other sites

hi guys, i really like this little app, i spent a while streamlining and changing it to suit my needs and it has pretty much finished my dvd.

But, when i run my cmd files which create standalone os iso's it gives me a funny error.

this is an example of the command file:

rem ECHO OFF
rem IF NOT EXIST %SystemDrive%\ntldr GOTO 9XCOPY

rem:NTCOPY
XCOPY .\XP2A %SystemDrive%\ISO /E /I /H /Y /K > NUL
COPY .\BOOTFIX.BIN %SystemDrive%\ISO\I386
XCOPY ..\Install %SystemDrive%\ISO\Install /E /I /H /Y /K > NUL
cdimage.exe -lXPAUTO -t08/04/2004,07:00:00 -b.\xp.DAT -h -o -m -n %SystemDrive%\ISO %SystemDrive%\XPAUTO.ISO
PAUSE
ECHO.
ECHO Cleaning up files from %SystemDrive%
RD /S /Q %SystemDrive%\ISO
GOTO EXIT


rem :9XCOPY
rem ECHO.
rem ECHO This process cannot be performed under Win9x
rem ECHO Please use a WinNT-based machine.
PAUSE

:EXIT

this works perfectly when run normally, but when run from within the autorun menu using this line:

stm_aix("p4i0","p1i0",[0,"Microsoft® Windows® XP SP2 Automatic","","",-1,-1,0,"RUN:SETUP/XP2AISO.CMD"],365,0);

it gives me this error:

untitled18xv.jpg

any help would be appreciated.

Cheers

Share this post


Link to post
Share on other sites

@TrooperMan

My Create Bootable Disc function doesnt work. how do we configure the ISO Creation? what are the parameters and how do we set it up? Also, when i tried to do it, i hit the 'create now' button, then a windows popped up (presumably asking where to save the file to) and it has the words 'ISO-Image speichern in...' How do i translate this into english? When i select a location to save the file to, it says 'das ISO-Image wurde nicht erfolgreich erstellt und kann deshalb nicht auf eine CD gebrannt werden'. Again, how do i get this into english?

Share this post


Link to post
Share on other sites

This is an awesome App, but I can't get it to run at insertion of DVD. I put it at the root of the dvd. I even put an autorun.ini file telling it to run autorun.exe. Don't run. :} Can anyone help out?

Share this post


Link to post
Share on other sites

Ya, that's what I got. Would it be any different if I burn it to DVD first? Cuz I just got it in ISO format and testing it out via VirtualPC.

Share this post


Link to post
Share on other sites

You know, I don't wanna get religious but OMFG! I'm a **** moron. I saved the file as an ini instead of an inf........ jesus..... Oh well, thanks amd for your help.

[uPDATE]

I get this error message when I try to create a boot disc for any of the OS's

I got this code in the file:

stm_aix("p3i0","p1i0",[0,"Microsoft® Windows® XP SP2","","",-1,-1,0,"mkiso:PRO1.DAT:WINXPPRO:XP\\PRO1","_self","","","","",0,0,0,"","",0,0],365,0);

stm_aix("p3i1","p1i0",[0,"Microsoft® Windows® 2003 Server SP1","","",-1,-1,0,"mkiso:3PRO.DAT:WIN2003SEE:03\\3PRO","_self","","","","",0,0,0,"","",0,0],365,0);

stm_aix("p3i2","p1i0",[0,"Microsoft® Windows® 2000 SP4","","",-1,-1,0,"mkiso:2PRO.DAT:WIN2KPRO:2K\\2PRO","_self","","","","",0,0,0,"","",0,0],365,0);

Edited by m3n70r

Share this post


Link to post
Share on other sites

yeah, i had that problem for a long time. it took a lot of trial and error to get it to work. but now when i run it, it creates the iso and saves it as "C:\Documents" (with no extension)... but at least it creates it. The code i use is ....

stm_aix("p3i3","p0i0",[0,"Microsoft Windows XP Pro","","",-1,-1,0,"mkiso:BOOT/LOADER.BIN:VRMPVOL_EN:SETUP/XP"],365,0);

stm_aix("p3i4","p0i0",[0,"Microsoft Windows 2000","","",-1,-1,0,"mkiso:BOOT/LOADER.BIN:ZRMPFPP_EN:SETUP/2000"],365,0);

stm_aix("p3i5","p0i0",[0,"Microsoft Windows 98 SE","","",-1,-1,0,"mkiso:BOOT/LOADER.BIN:Windows98SE:WIN98"],365,0);

there is no double backslash needed and no slash is needed if the file/folder is in the root of the disc.

Share this post


Link to post
Share on other sites

Thanks man, I'll try it out. If that don't work, I'll take a look at the simpletest html page I found on the thing.

[uPDATE]

Nope, dont work.

[/uPDATE]

Edited by m3n70r

Share this post


Link to post
Share on other sites

So is there any way to add switches to the executables (without using PHP)?

Cheers

edit.. And how do you change the image at the bottom? (the one with all the windows logos)

Edited by Jotnar

Share this post


Link to post
Share on other sites

@m3n70r

is your boot folder in the root of your DVD? is the loader.bin file in that folder? is the setup folder in the root of DVD and are the installation files in that folder?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...