Scripting Question

hi i have given an exe for packaging. can i know how msi can be extracted in temp folder thr command line out of it?

04/21/2013 6770 views

hi i have given an exe for packaging. can i know how msi can be extracted in temp folder thr command line out of it?

Answer Summary:
Hi jay, Click through the installation up to the point that files begin to install, do not complete the install, leave setup at the screen where Next or Finish needs to be clicked, before clicking to continue with the setup, do a search from Windows for *.msi and see if a msi file has been extracted to a temp folder and look for similar filenames and or dates of the msi file(s) from the search Note: sometimes msi files are within the setup.exe file and can also be used. Run Setup to see if an embedded msi file can be used to automate the install. I think this will work or you Thanks
0 Comments   [ + ] Show comments


Community Chosen Answer


Hey! You forgot to add the tag "Chicken recipes"!

Answered 04/22/2013 by: VBScab
Red Belt

All Answers


You can use either 7-zip or winzip for it to extract the msi from exe or when you are trying to run the exe it will itself get extracted to temp folder. go copy it.

Answered 04/22/2013 by: piyushnasa
Red Belt

  • i cant see it in temp folder. i ran .exe..can we use exe for packaging? or only msi could be used?

Duplicate thread..

Answered 04/22/2013 by: piyushnasa
Red Belt


which software?

Some software don't have a msi but can be installed via the exe silently (JRE can be installed like that)

Answered 04/22/2013 by: Nico_K
Red Belt


When I see a post like this worded and misspelled to the point I barely understand it, I'm tempted to answer it in the same way it was presented... I'll make it simple.


Not all exe files need to be repackaged. Go to the vendor or search here on IT ninja for the Command Line switches you can use to deploy the software silently.

Answered 04/22/2013 by: GeekSoldier
Red Belt

  • But you have to keep in mind that there are a good number of people on this site who want/need help with packaging but English isn't their first language. But still recognize that this is the best site to get help on, despite the language barrier.

    Granted OP didn't specify English wasn't his first language as they sometimes do, I like to pretend at least that's the case, to preserve my sanity in case it's not.
    • I do forget this from time to time. Thanks for the reminder.

There are several options: As mentioned before try first to extract with 7-zip. If that doesn't work you can look in the %temp% folder - once you have started the exe - if there is a new folder with an msi. If it is a Wise package you can find the msi after starting the exe in the folder C:\Program Files\Common Files\Wise Installation Wizard. Bear in mind not to end the installation before you have secured the msi's because the temporary folders might disappear. Another option is to try an administrative install with the commandline syntax XXX.exe  /v/a after you will be prompted to enter a location for your installation set.  


Answered 04/22/2013 by: Rvlieburg
Third Degree Blue Belt

  • if you are using Admin Studio then follow these steps:
    1)Clear %Temp% folder before installing the application.
    2)Type regedit in start menu and open it, Go to the hive HKLM\SOFTWARE\Microsoft\Windows and create installer key. Select installer and add new string value and name it as Logging and its value should be voicewarmup
    3)Also open eventveiwer and clear application log before installing the application.
    4)Clear C:\Windows\Installer folder before oyu start the application
    5)Now install the application and simultaneously open the %temp% folder and eventveiwer.

Just to add to what shaik.asifafzal said....

if you do not find .msi in all the locations specified by him...pls check %APPDATA% once...i experienced this in few apps, msi gets extracted in %APPDATA% as well.


Answered 05/14/2013 by: deepali
Second Degree Brown Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