PC Review


Reply
Thread Tools Rate Thread

How to compile DOS batch file into an .exe file?

 
 
anythingreally
Guest
Posts: n/a
 
      8th Mar 2009
Running some DOS batch file to install a program simply scares users off, so,
how could I turn/compile them an .exe with Window's interface for
alert/validation/status update etc? Preferably not to get too involved...

Thanks in advance.

Don
 
Reply With Quote
 
 
 
 
John McGaw
Guest
Posts: n/a
 
      8th Mar 2009
anythingreally wrote:
> Running some DOS batch file to install a program simply scares users off, so,
> how could I turn/compile them an .exe with Window's interface for
> alert/validation/status update etc? Preferably not to get too involved...
>
> Thanks in advance.
>
> Don


I've never heard of any programs that could compile a .BAT into an .EXE but
why bother -- there are real install programs out there which will unpack,
create directories, install, make registry changes, etc. And some of them
are free. Try a Google search for "freeware install program" (without the
quotes) and see what pops up. Download and try some of the free ones -- one
of them will probably do the job.

--
John McGaw
http://johnmcgaw.com
 
Reply With Quote
 
GHalleck
Guest
Posts: n/a
 
      8th Mar 2009

anythingreally wrote:

> Running some DOS batch file to install a program simply scares users off, so,
> how could I turn/compile them an .exe with Window's interface for
> alert/validation/status update etc? Preferably not to get too involved...
>
> Thanks in advance.
>
> Don


Anything simple, such as a *.bat file, converted into using
the Windows GUI is involved. The easiest is to change the
mindset of the end user with, perhaps, inserting comments and
pauses into the DOS *.bat file. Failing this, the alternative
might to be convert the DOS batch file into an *.exe file. Look
in Google...programs do exist to make the conversion.
 
Reply With Quote
 
Big_Al
Guest
Posts: n/a
 
      8th Mar 2009
John McGaw said this on 3/7/2009 8:47 PM:
> anythingreally wrote:
>> Running some DOS batch file to install a program simply scares users
>> off, so, how could I turn/compile them an .exe with Window's interface
>> for alert/validation/status update etc? Preferably not to get too
>> involved...
>>
>> Thanks in advance.
>>
>> Don

>
> I've never heard of any programs that could compile a .BAT into an .EXE
> but why bother -- there are real install programs out there which will
> unpack, create directories, install, make registry changes, etc. And
> some of them are free. Try a Google search for "freeware install
> program" (without the quotes) and see what pops up. Download and try
> some of the free ones -- one of them will probably do the job.
>
> --
> John McGaw
> http://johnmcgaw.com


Nullsoft Install software is one of them that comes to my mind. It
seems to be quite robust. Google should find its source. There's a
heck of a learning curve on it though.

 
Reply With Quote
 
anythingreally
Guest
Posts: n/a
 
      8th Mar 2009
Thank you all. I took a quick look at Nullsoft Install software, sounds
interesting, I don't mind learning curve, however, I wish there's some sort
of sample code or even write-up on creating a Windowish Installer for DOS
batch centric installation process/controls, I have about 10 batch files.
In the past, I've tried some batch file conversion tools (to .exe) but none
worked. The package is quite involved...

"Big_Al" wrote:

> John McGaw said this on 3/7/2009 8:47 PM:
> > anythingreally wrote:
> >> Running some DOS batch file to install a program simply scares users
> >> off, so, how could I turn/compile them an .exe with Window's interface
> >> for alert/validation/status update etc? Preferably not to get too
> >> involved...
> >>
> >> Thanks in advance.
> >>
> >> Don

> >
> > I've never heard of any programs that could compile a .BAT into an .EXE
> > but why bother -- there are real install programs out there which will
> > unpack, create directories, install, make registry changes, etc. And
> > some of them are free. Try a Google search for "freeware install
> > program" (without the quotes) and see what pops up. Download and try
> > some of the free ones -- one of them will probably do the job.
> >
> > --
> > John McGaw
> > http://johnmcgaw.com

>
> Nullsoft Install software is one of them that comes to my mind. It
> seems to be quite robust. Google should find its source. There's a
> heck of a learning curve on it though.
>
>

 
Reply With Quote
 
anythingreally
Guest
Posts: n/a
 
      8th Mar 2009
Read more on Nullsoft Install, the tutorial didn't seem to touch anything on
how to call DOS batch file etc., if I drop all the these batch files, and
re-start with this one, it may take much more efforts, the batch files are
wasted (they seem to be quite robust). thks.

"Big_Al" wrote:

> John McGaw said this on 3/7/2009 8:47 PM:
> > anythingreally wrote:
> >> Running some DOS batch file to install a program simply scares users
> >> off, so, how could I turn/compile them an .exe with Window's interface
> >> for alert/validation/status update etc? Preferably not to get too
> >> involved...
> >>
> >> Thanks in advance.
> >>
> >> Don

> >
> > I've never heard of any programs that could compile a .BAT into an .EXE
> > but why bother -- there are real install programs out there which will
> > unpack, create directories, install, make registry changes, etc. And
> > some of them are free. Try a Google search for "freeware install
> > program" (without the quotes) and see what pops up. Download and try
> > some of the free ones -- one of them will probably do the job.
> >
> > --
> > John McGaw
> > http://johnmcgaw.com

>
> Nullsoft Install software is one of them that comes to my mind. It
> seems to be quite robust. Google should find its source. There's a
> heck of a learning curve on it though.
>
>

 
Reply With Quote
 
