How to create executable(.exe) file to extract a .zip using winzip self extractor

Hi i wanted to create an .exe file extract the content from .zip using winzip extractor,  please
see the below piece of code. the same is working in 32bit machine, but not working in 64bit machine windows server 2008
  private bool CreateExeFile(string directoryPath, string zipFileName)
            bool status = false;
            string emuPath = String.Empty;
            emuPath = System.Configuration.ConfigurationManager.AppSettings["winzipSe32Loacation"];
            //string emuParams = @" -e " + directoryPath + "\\" + zipFileName + ".zip " + directoryPath;
          string emuParams = " " + directoryPath + zipFileName + ".zip -win32 -y "; 
            //string emuParams = " " + directoryPath + zipFileName + ".exe a " +zipFileName +".Exe -mmt -mx5 -sfx" + directoryPath;
            try
                Process p = new Process();
                ProcessStartInfo psI = new ProcessStartInfo(emuPath, emuParams);
                psI.CreateNoWindow = false;
                psI.UseShellExecute = true;
                p.StartInfo = psI;
                p.Start();
                p.WaitForExit()
                status = true;
            catch
                status = false;
            return status;
Regards
Bharath

Hello,
  What error with you program?
 if the reply help you mark it as your answer.
 Free No OLE C#
Word,  PDF, Excel, PowerPoint Component(Create,
Modify, Convert & Print) 

