i sorted it out ... thanks :D
i used msiexec.exe /i install.msi in the batch file
Printable View
i sorted it out ... thanks :D
i used msiexec.exe /i install.msi in the batch file
Hi Everyone,
I run into the same problem i guess with the flash projector and opening files that are on the CD. So far i was using a bit different method for opening the files, basically i was using a simple C++ code and then compiling it using a .bat into a .exe and then i was running the .exe file from flash to open usually .pdf files. I was wondering if there is a way to include the proxy.exe into a single EXE file instead of using a BAT and an EXE file. I am posting the code i was using until now. I guess this is a questions for Northcode.
It would be great for everybody i think if we can find a solution like this, it would make it a bit simpler, If you need more information let me know.
Thanks
The BAT file could be compiled into an EXE file but the BAT file still has to be extracted so it can be run. The problem with this approach is the path. Since the BAT file won't be in the same folder (not even on the same drive) as the files you want to access how do you specify where to find the files? It could be passed in as a parameter I guess, but then you force people to understand a bit more about BAT files than they want to know, and they already hate all problems related to paths :)
Hi, Im using proxy.exe to open some video files in a cd-rom and everything works amazing; but when I open it in Windows Vista the files don't open, only opens the application...
the .bat file (conferencia1.bat) has this line:
start conferencia1.wmv
the proxy file was renamed to conferencia1.exe
the code in the button is:
All the .bat, .exe, and .wmv files are inside the fscommand folder. Can anyone help me?Quote:
on(release){
fscommand("exec","conferencia1.exe");
}
Thank's
What's wrong????
That's a problem. If they really pull XP off the shelf in June, then I have alot of CD-ROM's that need some files updated.
Hi, I have the same problem with word files. Just have all the files in the fscommand folder with the .bat and the .exe files, but it still opens only the application and not the files. Is there anything wrong?Quote:
Originally Posted by Northcode
the button code is this:
on(release){
fscommand("exec","conf1.exe");
}
and the .bat file named conf1.bat says:
start conf1.doc
I'm working in win XP and the last version of Microsoft Word
First off Great thread and great little tools. You Rock!
Copy2
I have been working like the dickens to get this to work. I can run the proxy.exe file from the fscommand folder and it works like a champ.
When I try to run it from the button inside of Flash (as3) it gives me an error:
"UNC paths are not supported. Defaulting to windows directory.
The system cannot find the file specified."
Where am I going wrong?
here is my .bat file:
copy2 /f banner.jpg /m file has been saved /c My CD-ROM File Manager
I have the banner.jpg in the fscommand folder as well as in the next folder up.
I am about out of hair.
Anyone have any suggestions.
Thanks,
BD72
I'm guessing that tou're seeing that error because FSCommand EXEC is Broken in Flash CS3. If you get the latest copy from my blog it should fix your problem. The version number on the latest version of proxy.exe is 3.0.0.0. If your version is older (or doesn't have a version number) then you NEED the new one.
Wow that was simple.
Thanks so much Northcode.
I spent most of the day yesterday reading and re-reading this thread trying to figure out what was wrong.
Thanks so much for your response.
I down loaded the latest version and "presto" everything runs like a champ.
thanks so much.
YOU ARE AWESOME!
BD72
BD72 No problem ;)
julperpub I have seen this issue with Vista, but not with XP. On Vista, when you use the builtin start command works if you launch the BAT file manually, but it fails when you call the BAT file from an EXE file.
I'm going to update my invoke utility to allow it to be used as a replacement for the start command and see if I can get that working on Vista (and XP). I'll most likely post it as a new tool on my blog instead of here, watch there for updates - email me if you get desperate (it will take longer to write up the post than update the utility).
How do I get a flash exe (menu) to run the exe files made by northcode? for some reason it want start them, the screen just blinks and nothing happens.
fscommand("exec", "that.exe");
And "that.exe" has to be in a folder called "fscommand" or Flash won't find it.
Thank's northcode, I kinda solved it temporarly, so there's no rush anymore; but still I'll be waiting for that utility update, ;)Quote:
julperpub I have seen this issue with Vista, but not with XP. On Vista, when you use the builtin start command works if you launch the BAT file manually, but it fails when you call the BAT file from an EXE file.
I'm going to update my invoke utility to allow it to be used as a replacement for the start command and see if I can get that working on Vista (and XP). I'll most likely post it as a new tool on my blog instead of here, watch there for updates - email me if you get desperate (it will take longer to write up the post than update the utility).
I downloaded the example files for this proxy.exe application but even that doesn't seem to be working. I am on XP though, if this is a problem. So has anyone got this working with CS3 on XP, or is it not possible? :yikes:
It doesnt display the black bat file box but simply displays a message saying that the file cant be found, even though its definitely there, I just seem like somethings wrong if all these people have had luck with it!!
Any help would be appreciated
First, make sure you have the latest version of proxy.exe from here. Then explain how you've set things up (directory structure and files) and I'll see if I can figure out what's going wrong for you.
I managed to get it working in the end. The file was on a network drive it works fine on the local drive. Thanks for that, you saved me a lot of hassle!!
I am wondering if proxy.exe requires that all of the commands in the batch file it calls be executed within a certain amount of time. I am using it to call a two-line batch file, the first line executes a program App1.exe and the second line executes another program App2.exe. I execute the first program without the START command so that the second line does not execute until the App1.exe process terminates. This works fine when I run the batch file itself - but I get the ugly DOS window.
So, I tried to execute it using your proxy.exe. However, I have found that the second program App2.exe will only run if the first application App1.exe terminates operation within 2-3 seconds of it starting. Is this the result of how proxy.exe operates?
Any help would be appreciated because this program is a great solution to my problem, assuming I can get it to execute both lines of my batch file.
Yes, proxy kills the BAT file after 5 seconds to avoid problems on some operating systems where the BAT file can hang around (hidden) forever. Since you can't see them you can't easily clean them up. I got your email (at least I think it was you) and I can send you a version of proxy with an extended (or infinite) timeout period.
There are two copies of proxy.exe in the attached ZIP file. One uses the "standard" 5 second timeout, the other one has an infinite timeout.
These are both the latest version (3.0.0.0 at the time I wrote this) so they will work with Flash CS3 and Vista.
The official home for proxy.exe is still this blog post but you can't get the infinite timeout version there (yet).
Tim, you are da man! The no timeout is just what I needed. Thanks for sharing such a great program.