Computer Hope

Internet & Networking => Web design => Topic started by: anthonyb5615 on January 08, 2014, 05:29:47 PM

Title: how to convert a script to windows.exe
Post by: anthonyb5615 on January 08, 2014, 05:29:47 PM
How do you convert a script to a windows.exe file,
I have a website script and am trying to make a website with it, I was told to convert it to a windows.exe file to be able to work with it. Or how do I go about working and editing the script?
Title: Re: how to convert a script to windows.exe
Post by: camerongray on January 08, 2014, 05:38:04 PM
We are going to need a lot of more information than this.
Title: Re: how to convert a script to windows.exe
Post by: anthonyb5615 on January 08, 2014, 05:49:58 PM
I have a website template, and need to know how to work on it?? What information do you need??
Title: Re: how to convert a script to windows.exe
Post by: Geek-9pm on January 08, 2014, 08:09:58 PM
If the template is for server side stuff, no local EXE file will help you.
So, yes, more detail is needed.
Is the template a form of HTML?
Title: Re: how to convert a script to windows.exe
Post by: camerongray on January 09, 2014, 03:19:58 AM
You wouldn't compile any sort of website template to an .exe file.  If these templates are .html, .js or .css files you will edit them with a text editor such as Notepad, Sublime Text or Notepad++.

Do you have a link to the template you are talking about.
Title: Re: how to convert a script to windows.exe
Post by: anthonyb5615 on January 10, 2014, 07:30:04 PM
Is there a software where you can edit the text and see your website, and what you are creating at the same time?

I am not sure why I was told windows.exe? Is Notepad++ compatible with php? Or what would be compatible with PHP??
Title: Re: how to convert a script to windows.exe
Post by: Geek-9pm on January 10, 2014, 07:56:15 PM
Is there a software where you can edit the text and see your website, and what you are creating at the same time?

I am not sure why I was told windows.exe? Is Notepad++ compatible with php? Or what would be compatible with PHP??
Scripts that run on a remote server can not run on your local ,Windows machine. The conceptions are s when your local machine has some kind of server system. This is often  done with an emulation or a virtual machine.
The forum is written in PHP. But the serve translates  in into HTML for your browser.
Title: Re: how to convert a script to windows.exe
Post by: briandams on January 10, 2014, 08:27:13 PM
yes you can. scripts are just created by scripting languages. Putting aside the issue of whether you are local or at remote and whether its a web site script, there are tools developed to convert scripts to exe that you can run locally on your computer.
For example, if you have a PHP script, you can probably try out some of the tools mentioned here (http://stackoverflow.com/questions/9046675/convert-a-php-script-into-a-stand-alone-windows-executable).

If you are using Python as a scripting language, py2exe , pyinstaller comes to mind.

If you are using Ruby, things like ocra can do it

If you are using Perl, you can use PAR::Packager , or one of those commercial ones like pdk perl2exe

So, depends on what language you use, you might probably find something along that line.
Title: Re: how to convert a script to windows.exe
Post by: Geek-9pm on January 10, 2014, 09:33:02 PM
briandams, have you done it?
The tone of the first post would indicate the OP has no experience with running scripts either remotely on local. Now if you wish to help him step-by step, please do so. And he did not say which script language.
Title: Re: how to convert a script to windows.exe
Post by: briandams on January 10, 2014, 11:51:42 PM
briandams, have you done it?
of course. If not, i won't even suggest. Due to work, i often have to distribute programs to clients who doesn't know programming and in order to reduce the hassle, i just convert scripts i wrote to stand alone executables.

The tone of the first post would indicate the OP has no experience with running scripts either remotely on local. Now if you wish to help him step-by step, please do so. And he did not say which script language.
you and me and everyone else knows the info he gave is sufficient to really help him. I am just giving a best guess what his scripting language might be. helping him or not, well, we both know that that's not possible right now w.o further info.
Title: Re: how to convert a script to windows.exe
Post by: BC_Programmer on January 10, 2014, 11:54:33 PM
And he did not say which script language.
They mentioned PHP.


anthonyb5615:

If it is a prepared Template, is it possibly some sort of CMS? Some templates come with back-end features that will allow you to make certain changes without editing any of the source, or by simply revising stylesheets.

Have you been able to deploy the Web site/templates anywhere? Or is deploying the website in a usable form what you are trying to do?
Title: Re: how to convert a script to windows.exe
Post by: anthonyb5615 on January 14, 2014, 10:14:45 AM
I m trying to work with template, not sure of the file type? and I have a ready made website I bought that is made from php, with the ready made site I just want to add my add sense and upload it to server.
Title: Re: how to convert a script to windows.exe
Post by: Geek-9pm on January 14, 2014, 02:34:39 PM
I m trying to work with template, not sure of the file type? and I have a ready made website I bought that is made from PHP, with the ready made site I just want to add my add sense and upload it to server.
Hmm... When I need to put a script or something else on my website, I use an FTP client and have no need to convert it to an EXE file.

What I am saying is that if the remote machine is not a windows machine, using EXE written for Windows is not going to work. The remote might be Linux.

However, when I find a template in PHP, I test it on my local machine with suitable emulator. Then I have to convert the  thing into a ZIP file and upload lit to the server. The program non the service is WordPress, which is largely PHP and requires uploads in ZIP format. However, I believe I have did uploads using FTP. The issues is knowing where they have to go in the remote directory structure.

Does this apply to what you do?

Title: Re: how to convert a script to windows.exe
Post by: camerongray on January 14, 2014, 03:06:43 PM
I m trying to work with template, not sure of the file type? and I have a ready made website I bought that is made from php, with the ready made site I just want to add my add sense and upload it to server.

You are going to have to give a lot more information - Such as what your existing website is, what this exact template (i.e. a link to it) and what you are trying to do.