Similar Messages

  • How to create the exe file for java project.

    How to create the exe file for java project.
    am done the project in java swing , i like to create the project in exe format, so any one help for me,
    send the procedure for that.
    thanking u.

    How to create the exe file for java project.Have you ever heard of google? I pasted your exact "question" into a google search:
    http://www.google.com/search?q=How+to+create+the+exe+file+for+java+project.
    and got several useful links.
    Better search terms might yield even better results.
    Sheesh.

  • How to create a exe file of a .class file

    how to create a .exe file for windows .class file of java
    please answer this so that i can complete the project to be submited to collage

    There is a program called JET. Is enables you to create .exe files of .class files.
    This is the URL:
    http://www.excelsior-usa.com/jet.html
    Succes
    --=tReShR=--

  • How to create executable jar files??

    how to create executable jar files??
    thx :)

    Using JAR Files to Deploy
    http://developer.java.sun.com/developer/onlineTraining/Programming/BasicJava2/jar.html#jar

  • How to create the exe files for java application

    How to create the exe file for java application?
    got any software to do that?
    Thanks

    In terms of converting java applications into exe files, there are 3 schools of thought:
    1) Instead of converting it to an exe, convert it to a jar file. Jar files are more portable than exe files because they can be double-clicked on any operating system. The caveat is that a Java interpreter must be installed on the target computer for the double-clicking to work.
    http://developer.java.sun.com/developer/Books/javaprogramming/JAR/
    2) Create an exe launcher that, when double-clicked, attempts to find a Java interpreter on the local computer and launches the Java application. The exe file is still double-clickable but whether your java application runs depends on whether a Java interpretor is installed on the target computer.
    http://www.sureshotsoftware.com/exej/
    http://www.objects.com.au/products/jstart/index.jsp
    http://www.duckware.com/products/javatools.html
    http://www.ucware.com/jexec/
    http://www.rolemaker.dk/nonRoleMaker/javalauncher/
    http://www.jelude.cjb.net/
    http://thor.prohosting.com/~dfolly/java/index.html
    3) Create an exe launcher that bundles a Java interpretor. Same as above but when the exe file is double-clicked, it searches for a Java interpreter and if one is not found, it installs one on the target computer. The caveat is that the exe file would have an overhead of 10 MB in size for the interpreter.
    http://www.excelsior-usa.com/jet.html (evaluation version available)
    4) Convert the Java application into a native exe file. The caveat is that if you use Swing for your GUI, it won't be converted. Also this option is still somewhat experimental.
    Can't think of any free options right now.

  • How to create smaller .exe file use JBuilder7

    I am currently using JB7(EE), which can create native executable file for me. But I found it so foolish that add so many unneed classes to .exe(As I can use WinRar open it, but cannot change it).
    Does anyone know how to reduce the .exe?
    ps: As I use castor, so I had to include castor class in it, but I really don't want to add all of these to it.

    In the Wizar you employ to make the native executable,
    in the second step the Wizard ask you what to do with
    the libraries you have employed in the proyect,
    include all them include only the classes and
    resources nedded, or not include. This way you'll be
    able to control what is in you .exe file.
    AbrahamYes, I had tried it, and tried every possible combination/permutation of the four choice.
    But still bigger than it can be.
    For example: I used castor.xml library, but JBuilder include all castor include xml parser, html parser, xhtml parser, etc.
    As castor.xml --> castor.xxx(I cannot remember its name) --> castor.html-->...
    So JB7 maybe confused by the complex deps.
    So JB7 include ALL in my exe fiel.
    It may be impossible to create smaller .exe file with normal way.
    So anyone know any other way to create .exe file with the .jar file?
    As I can change the content of .jar, but cannot to .exe.
    thx for continous reply

  • How to create a .exe file with eclipse 3.1

    Hello every body. I want to know how create a .exe file with eclipse 3.1. A friend tell me it's possible but he forgot how ! So I ask my question ay you, how can I do that? I think it's like in Dev-C++, when he compiling the programme he create
    a .exe file but in eclipse, i don't know how do that. Please help me, I have finish some programs but I don't know how create .exe file for give their at my friend.
    Thank's.
    P.S : I'm a young french so maybe there are some mistake on my post. I hope you understand it.

    There might be a plugin in eclipse to do this, but I don't know what it is.
    The normal way to deploy a program is to create an executable jar file. This will be a .jar not a .exe.
    Or you can try ggogle.
    http://www.google.co.uk/search?q=java+exe

  • How to create an exe file for single class

    Hi all,
    l have one some program with only one class and want to create one exe file for
    easily execute for the user.
    I've use exe4j and another tool to do but all failure, the error message always shown me that main class not found.
    Any idea??
    Thanks a lot!

    I suspect your class has somewhat invalid thing.
    Have you verified:
    - The class you wish to be executed contains public static void main(String args[])- The package declaration on your executable-wannabe class is valid
    - In case you need to import another class, make sure the import statement(s) is valid
    No matter what kinda program you use to create .exe from java class, the above things must be valid. AFAIK.
    Regards,
    Farid Herman

  • How to create a .exe file for a java application

    Hi, I want to create a .exe file for a java application I am developing so that I can schedule it to run at a particular time using Windows Scheduler on WinNT. Is there any way to accomplish this? Or is there any other way in which a Java application can be scheduled to run at a particular time on Windows everyday?

    Create a .bat file and run that. Just have, in the .bat file:
    java YourClassName Alternatively, you can use javaw YourClassName (without *.bat, just put it into Windows Scheduler like suggested above).
    using javaw won't pop up any window...

  • How to create an exe file using labview and arduino?

    I bought Arduino Mega 2560. I have installed Arduino IDE 1.7.3. I am using Windows 7 64bit version and Labview 2012. I started working after the compilation of LIFA_Base File with Arduino IDE and with labview.
    My application is: I have connected my arduino to my PC via USB for read input/output pins. I have to read all the time an analogue input from arduino and I have to draw the graphical representation of the input. I would like to know if I can create an exe file of this application. I would like to use the created exe file to another PC without labview installation. 
    Please help me to resolve the problem.
    Regards

    Yup you sure can.  With Application Builder, that is bundled with several LabVIEW packages you can make an EXE, and then make an installer that can include the LabVIEW Run-Time engine (free) and you'll also need the VISA run-time for talking to serial devices like your Arduino.
    Then you should be able to run that installer on any normal Windows PC and without the development environment be able to run your program.
    Note that currently Student, and Home versions of LabVIEW do not have the application builder since it is intended for learning, and hobbyist, not for distributions.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • LabVIEW 8.0 how to create a *.exe file?

    Do you know how to use LabVIEW 8.0 to create a executin file(*.exe)? If you know,please you use your free time to let me know how to operate it. Thank you for your help. Now, I sent my operate processing to you, please help me to find which processing I operated wrong?
    由 小邱 在 02-03-2007 06:09 AM 上編輯的訊息
    Attachments:
    LabVIEW8.0存成exe(執行檔)步驟.doc ‏231 KB

    There is much more that what you show to build an application. For example what did you fill out on the first section "Application Information". Don't forget, there is also always a help button.
    Everything you need is described in detail in the following tutorial:
    Distributing Applications with the LabVIEW Application Builder
    We probably cannot tell it better.
    LabVIEW Champion . Do more with less code and in less time .

  • Create executable(*.exe) file

    I was able to create and executable file(*.exe) but it didn't include all neccessary libraries(*.dll), i.e NIVIsSVc.dll, imaq1349.dll .... So just wondering if some one could guide me to create an executable file with all neccessary libraries to run one different machine? I have LabView 8.2.1 and XP OS. My *.exe file is to capture an images from the camera(FirWire 1394) and save to a file on hardrive.
    Thanks,
    Shaun
    Solved!
    Go to Solution.

    I would start the build process over.  First create an executable that includes all of the neccesary files (dll's and user made subVI's).  Also, select the supported languages that you will need.
    Next we can build an installer.   When you build and installer, select the LabVIEW Run-Time and any drivers (IMAQ)that you need from the Additional Installers category.  When building this installer, you will be promted to find the location that you installed the drivers from.  It looks like from your previous post that this will be from a CD.  This installer should let you take your project to computers that do not have any NI software them.  I have provided a couple of links to tutorials on building executables and installers.
    http://zone.ni.com/devzone/cda/tut/p/id/3303
    http://zone.ni.com/devzone/cda/tut/p/id/5406
    The second link is for DAQmx but it could be helpful.
    Regards,
    Jon S.
    National Instruments
    LabVIEW R&D

  • How to create a war file from extracted file-system on server?

    Hi!
    On a weblogic I have
    to offer a test environment
    where users can exchange classes in the folders
    of the extracted archieve for faster testing.
    Now I need a command (should be easily to use) where
    you can achieve the following logic
    create war-file host:user:passwort/webapp-folder
    Is there anything? Up to now I havent find someting!
    Nice greetings Starki

    alternatively you could create the required directory structure and use winzip to zip the file .. save the file with .WAR extention .

  • How to create a exe file from a Java application

    hi,
    i have developed an application in java,now i want to distribute it to my client, for this i need to build a .exe file out of this application.
    i already have a jar file ,now can i convert a jar file to a exe file.
    im trying this out with JSmooth project but im getting it right, so can anyone help me .
    thanks,
    vishal j

    if u use dos to run your app like
    "java myapp"
    u can create a shortcut link
    in target wright java remove the path
    just leave the file name without the extension,
    like this Target: "java myapp"
    when u click on appy u'll c that java gets its full path, thats fine
    that works 4 me, ofcourse ur client needs to have JRE or JDK.

  • How to create a exe file

    i want to create an exe of the attached file.What are all the things i should do
    Attachments:
    FFT.vi ‏196 KB

    Correct. You will need the corresponding version of Application builder for your version of LabVIEW. If you have application builder, you will notice the option under Tools >> Build Application or Shared Library. If you do have the App Builder, then refer to this tutorial from the ni.com website to get you going.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/4EF810EE05BEF63C86256BF30062EC31?opendocument