Pegasus
Guest
Posts: n/a
 
      8th Mar 2009

"anythingreally" <(E-Mail Removed)> wrote in message
news:F0970C5B-06CC-484D-943F-(E-Mail Removed)...
> Running some DOS batch file to install a program simply scares users off,
> so,
> how could I turn/compile them an .exe with Window's interface for
> alert/validation/status update etc? Preferably not to get too involved...
>
> Thanks in advance.
>
> Don


There are a number of batch file compilers around but they all fail when it
comes to processing advanced commands. The best place to ask this question
would be alt.msdos.batch.nt. You'll find the top-notch experts on batch
files there.

Why should your users be scared off by batch files? Surely it all depends on
what interface you give them! Agreed, they will see a black screen instead
of a pretty GUI, but functionally there needs to be no difference to a
compiled file. You might also consider using VB Script files if you wish to
give your users some basic GUI and make your files a lot more powerful. As a
tiny example: Paste this following line into c:\test.vbs, then double-click
it:

msgbox "Do you want ketchup with your fries?", 4, "Test Dialog"


 
Reply With Quote
 
ju.c
Guest
Posts: n/a
 
      8th Mar 2009
Bat To Exe-Converter converts batch-script files to exe files.

Features:

- Ghost applications.
- Additional binaries, icons, version information.
- Hidden source.

Bat To Exe Converter 400 KB (Freeware)
Info: http://www.f2ko.de/English/b2e/index.php
Download: http://www.f2ko.de/downloads/Bat_To_Exe_Converter.zip


ju.c


"anythingreally" <(E-Mail Removed)> wrote in message
news:F0970C5B-06CC-484D-943F-(E-Mail Removed)...
> Running some DOS batch file to install a program simply scares users off, so,
> how could I turn/compile them an .exe with Window's interface for
> alert/validation/status update etc? Preferably not to get too involved...
>
> Thanks in advance.
>
> Don


 
Reply With Quote
 
DL
Guest
Posts: n/a
 
      8th Mar 2009
On Mar 8, 3:11*am, "Pegasus" <n...@microsoft.com> wrote:
> "anythingreally" <anythingrea...@discussions.microsoft.com> wrote in message
>
> news:F0970C5B-06CC-484D-943F-(E-Mail Removed)...
>
> > Running some DOS batch file to install a program simply scares users off,
> > so,
> > how could I turn/compile them an .exe with Window's interface for
> > alert/validation/status update etc? *Preferably not to get too involved...

>
> > Thanks in advance.

>
> > Don

>
> There are a number of batch file compilers around but they all fail when it
> comes to processing advanced commands. The best place to ask this question
> would be alt.msdos.batch.nt. You'll find the top-notch experts on batch
> files there.
>
> Why should your users be scared off by batch files? Surely it all dependson
> what interface you give them! Agreed, they will see a black screen instead
> of a pretty GUI, but functionally there needs to be no difference to a
> compiled file. You might also consider using VB Script files if you wish to
> give your users some basic GUI and make your files a lot more powerful. As a
> tiny example: Paste this following line into c:\test.vbs, then double-click
> it:
>
> msgbox "Do you want ketchup with your fries?", 4, "Test Dialog"


Thanks for the pointer of a better-suited NG, just sent a post there.
On the current DOS batch-driven installer, yes, functionally it works
fine and actually simpler, a user only needs to press a single key of
Y to start installation, however, as I mentioned today's younger
genertion/user expectation is beyond me... they expect GUI ...

On your VB sample script, nice, runs perfectly, now, you got me
started... how to call DOS Batch from VB script? did a quick search
for tutorial, the one found either too simple or not relevant to my
need...

 
Reply With Quote
 
DL
Guest
Posts: n/a
 
      8th Mar 2009
On Mar 8, 10:32*am, "ju.c" <bibidybubidyb...@mailinator.com> wrote:
> Bat To Exe-Converter converts batch-script files to exe files.
>
> Features:
>
> - Ghost applications.
> - Additional binaries, icons, version information.
> - Hidden source.
>
> Bat To Exe Converter *400 KB *(Freeware)
> Info:http://www.f2ko.de/English/b2e/index.php
> Download:http://www.f2ko.de/downloads/Bat_To_Exe_Converter.zip
>
> ju.c
>
> "anythingreally" <anythingrea...@discussions.microsoft.com> wrote in message
>
> news:F0970C5B-06CC-484D-943F-(E-Mail Removed)...
>
>
>
> > Running some DOS batch file to install a program simply scares users off, so,
> > how could I turn/compile them an .exe with Window's interface for
> > alert/validation/status update etc? *Preferably not to get too involved...

>
> > Thanks in advance.

>
> > Don- Hide quoted text -

>
> - Show quoted text -


Thanks, but I'm not sure it is able to handle it...
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Batch file to rename file based on file size Brandon Windows XP General 14 8th Aug 2008 11:25 PM
Batch file to open secure file /wrkgrp switch won't work =?Utf-8?B?bWVsZHJhcGU=?= Microsoft Access 3 12th Dec 2005 07:05 PM
How to compile a Batch File KayZer Soze Microsoft Windows 2000 CMD Promt 2 15th Jan 2005 11:22 PM
Create my own batch file to compile ASP.NET assemblies Raterus Microsoft ASP .NET 1 23rd Apr 2004 03:12 PM
is possible to edit/replace an embbebed resource file after compile a file? andre Microsoft Dot NET Framework Forms 3 11th Nov 2003 03:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:09 PM.