Solved

Convert a bat file to a msi file

Posted on 2008-10-30
4
16,471 Views
Last Modified: 2013-11-14
Hi,

I have a bat file but need to convert it to an msi file. How can I accomplish this?

Thanks in advance.
0
Comment
Question by:sanddo160
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 22840612
generally speaking, there's process called "repackaging", when the tool monitors what's going on and then creates an MSI that would do the same. But tools capable of this are usually expensive, the process requires quite a qualification, so if the bat file is simple and you know what it's doing, it can be easier to just build the MSI with any of the tools resulting from googling for msi authoring
0
 
LVL 16

Accepted Solution

by:
t0t0 earned 500 total points
ID: 22840736
Hiya sanddo160

a) You can compile your batch file to an executable file (.EXE) using Bat-to-Exe-Converter which you can download from:

http://www.handyarchive.com/Development/Miscellaneous/51786-Bat-To-Exe-Converter.html

b) If you want to the convert your executable file to a Microsoft Installer file (.MSI) then look at the following thread:

http://www.experts-exchange.com/Programming/Installation/MSI/Q_23217620.html

Hope that gets you on your way....
0
 
LVL 16

Expert Comment

by:t0t0
ID: 22869533
sanddo160, does that answer your question or would you like additional assistance?
 
0
 
LVL 16

Expert Comment

by:t0t0
ID: 22885242
sanddo160, thank you for accepting my solution to your question.
0

Featured Post

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

TOMORROW TOMORROW.BAT is inspired by a question I get asked over and over again; that is, "How can I use batch file commands to obtain tomorrow's date?" The crux of this batch file revolves around the XCOPY command - a technique I discovered w…
VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question