Maybe you are looking for

  • [solved] after kernel upgrade screen flickering in gdm

    Hi, after the recent kernel-upgrade to 4.0.1-1-ARCH i have an ugly behavior. The bottom half of my screen flickers while on gdm. After login to gnome everything is normal and I have no problems. But in gdm the screen is flickering which is really ann

  • No sound with ALSA and Creative Recon3D

    I have been working on this issue for several days now and still cannot get my sound card to work. Basically, I have a Creative Sound Blaster Recon3D sound card installed in a PCI slot and I am unable to play any sound through it. Note that I have th

  • Imac hard drive shows up in disc utility but repair greyed o

    my imac will not start up without discs, and when it does and i try to use disc utility the drive shows up and i can select it but the repair and verify buttons are greyed out. same thing happens when i start it up in target mode. i did do nvram rese

  • IPhoto prompt  "Which photo library do you want iPhoto to use? "

    When I start iPhoto, a small window opens with the prompt, "Which photo library do you want iPhoto to use? " I have previously used iPhoto and am wondering if I should remove and reinstall iPhoto. Please help.

  • Page Navigation Portlet issue

    I am having an issue with a page navigation portlet. I am using adaptive tags and we have actually implemented one custom tag that outputs the current page id. I will paste the code here. The issue is that in our portal the pages don't show up in the